Page 1 of 1

Can't add product to cart

Posted: Wed May 13, 2015 4:28 am
by nexus85
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!

Re: Can't add product to cart

Posted: Wed May 13, 2015 4:33 am
by OSWorX
Have you ever checked the size of the error logfile?
Maybe one reason.

Re: Can't add product to cart

Posted: Fri May 15, 2015 4:31 am
by nexus85
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

Re: Can't add product to cart

Posted: Fri May 15, 2015 3:40 pm
by OSWorX
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.

Re: Can't add product to cart

Posted: Sun May 17, 2015 4:18 pm
by nexus85
Thanx to all, the problem is solved!

Re: Can't add product to cart

Posted: Sun May 17, 2015 5:05 pm
by OSWorX
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.

Re: Can't add product to cart

Posted: Tue Jun 16, 2015 4:52 pm
by Khal
Yes please share how you solved this problem, I have also started to get those error messages. Thanks