BarryJ Posted February 7, 2015 Share Posted February 7, 2015 I am new to Presta Shop so it might be that I have made a very fundemental error when setting up. When I save a new product or ammend an existing product I get this error message : Tab : Shipping (500)A server error occurred while loading the tabs: some tabs could not be loaded. It doesn't seem to affect functionality but is annoying to have to keep cancelling the error box. I am assuming that the error relates to the set up of my Shipping however I have left this at the default settings at the moment as I have yet to get shipping options from my company. I am setting this copy of Presta Shop up as a proof of concept idea for my colleagues and therefore it is unlikely to ever be used in this format, however I would rather demonstrate something that I understand and works as it should. Thank you anyone for your advice. Link to comment Share on other sites More sharing options...
El Patron Posted February 7, 2015 Share Posted February 7, 2015 if you search, I prefer google, then you would find how to determine the underlying error, i.e. 500 is general error, you need to turn on prestashop error reporting to get the exact php error...then you can search on that error. If you are doing proof of concept, make sure you get better understanding of being a webmaster. tools man, tools...this is top result on google search 'prestashop 500' https://www.prestashop.com/blog/en/the-500-internal-server-error-explained-solved/ Link to comment Share on other sites More sharing options...
Alexandra-Ionela Posted September 9, 2015 Share Posted September 9, 2015 Hello BarryJ! Did you solve the problem with the "Tab : Shipping (500)" error ?I have the same problem. Link to comment Share on other sites More sharing options...
Alexandra-Ionela Posted September 14, 2015 Share Posted September 14, 2015 Hello again! After I get this error (Tab: Shipping (500) A server error occurred while loading the tabs: some tabs could not be loaded) I turned on PrestaShop error reporting to get the exact php error and it gives me this: Can someone help me please? Thank you in advance! Link to comment Share on other sites More sharing options...
musicmaster Posted September 21, 2015 Share Posted September 21, 2015 I got the error too and did some searching: - the error is generated by the function setRootCategory() in the file HelperTreeCategories.php. - this function is called by the function initFormAssociations() in the file AdminProductsController.php - this gets its value from getRootCategory() in the file classes\Category.php; - In that function there were the following relevant statements (simplified): $shop = $context->shop; $category = $shop->getCategory() In my case it turned out that in the table ps_shop the shop had a non-existing root category. Debugging this is rather funny. When you put a die() statement in one of those functions the product page will still load completely. Only when you select the "Assocations" tab will you see the results of your die() statement. Link to comment Share on other sites More sharing options...
Alexandra-Ionela Posted September 21, 2015 Share Posted September 21, 2015 (edited) Thank you musicmaster! OK, so, you are saying that this is the solution for solving this error. Could you tell me please, how do I make these changes step by step (and where to go to make these changes)? Thank you again. I was thinking to reinstall everything from scratch... Edited September 21, 2015 by Alexandra-Ionela (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted September 21, 2015 Share Posted September 21, 2015 I offered only one solution and that requires changes to the database with Phpmyadmin. If you are not familiar with that program, you don't want to invest time to learn it and you don't know anybody in your neighborhood who could guide you in it than I believe that reinstalling may be your best option. Link to comment Share on other sites More sharing options...
Alexandra-Ionela Posted October 1, 2015 Share Posted October 1, 2015 Hello! I apologize for the delay. Regarding PHPMyAdmin and databases, I have only some basic knowledge. If you think this is not enough for me, to make these changes on my own, I believe I will follow your advice to reinstall everything from scratch. Thank you! Link to comment Share on other sites More sharing options...
wisdomp10 Posted March 30, 2016 Share Posted March 30, 2016 Kindly watch this for solution: https://youtu.be/uopMo3ALMzc 2 Link to comment Share on other sites More sharing options...
ditsa Posted April 6, 2016 Share Posted April 6, 2016 thank you wisdomp10! our solution worked for me! Link to comment Share on other sites More sharing options...
ctcamp Posted September 27, 2016 Share Posted September 27, 2016 Kindly watch this for solution: https://youtu.be/uopMo3ALMzc Thank you, this also helped me, however, the Product Edit Page, still takes long to load, even so, thank you. i had to reload the website twice before your post helped me. 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