Jump to content

Can I change module hooks via a CSS file?


Recommended Posts

Css does not have any thing to do with hooks, so the answer is no.

 

If your modules page is not displaying correctly it is because there is an error in a module that is in your modules folder on the server.

 

Try editing the file config/config.inc.php and changing @ini_set('display_errors', 'off'); to on. That should tell you which module has the error, so that you can either 1. fix it 2 remove it from the server.

Link to comment
Share on other sites

if you dont know how to turn on error reporting read tutorial about it: how to turn on error reporting in prestashop you can also check error logs in your apache server (of course if you have an access to it). So, do exactly as jhnstcks said, remove the module with error and after you will be able to get module list

Edited by vekia (see edit history)
Link to comment
Share on other sites

Css does not have any thing to do with hooks, so the answer is no.

 

If your modules page is not displaying correctly it is because there is an error in a module that is in your modules folder on the server.

 

Try editing the file config/config.inc.php and changing @ini_set('display_errors', 'off'); to on. That should tell you which module has the error, so that you can either 1. fix it 2 remove it from the server.

 

Thanks for you reply, I have just turned the display errors to on.

I have tried going to the missing modules/positions page but could not see an error.

Where should I go to find this information to identify the module to remove?

 

Thanks, Mike

Link to comment
Share on other sites

Thanks for you reply, I have just turned the display errors to on.

I have tried going to the missing modules/positions page but could not see an error.

Where should I go to find this information to identify the module to remove?

 

Thanks, Mike

 

set other value of display_errors param, "ON" is wrong!

Edited by vekia (see edit history)
Link to comment
Share on other sites

set other value of display_errors param, "ON" is wrong!

 

Thanks for your reply.

 

Below is the line I changed as per jhnstcks instructions.

Is this correct and where should I go to locate the problem module?

 

@ini_set('display_errors', 'ON');

 

Thanks, Mike

Link to comment
Share on other sites

Thanks for your reply.

 

Below is the line I changed as per jhnstcks instructions.

Is this correct and where should I go to locate the problem module?

 

@ini_set('display_errors', 'ON');

 

Thanks, Mike

 

turn it to E_ALL exactly as I said in my tutorial:

@ini_set('display_errors', 'E_ALL');

next go to module tab in back office and you will get lists of errors / notices / warnings

Link to comment
Share on other sites

turn it to E_ALL exactly as I said in my tutorial:

@ini_set('display_errors', 'E_ALL');

next go to module tab in back office and you will get lists of errors / notices / warnings

 

I have entered the above as per your instructions.

When I go to the modules tab it is not coming up with any error message

also the same when I try the missing modules/position page.

Where should I see the error message?

 

Thanks, Mike

Link to comment
Share on other sites

In the blank area of the page, where the content would normally be.

 

Have you installed any custom modules, also what version of Prestashop are you using?

 

 

I'm using prestashop 1.4.9.0 and don't have any custom modules.

I have had this problem for a few months and recently deleted any third party modules

not being used by FTP but it still didn't fix the problem.

Link to comment
Share on other sites

×
×
  • Create New...