Post by nexus85 » Wed May 13, 2015 4:28 am

Hi,

I can't add products to the shopping cart. The cart is loading and I get the following error: Warning: fclose() expects parameter 1 to be resource, boolean given in /home/xxxx/domains/xxxx/public_html/system/library/log.php on line 14

Thanks in advance!

Ontwikkeld de site Kluizen Discount


New member

Posts

Joined
Wed Jan 27, 2010 4:40 pm

Post by OSWorX » Wed May 13, 2015 4:33 am

Have you ever checked the size of the error logfile?
Maybe one reason.

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Administrator

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by nexus85 » Fri May 15, 2015 4:31 am

OSWorX wrote:Have you ever checked the size of the error logfile?
Maybe one reason.
If I want to clean the logfile I got the following error: Warning: fopen(/home/.../domains/.../public_html/system/logs/error.log): failed to open stream: Permission denied in /home/.../domains/.../public_html/admin/controller/tool/error_log.php on line 97Warning: fclose() expects parameter 1 to be resource, boolean given in /home/.../domains/.../public_html/admin/controller/tool/error_log.php on line 99Warning: Cannot modify header information - headers already sent by (output started at /home/.../domains/.../public_html/admin/index.php:80) in /home/.../domains/.../public_html/system/library/response.php on line 12

Sorry maybe it's a stupid question

Ontwikkeld de site Kluizen Discount


New member

Posts

Joined
Wed Jan 27, 2010 4:40 pm

Post by OSWorX » Fri May 15, 2015 3:40 pm

First of all disable the display of messages, see System > Server >> Display Messages (or whatever it is called in English).
Second, check the permissions if the fodler and files inside of ../system/logs and hee especially error.txt (if you have named the output file error.txt)
Folders should have 0755 and the file itself 0644

And when you in that fodler with FTP, check the size if this file.
It should not exceed the maximum size of approx. 3-4 MB.

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Administrator

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by nexus85 » Sun May 17, 2015 4:18 pm

Thanx to all, the problem is solved!

Ontwikkeld de site Kluizen Discount


New member

Posts

Joined
Wed Jan 27, 2010 4:40 pm

Post by OSWorX » Sun May 17, 2015 5:05 pm

nexus85 wrote:Thanx to all, the problem is solved!
And what was it?
Please share it, in case someone else may have the same problem.
thx.

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Administrator

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by Khal » Tue Jun 16, 2015 4:52 pm

Yes please share how you solved this problem, I have also started to get those error messages. Thanks

OC 2.0.1.1


Active Member

Posts

Joined
Thu May 24, 2012 9:24 pm
Location - Teesside, UK
Who is online

Users browsing this forum: No registered users and 3 guests