AbanteCart Community
eCommerce construction => Installation and Configuration => Fresh Installation => Topic started by: quebsenuef on February 04, 2014, 05:38:01 AM
-
Hello,
I want to make a setup to test zero . However, 3 of the installation I am getting the following error message in step .
I'm trying to install version 1.1.8
-------------------------------------------------- -------
Sorry, but error occurred during installation :
OK: {" in ret_co " : 50 }
name Info
2 :: warning
Invalid argument supplied for foreach ( ) in / home / orkaoz / domains / orkaoz.co / public_html / e-commerce / core / lib / cache.php on line 52
-------------------------------------------------- ----------------
What could cause this error .
If cache.php place in the following way
-------------------------------------------------- -------------
50 > $ this-> registry = Registry :: getInstance () ;
51> $ cache_files = glob ( DIR_CACHE. '* / *', GLOB_NOSORT );
52> foreach ($ cache_files as $ file) {
53> / / first of all check if a file is expired . delete it if needed
54> $ file_ti to = filemtime ( $ file);
55> if (( time () - $ file_ti my ) > $ this-> expire ) {
56> if ( file_exists ($ file )) {
57> unlink ( $ file);
58> continue ;
-------------------------------------------------- -------
Thank you in advance for your help .
-
Check if your cache directory is writable for webserver. Basically set it to 777 (rwx-rwx-rwx)
-
I also has this problem.
-
Check if your cache directory is writable for webserver. Basically set it to 777 (rwx-rwx-rwx)
I did but still get the same error :-\
Note: I'm using Nixiweb hosting account.
-
Check the solution in this post.
http://forum.abantecart.com/index.php/topic,1792.msg7239.html#msg7239