stopshop Posted October 29, 2008 Share Posted October 29, 2008 HiI've got a problem that I can't seem to find the solution for.Since yesterday (in my back office), when I click on "Modules" or "Payment", both pages open but the contents are missing. Where before the modules and payment page would show the available options, now there is nothing.The modules page does not show all the modules inside (Stats, Advertisement, Home, Products, Tools etc.. all missing).If I select the Positions tab within the Modules page, it shows the Positions page correctly.The Payment page is exactly the same.If I click on the Payment page it does not shoe the different payment options as before but if I click on Currencies, Taxes & Discounts, these pages open/work correctly.Can someone please help me with this problem?Thanks in advance. Link to comment Share on other sites More sharing options...
nerdygurl Posted October 29, 2008 Share Posted October 29, 2008 Are all your modules in your modules directory when you look at your files??? are the modules showing on your store front? Link to comment Share on other sites More sharing options...
stopshop Posted October 29, 2008 Author Share Posted October 29, 2008 Thank you for the quick reply.Indeed they are, all modules are in the module folder as well as working in the store front.Thanks Link to comment Share on other sites More sharing options...
Paul C Posted October 29, 2008 Share Posted October 29, 2008 I've had this when developing payment modules... and it's usually due to an error in the module's back office code that causes it! I would suggest completely removing the payment modules one-by one to (i.e. delete the each module directory in the /modules subdirectory) to see which is causing the problem.Paul Link to comment Share on other sites More sharing options...
stopshop Posted October 29, 2008 Author Share Posted October 29, 2008 Thanks for the suggestion.Should I delete all modules in the modules file then re-upload them one by one ?I presume I should disable the store when I try this, correct?Thanks in advance Link to comment Share on other sites More sharing options...
Paul C Posted October 29, 2008 Share Posted October 29, 2008 It seems that it's a payment module that's causing the problem (from what you've said) so I would only delete those. You can disable the store while you do this, yes. Unfortunately due to the error you can't uninstall them first, which would have been nice!As always it's prudent to take a backup of the database etc. just in case, although it's unlikely to do any harm.....Paul Link to comment Share on other sites More sharing options...
stopshop Posted October 29, 2008 Author Share Posted October 29, 2008 Thanks, will definitely do this at a quieter hour (early morning) as to not disturb visitors.One question though, I'm only using "bankwire" as payment method, all other payment modules are uninstalled.I am still receiving orders, which seem to be working fine.In your opinion, do you still think that the problem could be a payment module (in this case bankwire)?Thanks in advance Link to comment Share on other sites More sharing options...
Paul C Posted October 29, 2008 Share Posted October 29, 2008 If that is the case, then there's no harm in deleting the unused payment modules, as they won't affect your store at all.If only the bankwire module is left, and you still have the problem, then it may be a problem with that. It could be an unrelated problem; although you seem to describe symptoms that would indicate that when the back office tries access the payment modules an error occurs.Note that they do not necessarily have to be installed to generate an error, just present in the modules directory....Paul Link to comment Share on other sites More sharing options...
stopshop Posted October 29, 2008 Author Share Posted October 29, 2008 Thanks Paul, I'll follow your suggestion (many thanks) and post the results.Thank you once again Link to comment Share on other sites More sharing options...
stopshop Posted October 30, 2008 Author Share Posted October 30, 2008 HiI deleted all modules within the "modules" folder and started uploading one by one.As I went along, I tested he result in the back-end (it worked)!The problem was actually a folder named currency, that I have no idea how it ended up in the modules folder.I left that one out and the problem was solved (many thanks).I have one last question, I'm getting a strange error when (in the front-end) I'm logged in as a customer and click on "History and details of your orders". I get the following error:Fatal error: Call to undefined method Order::isVirtual() in /home/perfectc/public_html/shop/history.php on line 23Any ideas on this ?Thanks in advance Link to comment Share on other sites More sharing options...
Paul C Posted October 30, 2008 Share Posted October 30, 2008 I would re-upload the 1.0 release code to your store. It looks like there are a few corrupted files in there that are causing these errors.Paul Link to comment Share on other sites More sharing options...
stopshop Posted October 30, 2008 Author Share Posted October 30, 2008 Do you mean re-upload the code and products as well ? Link to comment Share on other sites More sharing options...
Paul C Posted October 30, 2008 Share Posted October 30, 2008 No just re-upload the prestashop 1.0 CODE; so don't upload the /img /mail and /translations folders not the /install folder.Looking at it the other way around... only upload the /admin, /classes, /js, /modules and /tools folders.Paul Link to comment Share on other sites More sharing options...
Recommended Posts