Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

Setup can not. Sorry, but error occurred during installation

Started by quebsenuef, February 04, 2014, 05:38:01 AM

Previous topic - Next topic

quebsenuef

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 .

eCommerce Core

Check if your cache directory is writable for webserver. Basically set it to 777 (rwx-rwx-rwx)


Ratapelua71

Quote from: eCommerce Core on February 04, 2014, 02:01:21 PM
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.


Forum Rules Code of conduct
AbanteCart.com 2010 -