Jump to content
Sign in to follow this  
magc8888

photo gallery 1.3

Recommended Posts

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×