Page 1 of 2
Error messages please help?
Posted: Wed Oct 24, 2012 8:53 pm
by Calcite
I am configuring a site at present (1.5.4.1) on a server. I have had some odd errors show up when I have not been using it, and wonder if it is robots or something more sinister.
Normally it is set to maintenance mode with an index.html page active so the maintenance page does not show, but I had not activated the index.html last night so the maintenance page has been visible overnight.
Here is todays log when I was not using the site
2012-10-24 3:09:26 - PHP Warning: unlink(/home/Mysite/public_html/system/cache/cache.product.total.1.0.1.55a55c38d5843283d148d3b96c9a1245.1351039007) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /home/Mysite/public_html/system/library/cache.php on line 18
2012-10-24 3:09:27 - PHP Warning: unlink(/home/Mysite/public_html/system/cache/cache.language.1351039008) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /home/Mysite/public_html/system/library/cache.php on line 18
2012-10-24 10:00:27 - PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /home/Mysite/public_html/index.php:49) in /home/Mysite/public_html/system/library/session.php on line 11
2012-10-24 10:00:27 - PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/Mysite/public_html/index.php:49) in /home/Mysite/public_html/system/library/session.php on line 11
2012-10-24 10:00:27 - PHP Notice: Undefined index: HTTP_HOST in /home/Mysite/public_html/index.php on line 177
2012-10-24 10:00:27 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/Mysite/public_html/index.php:49) in /home/Mysite/public_html/index.php on line 177
Anyone got any ideas on what is happening?
Re: Sinister or robots?
Posted: Tue Oct 30, 2012 9:43 pm
by Calcite
Anyone?
Some more today
2012-10-30 3:12:21 - PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /home/Mysite/public_html/index.php:49) in /home/Mysite/public_html/system/library/session.php on line 11
2012-10-30 3:12:21 - PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/Mysite/public_html/index.php:49) in /home/Mysite/public_html/system/library/session.php on line 11
Re: Sinister or robots?
Posted: Tue Oct 30, 2012 10:41 pm
by Tcalp
looks like most likely a permissions problem. Verify :
http://www.opencart.com/index.php?route ... ion&path=4
nothing sinister.
Re: Sinister or robots?
Posted: Mon Nov 05, 2012 9:56 pm
by Calcite
My file permission are set at 0644 for the config files and 0755 for the rest. This is how they were set on the default installation (1.5.4.1).
I see that the linked page shows all the files are requiring 0755 or 0777.
Should I change the config file permissions? Don't want to make the installation vulnerable so hence my question before I try them at 0755.
Re: Sinister or robots?
Posted: Sun Nov 11, 2012 1:26 am
by Calcite
Still getting the same errors occasionally
Can anyone help?
Re: Error messages please help?
Posted: Mon Nov 19, 2012 3:07 pm
by i2Paq
This is a known issue because the cache file is already deleted and thus not found.
Re: Error messages please help?
Posted: Mon Nov 19, 2012 3:43 pm
by Calcite
Thanks for the reply.
Can I assume it is not a big problem that will affecr the running of the store?
Re: Error messages please help?
Posted: Mon Nov 19, 2012 3:54 pm
by k2tec
you can
Re: Error messages please help?
Posted: Mon Nov 19, 2012 5:22 pm
by villagedefrance
Hi all,
Yes I've got the exact same errors popping up almost everyday and I have tried many times to fix them.
The "currency" error I thought I found a fix for, unfortunately still doesn't work, as I had the error coming up again today. Sorry if I mislead you in the post below.
viewtopic.php?f=2&t=81218
The "cache" error (unlink) is very peculiar because the default code looks perfect, still it does trigger an error at times.
I think the new encryption could be the problem for both errors:
On pages like these "product/product&product_id=47#.UKn3c2fVoSY", the URL has an added encryption at the end.
When you change the currency, the page refreshes to this URL: "product/product&product_id=47".
As you know, a "cache" is created everytime a product is being called. If the URL is then initially caught with the encryption On then it might not be able to unlink it later if the currency has been changed, and the Old and New cache does not match.
Anyway, I could be saying silly things here but the errors are still there. My comments might help one of you figure it out, before OC 1.5.5.x comes out.
Regards to all.
Re: Error messages please help?
Posted: Sun Dec 30, 2012 9:41 am
by Saile
do we have a fix for this ?
Re: Error messages please help?
Posted: Thu Jan 03, 2013 9:53 pm
by Calcite
Still getting error messages, a lot of the following errors each day
2013-01-03 3:35:27 - PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /home/mysite/public_html/index.php:49) in /home/mysite/public_html/system/library/session.php on line 11
2013-01-03 3:35:27 - PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/mysite/public_html/index.php:49) in /home/mysite/public_html/system/library/session.php on line 11
2013-01-03 3:35:27 - PHP Notice: Undefined index: HTTP_HOST in /home/mysite/public_html/index.php on line 177
2013-01-03 3:35:27 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/mysite/public_html/index.php:49) in /home/mysite/public_html/index.php on line 177
2013-01-03 3:35:27 - PHP Notice: Undefined index: HTTP_HOST in /home/mysite/public_html/system/library/currency.php on line 45
2013-01-03 3:35:27 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/mysite/public_html/index.php:49) in /home/mysite/public_html/system/library/currency.php on line 45
Can anyone shed any light on this as it is filling up my log?
Re: Error messages please help?
Posted: Tue Jan 08, 2013 5:07 am
by Saile
still waiting for a fix??????????
Re: Error messages please help?
Posted: Tue Feb 05, 2013 7:45 pm
by MikeSCC
Hi,
I am also getting these errors - was there a solution for this issue?
Thanks,
Mike
Re: Error messages please help?
Posted: Wed Feb 06, 2013 1:26 am
by i2Paq
NO FIX NEEDED, Read what this topic says.
It, OC, is looking for cache files which already have been deleted by the system.
It is just an error, no sweat.
Re: Error messages please help?
Posted: Wed Aug 28, 2013 4:11 am
by SmokeNGun
i2Paq wrote:NO FIX NEEDED, Read what this topic says.
It, OC, is looking for cache files which already have been deleted by the system.
It is just an error, no sweat.
I also just develop this same problem today after domain name change. This error is at the top of the page above the main hearder. So are you saying that this will correct its self in time. I'm using v 1.5.6
Re: Error messages please help?
Posted: Wed Aug 28, 2013 8:05 am
by SmokeNGun
SmokeNGun wrote:i2Paq wrote:NO FIX NEEDED, Read what this topic says.
It, OC, is looking for cache files which already have been deleted by the system.
It is just an error, no sweat.
I also just develop this same problem today after domain name change. This error is at the top of the page above the main hearder. So are you saying that this will correct its self in time. I'm using v 1.5.6
Okay I fix the problem on my own...
Re: Error messages please help?
Posted: Wed Aug 28, 2013 6:59 pm
by i2Paq
SmokeNGun wrote:SmokeNGun wrote:i2Paq wrote:NO FIX NEEDED, Read what this topic says.
It, OC, is looking for cache files which already have been deleted by the system.
It is just an error, no sweat.
I also just develop this same problem today after domain name change. This error is at the top of the page above the main hearder. So are you saying that this will correct its self in time. I'm using v 1.5.6
Okay I fix the problem on my own...
I'm referring to the error-log.
If you have an error at the top of your page then this is another error.
Always post you error because to you it might look the same but it could be completely different.
And if you solve an issue, why not post the solutions so others can benefit?
Re: Error messages please help?
Posted: Wed Aug 28, 2013 7:31 pm
by SmokeNGun
Here is the error message I'm getting at the top of the page.
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/n2ritcom/public_html/bcrch.com/config.php:29) in /home/n2ritcom/public_html/bcrch.com/system/library/session.php on line 11Warning: Cannot modify header information - headers already sent by (output started at /home/n2ritcom/public_html/bcrch.com/config.php:29) in /home/n2ritcom/public_html/bcrch.com/index.php on line 181
Next issue is when ever logging into the store front after logging in the complete page goes blank.
Also if requesting a new password you put in the email after then select continue the screen goes blank.
Now its like just about anything you click on there's all sort of error message.
All of this came about when moving the site under a different domain name located on the same host.
I've only been getting the site setup. With so many error message popping up now, Could I just do a complete re-install?
And how would if effect my database that as already been created ?
Re: Error messages please help?
Posted: Wed Aug 28, 2013 8:39 pm
by i2Paq
Do you use a custom theme and/or an additional language?
Re: Error messages please help?
Posted: Wed Aug 28, 2013 9:07 pm
by SmokeNGun
i2Paq wrote:Do you use a custom theme and/or an additional language?
Yes custom theme only
But keep in mine that this problem started after the all files were moved to a new folder for a domain name change. Reason it was in conflick with another site and the owner was giving me a hard time about it. My isp provider made all the
changes for me. He said he had to edit two files the config.php and admin.php.
Now is when i'm getting all the error and some blank pages.
Blank page show when some one trys to setup a new account view there account.
So my other question can I re-install the files like doing an upgrade and would that help? I know I would need to backup my database and not over wright my config.php and admin.php file.