Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

GoogleSiteMap Cron Problem


Adham

Recommended Posts

Upon testing the GoogleSiteMaps, everything seems to be working fine; the xml pages are all created fine etc.

 

So, the Cron job was set up and this is what we get:

 

PHP Warning: main(includes/configure.php): failed to open stream: No such file or directory in /home/findwatc/public_html/googlesitemap/index.php on line 46

 

Warning: main(includes/configure.php): failed to open stream: No such file or directory in /home/findwatc/public_html/googlesitemap/index.php on line 46 PHP Fatal error: main(): Failed opening required 'includes/configure.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/findwatc/public_html/googlesitemap/index.php on line 46

 

Fatal error: main(): Failed opening required 'includes/configure.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/findwatc/public_html/googlesitemap/index.php on line 46

 

Obviously the page was found OK and it works fine when we test it, not changes have been made to the code in googlesitemap/index.php.

 

Can anyone offer any light on this?

Link to comment
Share on other sites

Upon testing the GoogleSiteMaps, everything seems to be working fine; the xml pages are all created fine etc.

 

So, the Cron job was set up and this is what we get:

 

PHP Warning: main(includes/configure.php): failed to open stream: No such file or directory in /home/findwatc/public_html/googlesitemap/index.php on line 46

 

Warning: main(includes/configure.php): failed to open stream: No such file or directory in /home/findwatc/public_html/googlesitemap/index.php on line 46 PHP Fatal error: main(): Failed opening required 'includes/configure.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/findwatc/public_html/googlesitemap/index.php on line 46

 

Fatal error: main(): Failed opening required 'includes/configure.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/findwatc/public_html/googlesitemap/index.php on line 46

 

Obviously the page was found OK and it works fine when we test it, not changes have been made to the code in googlesitemap/index.php.

 

Can anyone offer any light on this?

 

Did you sort this out?

 

I have exactly the same problem and cannot resolve it. :blush:

Link to comment
Share on other sites

Did you sort this out?

 

I have exactly the same problem and cannot resolve it. :blush:

 

Sorted it.

 

In googlesitemaps/index.php. Add to all the filename calls the full path to the index file.

 

ie:

require_once(DIR_WS_INCLUDES . 'filenames.php');

to:

require_once('/the/absolut/path/on/yr/server/to/inclufes/filenames.php');

 

this then works the cron job :rolleyes:

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