aandk Posted March 19, 2013 Share Posted March 19, 2013 (edited) Hi guys... I am trying to understand why I see 500 Internal Error The server encountered an internal error and could not complete your request. after confirming payment ( wire transfer) or just after klicking on Paypal,) choosing przelewy 24 module ( specially made for prestashop in poland ) create 404 page .... support of that last module told me that something is wrong with reaching address www because of /pl/ ... which is result of multilang.... what might b wrong??? I do not Use ssl for the site... is that a reason? Edited March 19, 2013 by aandk (see edit history) Link to comment Share on other sites More sharing options...
benjamin utterback Posted March 19, 2013 Share Posted March 19, 2013 Hi aandk, SSL migt be a problem, however that would be an answer that the developer of the module has. Check this thread out, http://www.prestashop.com/forums/topic/224525-how-to-get-debug-information-for-500-error-or-blank-page/ Link to comment Share on other sites More sharing options...
aandk Posted March 19, 2013 Author Share Posted March 19, 2013 (edited) THX a lot at least I can show error message more precise error is [PrestaShopException] Property OrderDetail->id_warehouse is empty at line 837 in file classes/ObjectModel.php 831. 832. $message = $this->validateField($field, $this->$field); 833. if ($message !== true) 834. { 835. if ($die) 836. throw new PrestaShopException($message); 837. return $error_return ? $message : false; 838. } 839. } 840. 841. return true; ObjectModelCore->validateFields - [line 264 - classes/ObjectModel.php] - [0 Argument] ObjectModelCore->getFields - [line 464 - classes/ObjectModel.php] - [0 Argument] ObjectModelCore->add - [line 426 - classes/ObjectModel.php] - [2 Arguments] ObjectModelCore->save - [line 579 - classes/order/OrderDetail.php] - [0 Argument] OrderDetailCore->create - [line 603 - classes/order/OrderDetail.php] - [7 Arguments] OrderDetailCore->createList - [line 283 - classes/PaymentModule.php] - [7 Arguments] PaymentModuleCore->validateOrder - [line 64 - modules/bankwire/controllers/front/validation.php] - [9 Arguments] BankwireValidationModuleFrontController->postProcess - [line 158 - classes/controller/Controller.php] - [0 Argument] ControllerCore->run - [line 348 - classes/Dispatcher.php] - [0 Argument] DispatcherCore->dispatch - [line 28 - index.php] - [0 Argument] Edited March 19, 2013 by aandk (see edit history) Link to comment Share on other sites More sharing options...
tomerg3 Posted March 19, 2013 Share Posted March 19, 2013 What version of PS are you using? Did you upgrade from a previous version, or was it a clean install? You can try to install PS 1.5.3.1 in a new folder on your server (completely separate from the current installation), and try it there, if the error is gone, the issue is with your current Prestashop installation. Link to comment Share on other sites More sharing options...
aandk Posted March 19, 2013 Author Share Posted March 19, 2013 clean install of 1.5.3.1 and it is virtual product ... why it drive me to warehouse? Link to comment Share on other sites More sharing options...
tomerg3 Posted March 19, 2013 Share Posted March 19, 2013 Did you enable multishop / advanced stock management? Does this happen with every product? Link to comment Share on other sites More sharing options...
aandk Posted March 19, 2013 Author Share Posted March 19, 2013 it happens with every product ( please feel free to check ) www.aandkshop.pl I am jest checking if I enable multi shop - I really do not need it Link to comment Share on other sites More sharing options...
aandk Posted March 19, 2013 Author Share Posted March 19, 2013 OK multi shop is ( and) was disable, I also turned off stock management at all - same situation with different products ( I got virtual so far)... wire tranfer after confirm payment shows error msg shown above, paypal create other type message: Malformed header from CGI script: * About to connect() to api-3t.paypal.com port 443 (#0) * Trying 173.0.84.69... * connected * Connected to api-3t.paypal.com (173.0.84.69) port 443 (#0) * successfully set certificate verify locations: * CAfile: /etc/ssl/certs/ca-certificates.crt CApath: none * SSL connection using DES-CBC3-SHA * Server certificate: * subject: C=US; ST=California; L=San Jose; O=PayPal, Inc.; OU=PayPal Production; CN=api-3t.paypal.com * start date: 2012-07-19 00:00:00 GMT * expire date: 2013-09-18 23:59:59 GMT * issuer: C=US; O=VeriSign, Inc.; OU=VeriSign Trust Network; OU=Terms of use at https://www.verisign.com/rpa ©09; CN=VeriSign Class 3 Secure Server CA - G2 * SSL certificate verify ok. > POST /nvp HTTP/1.1 Host: api-3t.paypal.com Accept: */* Content-Length: 900 Content-Type: application/x-www-form-urlencoded * upload completely sent off: 900 out of 900 bytes < HTTP/1.1 200 OK < Date: Tue, 19 Mar 2013 19:21:56 GMT < Server: Apache < Content-Length: 131 < Connection: close < Content-Type: text/plain; charset=utf-8 < * Closing connection #0 Status: 302 Content-Type: text/html; charset=utf-8 Location: https://www.paypal.com/websc&cmd=_express-checkout&token=EC-60N390009R042340C Set-Cookie: 3f99a2f33f7744ef0eca694ec6b1a644=KEcCgz29axrO2MoKxj5%2FouMFLYDw%2FuTEuvQxdl4seTpb7qT9ZCkiLIVHHldCgsqlZUcYcSQj8BbhqwOmjd6L3P8fvJDAlcwVI%2Fv1WevKYP0DAcYJWazqg8op6G0cFFl8i3z3skWPLF4CFmJKr%2F9n6iqbBLkVlXd9Ti%2F%2Fl5Zm%2FCxl5hjBU8wHB00DNgeUlF7ZazzJV8d0Zi7oxuMUdjJ%2BZvarblkploEkwsnSGMDS%2FbB8F5U7LKJ%2BvP09S4DV%2BPBQxm0HXua%2BgM9JcP8LC261ORQfsZvh%2FJBqwlhqfhFu3Fub%2BThGdY0%2BKvA%2BwArVDClnOjIlp7RA32jaiEG0LX8CH1fvFXgQjhhO825VauI2uqSMQGI8apYbSkcWUqbtnVXSjRgMhfMVOnjEuejfyFohGeq62GZ86Oi49x%2Bti%2FI2OhdHmjTxMXVkmT2v0hPgd0qq9DpGSmv7jtKFSTT%2BMw8qWMIsY82tMgYHIfVx4X%2B9LMave3swu4ZQ9hsaM%2FqCHna5GUaxg4pc4uttxtlWE%2BRnt7rYGWCgI4k3fDpGrtfVo%2FUWQDRPIgatCH4rW9zrTdBGi6XacEoPRKKZ8trhvj2oVPTQoR%2BJugIqO1RRJHA9QhglRPP8CHO7fNrqaFark2VMy%2By7BCYWDpJTxd6YXeXkrqQzC3Uzjj%2FNk2U8E37cQKITUTlFzuxpRMM6ETgIdNg%2FGGkrPFAQUlkkHok3UDKp94got0hVRpKs%2BdXErEKX8bWnCFVUi1T1f4vyt3l8Jp%2FS8Dh1O8S6EcUj0h60CM8idi0tkA%2FEYgOOg4S6iM2HQfs4BYKBuHf3Mb9NZjvmU191000620; expires=Mon, 08-Apr-2013 19:21:55 GMT; path=/; domain=www.aandkshop.pl; httponly Link to comment Share on other sites More sharing options...
aandk Posted March 19, 2013 Author Share Posted March 19, 2013 polish payment module ( przelewy 24) shows Page not available We're sorry, but the Web address you entered is no longer available To find a product, please type its name in the field below Link to comment Share on other sites More sharing options...
aandk Posted March 19, 2013 Author Share Posted March 19, 2013 (edited) OK I am on the way of installing separate PS and I see same troubles: 1 while I use virtual product and 5 step ordering it shows: There is 1 error There are no carriers that deliver to the address you selected. what carrier it is downloadable... shpuld I start separate topic for it? or it might be solved here? after switching to one page order I see no carrier need but I can not evet finish payment TECHNICAL ERROR: unable to confirm the order Details: Error thrown: [object Object] Text status: error Edited March 19, 2013 by aandk (see edit history) Link to comment Share on other sites More sharing options...
benjamin utterback Posted March 19, 2013 Share Posted March 19, 2013 Hi aandk, for your situation in which you are not shipping any goods you can 1) Disable all carriers 2) Create new carrier for all zones, with FREE shipping 3) Set up price AND weight range of 0-99999 4) Enable the Carrier and set it to default. See if that solves that issue. Link to comment Share on other sites More sharing options...
tomerg3 Posted March 19, 2013 Share Posted March 19, 2013 I am not quite sure what it could be. Other than trying to do a fresh install, I have no other suggestions without actually debugging it on your server. Link to comment Share on other sites More sharing options...
aandk Posted March 19, 2013 Author Share Posted March 19, 2013 Guys I am really appreciate for your help no matter if it will solve or not the problem, ..... anyway I really want to solve it fresh instalation is here http://www.aandk1.home.pl/shop/ I only use test file which is for 0 $ or what ever and i am trying to buy it.... this time I can not even see the payments options on front page... @Benjamin Utterback I did similar in old instalation ... nothing , anyway I am going to sell some physical item in future I just starting from Virtual... one page list could be OK if it will work... strange is that on 5 step wersion PS needs carrier for it but on one page version not Link to comment Share on other sites More sharing options...
aandk Posted March 19, 2013 Author Share Posted March 19, 2013 hm... is it possible that i miss something very simple in general configuration... something what might be ridiculouse for you but not for me as beginner.... after installing ( second time - so I did skip store data etc...) I jusd added product - i set it to Virtual, I did upload file associatedi to product , I set price to zero, ... strange thing - system asked me about avaliable amount of product( come on it is downloadable I set to 9999 just in case I set limit to 3 download , valid for 5 days...I installed przelewy 24 module for payment and set it avaliable for poland where I am actually... should it already work? Link to comment Share on other sites More sharing options...
benjamin utterback Posted March 19, 2013 Share Posted March 19, 2013 I think you should do a fresh installation without installing any third party modules and see if it works. Link to comment Share on other sites More sharing options...
aandk Posted March 19, 2013 Author Share Posted March 19, 2013 (edited) OK no 3rd party modules - I ve uninstalled it but wire transfer does no work also.... and paypal ( which is in pack of instalation of Ps has comment: This module is offered by PayPal, it is already integrated into version 1.4 of PrestaShop. Download it for free for version 1.3 does it mean that it will work on my 1.5.3.1 version? I ve already checked bank wire module once again _ I can not see it optiopns on front sit but after clickin I Confirm my Order i can see TECHNICAL ERROR: unable to confirm the order Details: Error thrown: [object Object] Text status: error Edited March 19, 2013 by aandk (see edit history) Link to comment Share on other sites More sharing options...
benjamin utterback Posted March 19, 2013 Share Posted March 19, 2013 Hi aandk, for testing purposes, it is better to do a fresh install and not install the 3rd party module to begin with. There are times that even disabling or uninstalling a third party module is not enough, as some things might have changed. The problem is coming from your store, I'm not sure if it's a localization issue/ server issue/ or configuration issue. Link to comment Share on other sites More sharing options...
benjamin utterback Posted March 19, 2013 Share Posted March 19, 2013 Let's not install other modules, we need to find out if the default package is going to work for your purposes. It should, it does for mine. Link to comment Share on other sites More sharing options...
aandk Posted March 19, 2013 Author Share Posted March 19, 2013 OK no other modules i fresh installed package and i believe it should work!!! btw I really like PS as i saw it and really want to use it as for now I changed config.ini.php from false to true ( that line for reporting error in details) and nothing ha[[ens at all after clicking I confirm my ... Link to comment Share on other sites More sharing options...
benjamin utterback Posted March 19, 2013 Share Posted March 19, 2013 Hi, the options I have are pay by cheque. I can confirm my order with that, did cheque work for you? Link to comment Share on other sites More sharing options...
aandk Posted March 19, 2013 Author Share Posted March 19, 2013 something is really wrong here... I can not even see the option lika on old instalation.... so the answer is - no check does not work... in real time I am not goung to use check here BTW Link to comment Share on other sites More sharing options...
benjamin utterback Posted March 19, 2013 Share Posted March 19, 2013 So, now you have a fresh installation/clear database with no third party modules installed and you have NO payment options? That is strange indeed. Link to comment Share on other sites More sharing options...
aandk Posted March 19, 2013 Author Share Posted March 19, 2013 my old instalation is here www.aandkshop.pl .. payment options are avaliable, but at last step they do not work new instalation can not even show me the options so... may be with new instalation there was some problems ... more then with old??? OK I'll make another one in new mySQL Link to comment Share on other sites More sharing options...
benjamin utterback Posted March 19, 2013 Share Posted March 19, 2013 Yes, if you installed a new installation on the same or duplicate database, then something may have went wrong there. Make sure the database is clean. When we started this thread you could not confirm a cheque order. Let's make sure that is working first. Link to comment Share on other sites More sharing options...
aandk Posted March 19, 2013 Author Share Posted March 19, 2013 (edited) OK I am installing now PS 1.5.3.1 in new database on my server Edited March 19, 2013 by aandk (see edit history) Link to comment Share on other sites More sharing options...
aandk Posted March 19, 2013 Author Share Posted March 19, 2013 It took a while because of uploading..... PS 1.5.3.1, host https://home.pl/hosting#profesjonalny ( that red option new MySQL database installing in accordance to http://doc.prestashop.com/display/PS15/Installing+PrestaShop and reading every letter twice Link to comment Share on other sites More sharing options...
aandk Posted March 19, 2013 Author Share Posted March 19, 2013 Idea in general - to create shop for selling virtual products and some physical products, multilang. multicurrebcy I am going to make it work for virtual products i a way that client will chose product, pay and will get download link immediatelly I am goin to use Przelewy 24 ( polish ) module for prestashop1.5.3 mainly, and Paypal additionally I WILL NOT install those two before PS will start work in right way Link to comment Share on other sites More sharing options...
aandk Posted March 19, 2013 Author Share Posted March 19, 2013 first warning while installing At least one table with same prefix was already found, please change your prefix or drop your database strange.... there is older instalation in Separate DB - with different name but might be same prefix - so I change prefix Link to comment Share on other sites More sharing options...
aandk Posted March 19, 2013 Author Share Posted March 19, 2013 OK first thing I ve missed - to deactivate PHP magic quotes.. but PS did insta;lll.... so should I re install againg or can I leave it like it is? Link to comment Share on other sites More sharing options...
aandk Posted March 19, 2013 Author Share Posted March 19, 2013 I did deactivating php magoic quotes..... i set test product so.. results are: 500 Internal Error The server encountered an internal error and could not complete your request. for confirming wire transfer payment... but when I try to delete cart ( I allowed guests to do shopping) see address inwalid... why???? Link to comment Share on other sites More sharing options...
El Patron Posted March 19, 2013 Share Posted March 19, 2013 (edited) fix for the error can be found here: (Property OrderDetail->id_warehouse is empty) https://github.com/P...786b64fb0c999c6 Edited March 19, 2013 by elpatron (see edit history) 1 Link to comment Share on other sites More sharing options...
aandk Posted March 20, 2013 Author Share Posted March 20, 2013 elpatron!!!!!! You Are Genius !!!!!!! at least wire transfer works!!! - I mean shows my account data ... first step done what should I do for make another payments work? I mean Paypal and przelewy 24? Link to comment Share on other sites More sharing options...
El Patron Posted March 20, 2013 Share Posted March 20, 2013 elpatron!!!!!! You Are Genius !!!!!!! at least wire transfer works!!! - I mean shows my account data ... first step done what should I do for make another payments work? I mean Paypal and przelewy 24? just test them... but don't use this post for questions about anything other than the original topic...best results is to search for similar issue or post new thread. Link to comment Share on other sites More sharing options...
aandk Posted March 20, 2013 Author Share Posted March 20, 2013 Hi guys the problem has partly solved - I mean at leas I know that PS works on my host with wire transfer module and for gift with virtual products anyway I am going to use paypal and przelewy 24 modules for payment which are made for automatic set of payment accepted or so - they do not works to not a double threads I ve started new topic as continuation of this here http://www.prestashop.com/forums/topic/233733-something-is-wrong-with-authomatic-payment-accepting-i-modules/#entry1149823 I would be appreciated for any help with making the option of that automatic setting work in them Link to comment Share on other sites More sharing options...
coolshot71 Posted March 27, 2013 Share Posted March 27, 2013 Hello, Not sure it mgiht help as it seems a slightly different problem. My issue was only with Paypal, i would get a 500 server error when completing the payment process (or in other words, when paypal redirected back with the succesful transaction) and once i activated the error feedbacks i discovered it had to do with order statuses. Well, after a few days of testing and after i understood that in Prestashop few items are "hard coded", like root category ID, i tried to install on a local wamp and copy the ps_order_state and ps_order_state_lang from the test mysql over to the "prodution" test. The difference, that solved the issue for me, was that i have a bidirectional replication setup and to avoid duplicate records i seed by 10 starting from 1 on the server A and 2 on server B. This results on autogenerated IDs spaced by 10 and not by 1, so instead of having id 1, id 2, id 3, etc, i'd have id 1, id 11, id 21, etc.. Well, looks like Prestashop doesn't like that once i restored those tables from a "standard" mysql installation, the payment started to work... I'd suggest PS development team to "hard code" record IDs that need to be "hard coded". Now i wonder if i'll face sooner or later any issue like this one. For example i have new customers that don't get assigned to a default group, and i wonder if it is for the same reason (because the default groups now have IDs 1, 11 and 21, but i guess usually they'd have 1,2,3..) Hope this help. S Link to comment Share on other sites More sharing options...
benjamin utterback Posted March 27, 2013 Share Posted March 27, 2013 Hello coolshot71, thank you for your recommendation and your story. I'm sure it will help other merchants who experience similar issues. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now