Post by Calcite » Wed Oct 24, 2012 8:53 pm

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?
Last edited by Calcite on Sun Nov 11, 2012 1:27 am, edited 1 time in total.

Active Member

Posts

Joined
Fri Dec 30, 2011 3:21 am

Post by Calcite » Tue Oct 30, 2012 9:43 pm

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

Active Member

Posts

Joined
Fri Dec 30, 2011 3:21 am

Post by Tcalp » Tue Oct 30, 2012 10:41 pm

looks like most likely a permissions problem. Verify : http://www.opencart.com/index.php?route ... ion&path=4

nothing sinister.

Increase Page Speed (#1 rated commercial extension on OpenCart Marketplace)
15in1 Essential Extensions Value Pack Premium Customer Testimonials Reward Points Extended Admin Security Lockdown Suite

Image
irc.freenode.net #opencart


User avatar
Active Member

Posts

Joined
Wed Jul 06, 2011 1:49 pm

Post by Calcite » Mon Nov 05, 2012 9:56 pm

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.

Active Member

Posts

Joined
Fri Dec 30, 2011 3:21 am

Post by Calcite » Sun Nov 11, 2012 1:26 am

Still getting the same errors occasionally

Can anyone help?

Active Member

Posts

Joined
Fri Dec 30, 2011 3:21 am

Post by i2Paq » Mon Nov 19, 2012 3:07 pm

This is a known issue because the cache file is already deleted and thus not found.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by Calcite » Mon Nov 19, 2012 3:43 pm

Thanks for the reply.
Can I assume it is not a big problem that will affecr the running of the store?

Active Member

Posts

Joined
Fri Dec 30, 2011 3:21 am

Post by k2tec » Mon Nov 19, 2012 3:54 pm

you can

User avatar
Active Member

Posts

Joined
Mon Apr 12, 2010 8:06 pm

Post by villagedefrance » Mon Nov 19, 2012 5:22 pm

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.

OpenCart custom solutions @ https://villagedefrance.net


User avatar
Active Member

Posts

Joined
Wed Oct 13, 2010 10:35 pm
Location - UK

Post by Saile » Sun Dec 30, 2012 9:41 am

do we have a fix for this ?

Active Member

Posts

Joined
Thu Jan 19, 2012 8:19 am

Post by Calcite » Thu Jan 03, 2013 9:53 pm

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?

Active Member

Posts

Joined
Fri Dec 30, 2011 3:21 am

Post by Saile » Tue Jan 08, 2013 5:07 am

still waiting for a fix??????????

Active Member

Posts

Joined
Thu Jan 19, 2012 8:19 am

Post by MikeSCC » Tue Feb 05, 2013 7:45 pm

Hi,

I am also getting these errors - was there a solution for this issue?

Thanks,

Mike

Active Member

Posts

Joined
Tue Nov 20, 2012 5:55 pm

Post by i2Paq » Wed Feb 06, 2013 1:26 am

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.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by SmokeNGun » Wed Aug 28, 2013 4:11 am

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

Newbie

Posts

Joined
Fri Aug 09, 2013 1:49 pm

Post by SmokeNGun » Wed Aug 28, 2013 8:05 am

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

Newbie

Posts

Joined
Fri Aug 09, 2013 1:49 pm

Post by i2Paq » Wed Aug 28, 2013 6:59 pm

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?

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by SmokeNGun » Wed Aug 28, 2013 7:31 pm

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 ?

Newbie

Posts

Joined
Fri Aug 09, 2013 1:49 pm

Post by i2Paq » Wed Aug 28, 2013 8:39 pm

Do you use a custom theme and/or an additional language?

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by SmokeNGun » Wed Aug 28, 2013 9:07 pm

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.
Last edited by SmokeNGun on Thu Aug 29, 2013 6:08 am, edited 1 time in total.

Newbie

Posts

Joined
Fri Aug 09, 2013 1:49 pm
Who is online

Users browsing this forum: No registered users and 85 guests