Re: cron job causes debug error
I can't get any further information regarding the error from the hosting server logs.
An odd thing is that if I manually run the cgi-bin file by typing the address in the browser, it does not cause the error.
Although I don't get this error when testing locally, while looking for more clues I found these warnings:
Code:
[19-May-2012 22:54:00] PHP Notice: Undefined variable: date in D:\My Documents\Business\SHOP\includes\classes\sitemapxml.php on line 126
[19-May-2012 22:54:00] PHP Notice: Trying to get property of non-object in D:\My Documents\Business\SHOP\includes\modules\pages\sitemapxml\sitemapxml_homepage.php on line 16
[19-May-2012 22:54:00] PHP Notice: Trying to get property of non-object in D:\My Documents\Business\SHOP\includes\modules\pages\sitemapxml\sitemapxml_homepage.php on line 23
[19-May-2012 22:54:00] PHP Notice: Trying to get property of non-object in D:\My Documents\Business\SHOP\includes\modules\pages\sitemapxml\sitemapxml_homepage.php on line 23
I understand they are probably not important...
Re: cron job causes debug error
Hi Steve,
Quote:
Originally Posted by
torvista
I can't get any further information regarding the error from the hosting server logs.
An odd thing is that if I manually run the cgi-bin file by typing the address in the browser, it does not cause the error.
I do not know what to advise :(
Quote:
Originally Posted by
torvista
Although I don't get this error when testing locally, while looking for more clues I found these warnings:
Code:
[19-May-2012 22:54:00] PHP Notice: Undefined variable: date in D:\My Documents\Business\SHOP\includes\classes\sitemapxml.php on line 126
[19-May-2012 22:54:00] PHP Notice: Trying to get property of non-object in D:\My Documents\Business\SHOP\includes\modules\pages\sitemapxml\sitemapxml_homepage.php on line 16
[19-May-2012 22:54:00] PHP Notice: Trying to get property of non-object in D:\My Documents\Business\SHOP\includes\modules\pages\sitemapxml\sitemapxml_homepage.php on line 23
[19-May-2012 22:54:00] PHP Notice: Trying to get property of non-object in D:\My Documents\Business\SHOP\includes\modules\pages\sitemapxml\sitemapxml_homepage.php on line 23
I understand they are probably not important...
These bug fixes in the latest version 3.2.2. If you want to - try the latest version. But do not think it will affect the error 'headers already sent".
Re: cron job causes debug error
Code:
These bug fixes in the latest version 3.2.2
Thanks, where do I find that, I see 3.1 as the latest download.
Re: cron job causes debug error
Quote:
Originally Posted by
torvista
Code:
These bug fixes in the latest version 3.2.2
Thanks, where do I find that, I see 3.1 as the latest download.
I can PM you the link or you can wait a few days, until I upload module to DL-area.
Re: cron job causes debug error
No rush, I'll wait for the new version to be posted.
Thanks.
Re: cron job causes debug error
I installed SitemapXML v2 on zencart 1.3.7. XML files are generated properly except sitemapindex.xml file.
It contains only: </sitemapindex>
I tried to change chmod to 777 but it didn't helped. I tried to reupload all files, changed some options in Configure->Sitemap XML as well but its still not working.
I can not upgrade zen zart itself because I made a lot of changes in various files. What should I do now?
Re: cron job causes debug error
Quote:
Originally Posted by
myshol
I installed SitemapXML v2 on zencart 1.3.7. XML files are generated properly except sitemapindex.xml file.
It contains only: </sitemapindex>
I tried to change chmod to 777 but it didn't helped. I tried to reupload all files, changed some options in Configure->Sitemap XML as well but its still not working.
I can not upgrade zen zart itself because I made a lot of changes in various files. What should I do now?
Sorry, but I can not help you - ancient, unsupported version.
Re: cron job causes debug error
Quote:
Originally Posted by
a_berezin
Sorry, but I can not help you - ancient, unsupported version.
Could You at least tell me which file contains code that generates sitemapindex.xml ? I will try to deal with this problem.
I can see that includes/classes/sitemapxml.php may be the file I'm looking for?