AbanteCart Community

eCommerce construction => Installation and Configuration => Fresh Installation => Topic started by: cobrasports on June 02, 2014, 02:24:45 AM

Title: getting this error??
Post by: 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
Title: Re: getting this error??
Post by: abantecart on June 02, 2014, 06:53:50 PM
Similar issue is covered in the forum.
Check write permissions on your cache directory. It has to be 777
Title: Re: getting this error??
Post by: abolabo on June 04, 2014, 05:35:11 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
Title: Re: getting this error??
Post by: abda11ah on September 19, 2014, 06:33:23 AM
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.
Title: Re: getting this error??
Post by: umpol on September 22, 2014, 11:38:39 PM
The same result error during install
Title: Re: getting this error??
Post by: nickjohn on October 27, 2014, 08:22:05 PM
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..
Title: Re: getting this error??
Post by: abantecart on October 29, 2014, 01:15:21 PM
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
Title: Re: getting this error??
Post by: youthworkerpete on January 14, 2015, 02:44:51 AM
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!