Jump to content

scottray1970

Members
  • Posts

    14
  • Joined

  • Last visited

Profile Information

  • Location
    Uster
  • Activity
    User/Merchant

Recent Profile Visitors

227 profile views

scottray1970's Achievements

Newbie

Newbie (1/14)

0

Reputation

1

Community Answers

  1. Thanks for that tuk66. It does work and I can get access to the shop but the files they've sent me don't seem to work, so back to square one. Can you offer any help on how to re-install the backed up version of the shop?
  2. I recently tried to upgrade to the latest version of the shop and received a white screen when I tried to log-in using the administrator password. I have set the PS_MODE_DEV to true and turned on error reporting and this is the message that I have received: Fatal error: Cannot make non static method DbCore::getLink() static in class DatatransCw_DatabaseLinkAccessor in/home/www/web233/html/britishbeershop/Prestashop/modules/datatranscw/lib/DatatransCw/DatabaseLinkAccessor.php on line 37 Does anyone have any ideas as to what I should do?
  3. I am also having major problems. I upgraded from 1.6.0.2 and now I can't access the shop. After log-in I get an Err500 server error message and a blank screen. Any Ideas anyone?
  4. Great got it sorted - thank you for your help and apologies for the delay in replying!
  5. I'm not 100% sure exactly how the statuses work, as they seem to be in-built. I did set one up as a test and then deleted it. Do I need to set it up again and link it to the payment option, or is there another work around?
  6. I've tried to set up a cash on collection payment method using the universalpay module but I keep getting a 500 error 'Oops something went wrong' and I can't figure out the problem. The code below is what I receive having turned on error reporting. Unfortunately I don't know enough about this to know what course of action I should take. [PrestaShopException] Can't load Order status at line 156 in file classes/PaymentModule.php 150. if (Configuration::get('PS_TAX_ADDRESS_TYPE') == 'id_address_delivery')151. $context_country = $this->context->country;152. 153. $order_status = new OrderState((int)$id_order_state, (int)$this->context->language->id);154. if (!Validate::isLoadedObject($order_status))155. throw new PrestaShopException('Can\'t load Order status');156. 157. if (!$this->active)158. die(Tools::displayError());159. // Does order already exists ?160. if (Validate::isLoadedObject($this->context->cart) && $this->context->cart->OrderExists() == false) PaymentModuleCore->validateOrder - [line 41 - modules/universalpay/controllers/front/validation.php] - [9 Arguments] universalpayValidationModuleFrontController->postProcess - [line 171 - classes/controller/Controller.php] ControllerCore->run - [line 373 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 28 - index.php] PaymentModuleCore->validateOrder - [line 41 - modules/universalpay/controllers/front/validation.php] - [9 Arguments] 35. return ;36. 37. $mailVars = array(38. '{paysistem_name}' => $paysistem->name39. );40. $this->module->validateOrder((int)$cart->id, $paysistem->id_order_state, $total, $paysistem->name, NULL, $mailVars, (int)$currency->id, false, $customer->secure_key);41. if($paysistem->description_success)42. {43. $order=new Order($this->module->currentOrder);44. $description_success=str_replace(45. array('%total%', '%order_number%'), universalpayValidationModuleFrontController->postProcess - [line 171 - classes/controller/Controller.php] 165. // setMedia MUST be called before postProcess166. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className)))167. $this->setMedia();168. 169. // postProcess handles ajaxProcess170. $this->postProcess();171. 172. if (!empty($this->redirect_after))173. $this->redirect();174. 175. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) ControllerCore->run - [line 373 - classes/Dispatcher.php] 367. // Execute hook dispatcher368. if (isset($params_hook_action_dispatcher))369. Hook::exec('actionDispatcher', $params_hook_action_dispatcher);370. 371. // Running controller372. $controller->run();373. }374. catch (PrestaShopException $e)375. {376. $e->displayMessage();377. } DispatcherCore->dispatch - [line 28 - index.php] 22. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)23. * International Registered Trademark & Property of PrestaShop SA24. */25. 26. require(dirname(__FILE__).'/config/config.inc.php');27. Dispatcher::getInstance()->dispatch(); I'm not sure if these require changing or whether I need to set up something else within the modules in order to trigger the right arguements and values. Any help would be gratefully appreciated.
  7. Thanks, I had managed to figure that out and felt I was getting somewhere, but I'm not sure that I understand the errors. I've included the information from the page after I've hit the confirm button and where I receive the 500 Error. I had tried ot post a screenprint earlier when I had figured this out, but I think that the file was too large. In the first block the error is at line 155. [PrestaShopException] Can't load Order status at line 156 in file classes/PaymentModule.php 150. if (Configuration::get('PS_TAX_ADDRESS_TYPE') == 'id_address_delivery')151. $context_country = $this->context->country;152. 153. $order_status = new OrderState((int)$id_order_state, (int)$this->context->language->id);154. if (!Validate::isLoadedObject($order_status))155. throw new PrestaShopException('Can\'t load Order status');156. 157. if (!$this->active)158. die(Tools::displayError());159. // Does order already exists ?160. if (Validate::isLoadedObject($this->context->cart) && $this->context->cart->OrderExists() == false) PaymentModuleCore->validateOrder - [line 41 - modules/universalpay/controllers/front/validation.php] - [9 Arguments] universalpayValidationModuleFrontController->postProcess - [line 171 - classes/controller/Controller.php] ControllerCore->run - [line 373 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 28 - index.php] PaymentModuleCore->validateOrder - [line 41 - modules/universalpay/controllers/front/validation.php] - [9 Arguments]35. return ;36. 37. $mailVars = array(38. '{paysistem_name}' => $paysistem->name39. );40. $this->module->validateOrder((int)$cart->id, $paysistem->id_order_state, $total, $paysistem->name, NULL, $mailVars, (int)$currency->id, false, $customer->secure_key);41. if($paysistem->description_success)42. {43. $order=new Order($this->module->currentOrder);44. $description_success=str_replace(45. array('%total%', '%order_number%'), universalpayValidationModuleFrontController->postProcess - [line 171 - classes/controller/Controller.php]165. // setMedia MUST be called before postProcess166. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className)))167. $this->setMedia();168. 169. // postProcess handles ajaxProcess170. $this->postProcess();171. 172. if (!empty($this->redirect_after))173. $this->redirect();174. 175. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) ControllerCore->run - [line 373 - classes/Dispatcher.php]367. // Execute hook dispatcher368. if (isset($params_hook_action_dispatcher))369. Hook::exec('actionDispatcher', $params_hook_action_dispatcher);370. 371. // Running controller372. $controller->run();373. }374. catch (PrestaShopException $e)375. {376. $e->displayMessage();377. } DispatcherCore->dispatch - [line 28 - index.php]22. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)23. * International Registered Trademark & Property of PrestaShop SA24. */25. 26. require(dirname(__FILE__).'/config/config.inc.php');27. Dispatcher::getInstance()->dispatch(); I'm not sure if these require changing or whether I need to set up something else within the modules in order to trigger the right arguements and values.
  8. Great thanks very much. I've figured it out and have been able to install the module. I have set-up a cash on collection payment but still get a 500 Error when I get as far as the confirmation step. I was getting the same for COD and I thought that this solution might circumvent the problem. Any ideas where I should be looking for the error?
  9. Thanks Vekia, Please excuse my ingornace, but how do you unpack it? I can't see that I have the option to do that in my FTP client. Should I simply upload each of the underlying component parts that are contained within the zip file? Or is there a smarter way that I'm missing? Sorry about this, but I am starting from a level with very little knowledge, albeit I'm learning fast.
  10. Okay, I've managed to donwload the Universalpay file into my FTP file list and have changed the permissions. Do I need to do something to unzip the content of the file. At the moment I can only see the file but not the underlying components and as such it still doesn't appear in the Modules section of Back Office. I am running version 1.06.09 and I have also disabled Email alerts....any help?
  11. Thanks again, is there perhaps an easier way to resolve this such as simply uploading the universalpay module and then setting up a cash payment option? If so, how do you upload the module? I have tried but can't seem to get it to show. I think I need a step-by-step guide how to do so as I'm really a bit out of my comfort zone here....
  12. Hi there, Thanks for replying. This was somethign that I read on one of the other posts that apprently permissions should be changed for all file extensions so as to provide better protection against hackers. It apparently also eliminates the 500 error that I cam receiving when I try to confirm a Cash on Delivery order. My hosting site is Hoststar and I have full FTP and PHP access, but if I am brutally honest I am completely clueless as to how these actually work and how to find what I am looking for. If I run perl debugger on the configuration file it gives me a message stating that my files have the 777 extension but I don't know how to change this. As I mentioned, I tried to upload the Universalpay module but without success. Are you saying that I should install filezilla in order to be able to change the component parts of a zip file before I upload it to Prestashop? I have spent a few hours going in circles, but suspect that it is prbably easier than it appears to be!
  13. As a total novice at this, I need to change the permissions on my files from 777 to 755 in order to eliminate a FTTP 500 Error message when using the Cash on Delivery Option. I have absolutely no idea where to find these files in order to make the changes, or indeed how to change them, please can someone help? I have tried installing the Universalpay module in order to circumvent this, but despite changing the name of the Zip file I still cannot see it in the modules to install. I have read about changing the name of the file within the zip file but cannot work out how to do this. Any help would be appreciated!
  14. I need some help. I've not used the ASM check and have set up all of my stock as manual. I have set up 3 different carrier options and have tried checking All Countries on the Carriers set-up. When I select a product it states free shipping and won't let me select a carrier at check-out. I'm not getting anywhere fast!
×
×
  • Create New...