Post by drezh » Tue Apr 24, 2012 6:20 pm

Hi,
i have OC 1.5.1.3, i need to stay in this version at moment.
Sametimes a get on "log errors" PHP Warning like:

Code: Select all

2012-04-23 10:04:01 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /web/htdocs/www.mysite.com/home/shop/index.php:100) in /web/htdocs/www.mysite.com/home/shop/index.php on line 175

Code: Select all

2012-04-24 6:37:26 - PHP Warning:  unlink(/web/htdocs/www.mysite.com/home/shop/system/cache/cache.product.2.0.8.99029a1c7911e28529f3f68fbf3d0607.1335253046) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /web/htdocs/www.mysite.com/home/shop/system/library/cache.php on line 50
and other similar.

However the site, front store and admin, seems to work fine, but I would like to understand, if possible, what generates these errors and some other similar errors.

I can ignore them or they are serious errors?

Thanks for the help. :)

Newbie

Posts

Joined
Sun Jan 22, 2012 2:11 am

Post by qahar » Tue Apr 24, 2012 6:42 pm

Code: Select all

2012-04-23 10:04:01 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /web/htdocs/www.mysite.com/home/shop/index.php:100) in /web/htdocs/www.mysite.com/home/shop/index.php on line 175
Make sure there are no white space and try re-upload to your FTP server in ASCII mode not binary.

Code: Select all

2012-04-24 6:37:26 - PHP Warning:  unlink(/web/htdocs/www.mysite.com/home/shop/system/cache/cache.product.2.0.8.99029a1c7911e28529f3f68fbf3d0607.1335253046) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /web/htdocs/www.mysite.com/home/shop/system/library/cache.php on line 50
Opencart try to delete the cache but the file is not available anymore. This is happen because library/cache.php script is trying to delete an already deleted cache file.

Someone already proposing a fix method for this on 1.4.9.3, may be Opencart Dev forgot to implement or already try different way.

User avatar
Expert Member

Posts

Joined
Tue Jun 29, 2010 10:24 pm
Location - Indonesia

Post by drezh » Tue Apr 24, 2012 7:21 pm

Thank you very much qahar,
I just try your suggestions for the "index.php" file.

So I can ignore the cache errors without using the fix? They are not relevant...

Newbie

Posts

Joined
Sun Jan 22, 2012 2:11 am
Who is online

Users browsing this forum: No registered users and 33 guests