Jump to content

Fashioncat

Members
  • Posts

    10
  • Joined

  • Last visited

Fashioncat's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I am trying to get a test site up with 1.5 so it will be ready with two stores as soon as the stable version is ready. Have tried a few times both with a copy of my existing store and on a fresh install of 1.4.6.2 and always end up with the same error message. Error during install/upgrade: Warning: Invalid argument supplied for foreach() in /home/xxxx/classes/Hook.php on line 112 Fatal error: Call to a member function getListOfID() on a non-object in /home/xxxx/classes/Hook.php on line 191 You may have to: Fix the error(s) displayed My question is what do I need to do to fix these errors, the code segments are below and the lines that are listed with errors are highlighted in red. 107 static public function preloadHookAlias() 108 { 109 if (!is_null(self::$preloadHookAlias)) 110 return ; 111 $hookAliasList = Db::getInstance()->executeS('SELECT * FROM `'._DB_PREFIX_.'hook_alias`'); 112 foreach ($hookAliasList as $ha) 113 self::$preloadHookAlias[$ha['alias']] = $ha['name']; 114 } 188if (!isset(self::$_hookModulesCache)) 189 { 190 $db = Db::getInstance(_PS_USE_SQL_SLAVE_); 191 $list = $context->shop->getListOfID(); 192 if (isset($context->customer) && $context->customer->isLogged()) 193 $groups = $context->customer->getGroups(); Thanks
  2. Thank you it seems like everything is functioning as it should now. To my defense I have to say that it states very clearly in the installation guide in the Wiki here that the specified folders hould be set to 777. So what do I owe you?
  3. No change in the COD checkout with permissions set to 755. could not find any recent php errors in the error log. Error Logs [sat Feb 13 12:24:05 2010] CURRENT SERVER TIME MAIN error_log: [sat Feb 13 12:23:27 2010] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored. [sat Feb 13 12:23:53 2010] [error] [client 66.249.71.201] Failed loading /home/sfelectr/ioncube/ioncube_loader_lin.so: /home/sfelectr/ioncube/ioncube_loader_lin.so: cannot open shared object file: No such file or directory [sat Feb 13 12:23:54 2010] [error] [client 66.249.71.201] Failed loading /home/sfelectr/ioncube/ioncube_loader_lin.so: /home/sfelectr/ioncube/ioncube_loader_lin.so: cannot open shared object file: No such file or directory SUEXEC error_log: PHP error_log: /home/kinkycat/public_html/fashioncat/Catty/error_log: [12-Feb-2010 08:39:54] PHP Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg, libjpeg: recoverable error: Premature end of JPEG file in /home/kinkycat/public_html/fashioncat/images.inc.php on line 210 [12-Feb-2010 08:39:54] PHP Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/home/kinkycat/public_html/fashioncat/img/tmp/ps_import0PjCcJ' is not a valid JPEG file in /home/kinkycat/public_html/fashioncat/images.inc.php on line 210 [12-Feb-2010 08:39:54] PHP Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home/kinkycat/public_html/fashioncat/images.inc.php on line 158 [12-Feb-2010 08:39:54] PHP Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg, libjpeg: recoverable error: Premature end of JPEG file in /home/kinkycat/public_html/fashioncat/images.inc.php on line 210 [12-Feb-2010 08:39:54] PHP Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/home/kinkycat/public_html/fashioncat/img/tmp/ps_import0PjCcJ' is not a valid JPEG file in /home/kinkycat/public_html/fashioncat/images.inc.php on line 210 [12-Feb-2010 08:39:54] PHP Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home/kinkycat/public_html/fashioncat/images.inc.php on line 158 [12-Feb-2010 08:39:54] PHP Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg, libjpeg: recoverable error: Premature end of JPEG file in /home/kinkycat/public_html/fashioncat/images.inc.php on line 210 [12-Feb-2010 08:39:54] PHP Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/home/kinkycat/public_html/fashioncat/img/tmp/ps_import0PjCcJ' is not a valid JPEG file in /home/kinkycat/public_html/fashioncat/images.inc.php on line 210 [12-Feb-2010 08:39:54] PHP Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home/kinkycat/public_html/fashioncat/images.inc.php on line 158 [12-Feb-2010 08:39:54] PHP Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg, libjpeg: recoverable error: Premature end of JPEG file in /home/kinkycat/public_html/fashioncat/images.inc.php on line 210 [12-Feb-2010 08:39:54] PHP Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/home/kinkycat/public_html/fashioncat/img/tmp/ps_import0PjCcJ' is not a valid JPEG file in /home/kinkycat/public_html/fashioncat/images.inc.php on line 210 [12-Feb-2010 08:39:54] PHP Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home/kinkycat/public_html/fashioncat/images.inc.php on line 158 [12-Feb-2010 08:39:54] PHP Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg, libjpeg: recoverable error: Premature end of JPEG file in /home/kinkycat/public_html/fashioncat/images.inc.php on line 210 [12-Feb-2010 08:39:54] PHP Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/home/kinkycat/public_html/fashioncat/img/tmp/ps_import0PjCcJ' is not a valid JPEG file in /home/kinkycat/public_html/fashioncat/images.inc.php on line 210 [12-Feb-2010 08:39:54] PHP Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home/kinkycat/public_html/fashioncat/images.inc.php on line 158 [12-Feb-2010 08:39:54] PHP Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg, libjpeg: recoverable error: Premature end of JPEG file in /home/kinkycat/public_html/fashioncat/images.inc.php on line 210 [12-Feb-2010 08:39:54] PHP Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/home/kinkycat/public_html/fashioncat/img/tmp/ps_import0PjCcJ' is not a valid JPEG file in /home/kinkycat/public_html/fashioncat/images.inc.php on line 210 [12-Feb-2010 08:39:54] PHP Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home/kinkycat/public_html/fashioncat/images.inc.php on line 158 [13-Feb-2010 08:14:23] PHP Parse error: syntax error, unexpected '?' in /home/kinkycat/public_html/fashioncat/classes/Module.php(325) : eval()'d code on line 1 [13-Feb-2010 08:14:33] PHP Parse error: syntax error, unexpected '?' in /home/kinkycat/public_html/fashioncat/classes/Module.php(325) : eval()'d code on line 1 [13-Feb-2010 08:15:23] PHP Parse error: syntax error, unexpected '?' in /home/kinkycat/public_html/fashioncat/classes/Module.php(325) : eval()'d code on line 1 [13-Feb-2010 08:16:43] PHP Parse error: syntax error, unexpected '?' in /home/kinkycat/public_html/fashioncat/classes/Module.php(325) : eval()'d code on line 1
  4. I also have run the phpinfo and you can get the results from that one here. http://fashioncat.no/test.php
  5. Hi, no it is not in private or with protection, as our old store is running in the background I found that they can run parallell for the troubleshooting and any orders and logons registered on the prestashop site is just for testing and will be deleted again when ready to open it. The screenshot for the COD error doesnt contain much but here it is.
  6. I have done a fresh install of prestashop 1.2.5 and cant get the payment options to work. When doing a checkout with COD the following message gets returned [an error occurred while processing this directive]. When using paypal 1.6 the chekcout goes as normal you can pay through paypal and both customer and me get the confirmation mail from PP, but on returning to the store the items are still in the cart and no order has been logged in the BO. Tried installing the Paypal2.0 beta2 but then I end up with the same error message as for COD. Anyone up for the challenge?
  7. I have the same error when using COD checkout, I am also running on hostmonster so maybe the error are on their side.
×
×
  • Create New...