magc8888 Posted March 3, 2011 Share Posted March 3, 2011 Hi , I have installed the photo_gallery 1.3. (Simple Photo Gallery) Everything seems ok, but i didn't see the function on my website, how the visitor can use it. i have allready add the following instruction. And i also got some error message on Admin, when i clicked "Clean Gallery", got this error:1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-20, 20' at line 1 select cID, pID from gallery limit -20, 20 [TEP STOP] And when clicked the Gallery Superusers, got this error message:Fatal error: Call to undefined function tep_hide_session_id() in /home/hongkon2/public_html/admin/gallery_superusers.php on line 112 It will be so pity if i cannot get benefit from this great contribution. I would like it very much. Does anyone has a clue how to fix those. I have little knowledge about this. please help me. Maggie 7. In includes/languages/english/account.php ***ADD before the closing ?>: //SIMPLE GALLERY start define('MY_GALLERY', 'My photo gallery'); //SIMPLE GALLERY end ################################# 8. In admin/includes/column_left.php: //SIMPLE GALLERY start require(DIR_WS_BOXES . 'gallery.php'); //SIMPLE GALLERY end ################################# 9. In admin/includes/filenames.php ***ADD: //SIMPLE GALLERY start define('FILENAME_GALLERY', 'gallery.php'); define('FILENAME_GALLERY_SUPERUSERS', 'gallery_superusers.php'); define('FILENAME_GALLERY_UPLOAD', 'gallery_upload.php'); //SIMPLE GALLERY end ################################# 10. In admin/inclides/languages/english.php ***ADD: //SIMPLE GALLERY start define('BOX_HEADING_GALLERY', 'Gallery'); define('BOX_GALLERY_GALLERY', 'Clean Gallery'); define('BOX_GALLERY_SUPERUSERS', 'Superusers'); define('BOX_GALLERY_UPLOAD', 'Upload'); //SIMPLE GALLERY end ################################# 11. In admin/includes/database_tables.php **ADD before the final ?>: //SIMPLE GALLERY start define('TABLE_GALLERY', 'gallery'); define('TABLE_GALLERY_SUPERUSERS', 'gallery_superusers'); //SIMPLE GALLERY end ################################# 12. add to catalog/includes/database_tables.php: //SIMPLE GALLERY start define('TABLE_GALLERY_SUPERUSERS', 'gallery_superusers'); define('TABLE_GALLERY', 'gallery'); //SIMPLE GALLERY end Quote Link to comment Share on other sites More sharing options...
magc8888 Posted March 3, 2011 Author Share Posted March 3, 2011 i have remembered if the subject has no content then 1064 will come up. this problem solved Maggie Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.