Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

just wondering if anyone can possibly help me with a problem i am having, i dont know if many people watch the new contributions but one was posted the other day that is a photo album (minigal) , we want to add the album into osc, but the only way we have been able to do this is using a iframe which does not adapt the full 100% length of the actual page and have a scroll bar on the right. I was hoping to try and use the "include" function or something to put it in. I dont know how to add another folder to the database, if you even need one, but when i try to use

 

<?php require(DIR_WS_GALLERY . 'index.php'); ?>

i get the error like this

 

Warning: main(DIR_WS_GALLERYindex.php): failed to open stream: No such file or directory in /home/mcm/public_html/yard/gallery.php on line 44

 

Fatal error: main(): Failed opening required 'DIR_WS_GALLERYindex.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mcm/public_html/yard/gallery.php on line 44

 

is there somewhere i have to add the folder "gallery" so i can use this command, or does it automatically search for this file..?? Is this possible like thins or is the only way to use a iframe..?? If anyone can help you can repost on here or email me direct on [email protected]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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...