Hi everyone!
I've upload new ZenPhoto release (1.1.4) to my blog www.drinkteam.tv and all the things work! I try to configure the Zenphoto Recent Comments extension (that worked with ZenPhoto 1.0.3 giving only a bad link error).
These the instructions for the extension:
These my parameters in zen-recent-comments.php:
////////////////////////////////////////////////////////////////////
/------------------- START OF CONFIGURATION ---------------------/
/MySQL Settings/
$zen_db = 'Sql120667_3'; //The name of the database
$zen_username = 'username'; //Your MySQL username
$zen_password = 'password'; //...and password
$zen_host = 'iphost'; //99% chance you won't need to change this value
$mysqlprefix = 'zp'; //Zen Database Tables prefix (if any)
/More.../
$num_of_comments = '10'; //Number of comments you want to show up.
$mods_rewrite = true; //If you have Apache mod_rewrite, put true here, and you'll get nice cruft-free URLs.
$gallery_folder = 'http://www.drinkteam.tv/dt-gallery'; //eg. http://mysite.com/zenphoto
/--------------------- END OF CONFIGURATION ---------------------/
////////////////////////////////////////////////////////////////////
and this the code added to my index.php template:
it returns to me this error:
MySQL Query ( SELECT c.id, i.title, i.filename, a.folder, a.title AS albumtitle, c.name, c.website, c.date, c.comment FROM comments AS c, images AS i, albums AS a WHERE c.imageid = i.id AND i.albumid = a.id ORDER BY c.id DESC LIMIT 10 ) Failed. Error: Table 'Sql120667_3.comments' doesn't exist
Can you help me?
For clarification, the error I receive is this:
MySQL Query ( SELECT c.id, i.title, i.filename, a.folder, a.title AS albumtitle, c.name, c.website, c.date, c.comment FROM comments AS c, images AS i, albums AS a WHERE c.imageid = i.id AND i.albumid = a.id ORDER BY c.id DESC LIMIT 10 ) Failed. Error: Table 'Sql120667_3.comments' doesn't exist