Jump to content

Shop crashes when I try to delete unwanted Categoryquantitydiscount module


Recommended Posts

We tried out the Categoryquantitydiscount module, but it was not for us. I uninstalled it in BO, fine. When I came to tidy things up and use the delete option in the Module setup page in BO for the unwanted module, the shop crashes giving only this as the HTML code for the page if you have something in the basket:

 

 

<!-- Block user information module HEADER -->
<div id="header_user" >
    <ul id="header_nav">
                <li id="shopping_cart">
            <a href="http://test.martelldesigns.co.uk/order" title="View my basket" rel="nofollow">Basket
            <span class="ajax_cart_quantity">2</span>
            <span class="ajax_cart_product_txt hidden">Product</span>
            <span class="ajax_cart_product_txt_s">Products</span>
            <span class="ajax_cart_total">
 
If on the other hand, I do the deletion when the basket is empty, the shop appears to work OK to start with, but as soon as you try to go to a product page, you get a completely blank page.
 
I have confirmed by trial and error that it is removing the categoryquantitydiscount.php file or the PrestoChangeoClasses directory that causes the problem, so with the module "uninstalled" I have to keep these supposedly unused files in place to make the shop work. I thought that modules only augmented the main code and were not supposed to alter the code such that the modules absence causes a problem.
 
The same problem occurs on both my live shop (shop.martelldesigns.co.uk) and the test setup (test.martelldesigns.co.uk). I have left categoryquantitydiscount.php renamed as categoryquantitydiscount_.php on the test shop (and the module uninstalled in BO) so that you can see behaviour.
 
The only error that I can find in the server logs is an internal server 500 error, but it does not given enough detail to see which prestashop file it is failing on.
 
Can anyone suggest what to look for?
 
Peter

 

Link to comment
Share on other sites

  • 2 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...