Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

photo gallery 1.3


magc8888

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...