Author Topic: Setup can not. Sorry, but error occurred during installation  (Read 6380 times)

Offline quebsenuef

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Setup can not. Sorry, but error occurred during installation
« 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 .

Offline eCommerce Core

  • Administrator
  • Hero Member
  • *****
  • Posts: 1602
  • Karma: +93/-1
    • View Profile
Re: Setup can not. Sorry, but error occurred during installation
« Reply #1 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)
“If you’re in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent.”
― Warren Buffett

Offline smallfish

  • Full Member
  • ***
  • Posts: 129
  • Karma: +15/-2
    • View Profile
Re: Setup can not. Sorry, but error occurred during installation
« Reply #2 on: February 19, 2014, 02:56:10 AM »
I also has this problem.

Offline Ratapelua71

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Setup can not. Sorry, but error occurred during installation
« Reply #3 on: March 13, 2014, 03:09:05 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.

Offline eCommerce Core

  • Administrator
  • Hero Member
  • *****
  • Posts: 1602
  • Karma: +93/-1
    • View Profile
“If you’re in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent.”
― Warren Buffett

 

Powered by SMFPacks Social Login Mod