ozewolf Posted March 16, 2009 Share Posted March 16, 2009 (edited) Hi I have installed the latest version of this wonderfull contribution & all works well on the google end No Errors (excepting specials which I dont have) My cron email reports the following /var/www/vhosts/archistoreit.com.au/httpdocs/googlesitemap/index.php: line 1: ?php : No such file or directory /var/www/vhosts/archistoreit.com.au/httpdocs/googlesitemap/index.php: line 2: /** : No such file or directory /var/www/vhosts/archistoreit.com.au/httpdocs/googlesitemap/index.php: line 3: anon_ftp: command not found /var/www/vhosts/archistoreit.com.au/httpdocs/googlesitemap/index.php: line 4: * : command not found /var/www/vhosts/archistoreit.com.au/httpdocs/googlesitemap/index.php: line 5: anon_ftp: command not found /var/www/vhosts/archistoreit.com.au/httpdocs/googlesitemap/index.php: line 6: anon_ftp: command not found /var/www/vhosts/archistoreit.com.au/httpdocs/googlesitemap/index.php: line 7: anon_ftp: command not found /var/www/vhosts/archistoreit.com.au/httpdocs/googlesitemap/index.php: line 8: anon_ftp: command not found /var/www/vhosts/archistoreit.com.au/httpdocs/googlesitemap/index.php: line 9: anon_ftp: command not found /var/www/vhosts/archistoreit.com.au/httpdocs/googlesitemap/index.php: line 10: anon_ftp: command not found /var/www/vhosts/archistoreit.com.au/httpdocs/googlesitemap/index.php: line 11: anon_ftp: command not found /var/www/vhosts/archistoreit.com.au/httpdocs/googlesitemap/index.php: line 12: anon_ftp: command not found /var/www/vhosts/archistoreit.com.au/httpdocs/googlesitemap/index.php: line 13: anon_ftp: command not found /var/www/vhosts/archistoreit.com.au/httpdocs/googlesitemap/index.php: line 14: anon_ftp: command not found /var/www/vhosts/archistoreit.com.au/httpdocs/googlesitemap/index.php: line 15: anon_ftp: command not found /var/www/vhosts/archistoreit.com.au/httpdocs/googlesitemap/index.php: line 16: anon_ftp: command not found /var/www/vhosts/archistoreit.com.au/httpdocs/googlesitemap/index.php: line 17: anon_ftp: command not found /var/www/vhosts/archistoreit.com.au/httpdocs/googlesitemap/index.php: line 18: */ : No such file or directory /var/www/vhosts/archistoreit.com.au/httpdocs/googlesitemap/index.php: line 19: : command not found /var/www/vhosts/archistoreit.com.au/httpdocs/googlesitemap/index.php: line 20: syntax error near unexpected token `'../'' /var/www/vhosts/archistoreit.com.au/httpdocs/googlesitemap/index.php: line 20: ` chdir('../'); ' I am presuming it relates to cron reading & trying to execute the following <?php /** * Google XML Sitemap Feed Cron Script * * The Google sitemap service was announced on 2 June 2005 and represents * a huge development in terms of crawler technology. This contribution is * designed to create the sitemap XML feed per the specification delineated * by Google. This cron script will call the code to create the scripts and * eliminate the session auto start issues. * @package Google-XML-Sitemap-Feed * @license [url="http://opensource.org/licenses/gpl-license.php"]http://opensource.org/licenses/gpl-license.php[/url] GNU Public License * @version 1.2 * @link [url="http://www.oscommerce-freelancers.com/"]http://www.oscommerce-freelancers.com/[/url] osCommerce-Freelancers * @link [url="http://www.google.com/webmasters/sitemaps/docs/en/about.html"]http://www.google.com/webmasters/sitemaps/docs/en/about.html[/url] About Google Sitemap * @copyright Copyright 2005, Bobby Easland * @author Bobby Easland * @filesource */ chdir('../'); /** * Option to compress the files */ Should I be Commenting this out using // or another way. Asking as I thought there maybe a deeper ramification/issue if I do This :) ? Appreciated Edited March 16, 2009 by ozewolf Quote New osCommerce Learner Old & Slow Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.