Jump to content

Shipping modules won't install


Recommended Posts

Do other modules install and only those three fail?Try temporarily turning on the error reporting. Find the file /config/config.inc.php, change

 

@ini_set('display_errors', 'off');
define('_PS_DEBUG_SQL_', false);

to

 

@ini_set('display_errors', 'on');
define('_PS_DEBUG_SQL_', true);

 

visit the Back Office > Modules and try to install again. Are there any errors displayed? Also check the server log for any PHP restriction related errors that may have been logged during install attempt.

Link to comment
Share on other sites

I did the edit now modules tab won't open and I get this error message;

 

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 122880 bytes) in /home3/agunfouy/public_html/classes/Module.php(551) : eval()'d code on line 1190

Link to comment
Share on other sites

Looks like it is the PHP's memory limit. increase it, also, delete all modules you know you won't use (you can always get them back from the installation zip). If any of them is installed and disabled, first uninstall them. Remember to revert the settings you changed.

Link to comment
Share on other sites

Thanks for your help, now I get this error message when I try to install UPS;

Duplicate entry 'United States Domestic Shipments' for key 'name'

 

INSERT INTO `ps_ups_rate_service_group` (`name`) VALUES

('United States Domestic Shipments'),

('Shipments Originating in United States'),

('Shipments Originating in Puerto Rico'),

('Shipments Originating in Canada'),

('Shipments Originating in Mexico'),

('Polish Domestic Shipments'),

('Shipments Originating in the European Union'),

('Shipments Originating in Other Countries');

Link to comment
Share on other sites

This error should not happen. Maybe there are some left over tables from a previous failed install. First make sure the module is not installed. Then check your DB, if any of the following tables exists, drop them, confirming when prompted:

 

prefix_ups_rate_service_group

prefix_ups_rate_service_code

prefix_ups_cache

prefix_ups_cache_test

prefix_ups_rate_config

prefix_ups_rate_config_service

 

Try installing the module again.

Link to comment
Share on other sites

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...