5
HI,
Quote:
Are you sure that the structure of xoops_catads_ads is correct?
YES.
Check & see image in:
http://www.terra.es/personal8/ec3cyo/capture.jpg
Quote:
To check you can do that:
in class/ads.php insert in line 140
echo 'sql '.$sql.'<br>';
SEE:
-----------------------------------------------
echo 'DEBUG jaume1';
if (empty($ads_id)) {
$ads_id = $this->db->genId('catads_ads_ads_id_seq');
$sql = 'INSERT INTO' ......
echo 'DEBUG jaume2';
} else {
$sql = 'UPDATE '.....
echo 'DEBUG jaume3';
}
echo 'sql '.$sql.'<br>';
-------------------------------------------------
ANd result is:
CatadsThere was an error. Your ad has not been added
Array
The Cat:
I insert in submit1.php, line 213:
echo 'asfd';
and result are:
CatadsThere was an error. Your ad has not been added
Array
asdf
------------------------------------------------
Any suggestion,
Jaume.