support

getting this error??

Started by cobrasports, June 02, 2014, 02:24:45 AM

Previous topic - Next topic

cobrasports


Sorry, but error occurred during installation:
OK: Fatal error: Call to a member function write() on a non-object in /home/u725136063/public_html/ab/core/lib/cache.php on line 53

abantecart

Similar issue is covered in the forum.
Check write permissions on your cache directory. It has to be 777
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

abolabo

Quote from: cobrasports on June 02, 2014, 02:24:45 AM

Sorry, but error occurred during installation:
OK: Fatal error: Call to a member function write() on a non-object in /home/u725136063/public_html/ab/core/lib/cache.php on line 53

try to replace file core/lib/cache.php by attached
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

abda11ah

Hi,

I'm trying to make a fresh install on Windows 7 x64 on the WT-NMP server 14.09 (Nginx 1.7.4 + MySQL 5.6.20 + PHP 5.5.16) and that error is still there :

Fatal error: Call to a member function write() on a non-object in C:\WT-NMP\WWW\abc\core\lib\cache.php on line 53

I opened all the permissions for the entire "abc" (abantecart) folder.
I also replaced the cache.php file by the attached one.

umpol

The same result error during install

nickjohn

Had this same error, changed the permission settings on the cache.php to 777, changed permission settings on the "core" folder and finally found that the permissions setting on the "lib" folder were wrong, changed them to 777 and it worked fine... Not sure if this is right, its just a trial site at the moment so if this is the wrong setup would welcome any feedback..

abantecart

If you set 777 on core and lib directories, this only needed for upgrade. Other times, keep 644 permissions for files and 755 permissions for folders
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

youthworkerpete

Hi Everyone,

I've just upgraded to 1.2 and got this same error:
Fatal error: Call to a member function write() on a non-object in /home2/athartco/public_html/teaathart.co.uk/shop/core/lib/cache.php on line 53

I've tried the above, in fact I changed all the nesting folders to 777 - still no help.

I tried a clean install in a new folder, and the same error came up. I guess there's something my server doesn't like with 1.2 - any ideas massively appreciated!

Thank you!

Forum Rules Code of conduct
AbanteCart.com 2010 -