kamila992 Posted February 9, 2015 Share Posted February 9, 2015 (edited) Hello everyone, This is my first post here, just starting to work with prestashop. At the outset, I have a big problem that I can not solve. When I throw the product to the basket and I click "Check out" page do not load , jumps: 500 internal server error. I turned on debug and now I see: Fatal error: Class 'ParentOrderController' not found in /sklep/controllers/front/OrderController.php on line 29 Have any of you had a similar problem and knows how to fix it? I tried to clean the cache folder, disable friendly URL, delete the .htaccess, nothing helped ... php version 5.2 prestashop 1.6 not yet changed my domain, my shop address http://serwer1425423.home.pl/sklep Please help ... Kamila Edited February 9, 2015 by kamila992 (see edit history) Link to comment Share on other sites More sharing options...
tuk66 Posted February 9, 2015 Share Posted February 9, 2015 Do you have /controllers/front/ParentOrderController.php file on your server? Link to comment Share on other sites More sharing options...
kamila992 Posted February 9, 2015 Author Share Posted February 9, 2015 (edited) Sorry, Yes I have but it;s empty... Edited February 9, 2015 by kamila992 (see edit history) Link to comment Share on other sites More sharing options...
tuk66 Posted February 9, 2015 Share Posted February 9, 2015 Can you post the long version of the error? What is your PrestaShop version? Link to comment Share on other sites More sharing options...
helldog2004 Posted February 9, 2015 Share Posted February 9, 2015 If you open the file: /sklep/controllers/front/OrderController.php Are you sure that the path on line 29 is correct to get ParentOrderController? Can you upload the file: /OrderController.php (This time place it between code, the above code is barely readable, or else upload the complete file) Link to comment Share on other sites More sharing options...
kamila992 Posted February 9, 2015 Author Share Posted February 9, 2015 tuk66 Fatal error: Class 'ParentOrderController' not found in /sklep/controllers/front/OrderController.php on line 27 It's full error text. prestashop 1.6 helldog2004 Unfortunately, I'm sure of is exactly ParentOrderController I attach my file OrderController.php OrderController.php Link to comment Share on other sites More sharing options...
tuk66 Posted February 9, 2015 Share Posted February 9, 2015 OK. There are more 1.6 versions and each is slightly different with its own problems. Link to comment Share on other sites More sharing options...
kamila992 Posted February 9, 2015 Author Share Posted February 9, 2015 Ok, sorry my version is 1.6.0.11 Link to comment Share on other sites More sharing options...
helldog2004 Posted February 9, 2015 Share Posted February 9, 2015 This is just a try, but before class OrderControllerCore extends ParentOrderController add the following code: ControllerFactory::includeController('ParentOrderController'); Let me know if this is doing anything. Link to comment Share on other sites More sharing options...
helldog2004 Posted February 9, 2015 Share Posted February 9, 2015 Can you attach your ParentOrdercontroller again? Link to comment Share on other sites More sharing options...
kamila992 Posted February 9, 2015 Author Share Posted February 9, 2015 When I add this code error change to: Warning: require_once(/sklep/controllers/ParentOrderController.php) [function.require-once]: failed to open stream: No such file or directory in /sklep/classes/ControllerFactory.php on line 43Fatal error: require_once() [function.require]: Failed opening required '/sklep/controllers/ParentOrderController.php' (include_path='/sklep/tools/htmlpurifier/standalone:.:/:/usr/local/php/pear5') in/sklep/classes/ControllerFactory.php on line 43 Unfortunately I can't upload my ParentOrderController.php because the file weighs is 0kb it's pretty empty Link to comment Share on other sites More sharing options...
helldog2004 Posted February 9, 2015 Share Posted February 9, 2015 Maybe you can upload a new Parentordercontroller or just download this one and upload it to FTP. Let us know if this solved something. Link to comment Share on other sites More sharing options...
kamila992 Posted February 9, 2015 Author Share Posted February 9, 2015 I just did it Unfortunately also did not help... No idea what to do next Link to comment Share on other sites More sharing options...
helldog2004 Posted February 9, 2015 Share Posted February 9, 2015 Do you have an error log or something like it? And did you install PayPal module on website? If so, check this forum page: https://www.prestashop.com/forums/topic/176605-paypal-500-internal-server-error-help-i-spent-10-hours-on-this/ Link to comment Share on other sites More sharing options...
kamila992 Posted February 9, 2015 Author Share Posted February 9, 2015 I don't installed the paypal module. In the configuration information I have a list of changed or missing files, is there until 272 positions ... Most of them are index.php files . On the server this files weighs slightly less than in the original folder PrestaShop. However, when I try to overwrite the original their weight has not changed and they are still on the list of modified or missing files. I managed to overwrite only 3 files but Check out is still not working. Maybe I should re-install PrestaShop? Could it be the fault of hosting? And how can I copy the products database for not have to make the products base from the beginning? Link to comment Share on other sites More sharing options...
helldog2004 Posted February 9, 2015 Share Posted February 9, 2015 What php version is your hosting using? Link to comment Share on other sites More sharing options...
kamila992 Posted February 9, 2015 Author Share Posted February 9, 2015 my php version is 5.2 I can change only for 5.3 version but it but it does not help 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