Adham 0 Posted January 31, 2006 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? Share this post Link to post Share on other sites
clive 0 Posted February 4, 2006 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: Share this post Link to post Share on other sites
clive 0 Posted February 5, 2006 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: Share this post Link to post Share on other sites