Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help. I did something goofy when adding a new page


LisaT

Recommended Posts

I have added a new page to my information box according to instructions from topic 31019.

The new page is called 'site map'and I have successfully added the link to the info. box and the new page sits in catalog directory and catalog/includes/languages/english directory.

However, when I click on the link I get the following error message:

 

Fatal error: Failed opening required '../includes/application_top.php' (include_path='.:/usr/local/lib/php') in /home/961/jupiter2/www.jupiterandsuns.co.uk/public_html/catalog/site_map.php on line 13

 

Any idea what I did wrong?

 

You can view the link at Jupiter

 

It was all going so well.....

Link to comment
Share on other sites

ps, did you define sitemap in includes/filenames.php?

Hi Jeremy,

 

No I hadn't defined the new page in filenames.php, so i did this first, but it still didn't work. I then compared the new page to conditions.php and found that on line 13 I had an extraneous ../ before require('includes/application_top.php');

This sorted the problem.

I'm so dim for not having thought to compare my new file to an existing file!

Thank you for your help.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...