Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hello:

 

I want to add a sitemap.php link within the "information" column, just under the "contact us" link. I decided to try to make a sitemap.php work first and then add it to the left column. So I created a sitemap.php under main directory, and a sitemap.php under includes/languages/english directory. But when I tried to open sitemap.php on the browser, it showed an error message:

 

Warning: main(includes/languages/english/FILENAME_SITEMAP) [function.main]: failed to open stream: No such file or directory in public_html/sitemap.php on line 15

 

Warning: main(includes/languages/english/FILENAME_SITEMAP) [function.main]: failed to open stream: No such file or directory in public_html/sitemap.php on line 15

 

Fatal error: main() [function.require]: Failed opening required 'includes/languages/english/FILENAME_SITEMAP' (include_path='.:/usr/lib/php:/usr/local/lib/php') in public_html/sitemap.php on line 15

 

I created the two sitemap.php files imitating conditions.php, and I have changed all "conditions" to "sitemap". I figure I should also change some other places but I don't know where. Could any one help me with this? Thanks a lot! Site Map is important and I think I need it.

 

Yanglu

Posted
You have to add an entry for the new page to includes/filenames.php. However, I suggest you install the Dynamic Sitemap instead of re-inventing the wheel.

 

Jack

 

Got it!! Thanks a lot Jack! I am very appreciated for all the help you have kindly given me!

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