Jump to content

Admin category controller don't show changes


Recommended Posts

Hi guys, I'm trying to add some custom fields to categories in the back office, I did it one week ago but now I can't do it again, I know that it would be done overriding the AdminCategoriesController.php according to the good practices but for time reasons. I did it over the core one time and now I would want to do the same thing adding more fields but the problem is that AdminCategoriesController.php never changes its behavior, if I change the code putting php errors the controller loads the page with the same content, If I remove all the code (the archive with 0kb) nothing change only if I remove the archive or change its name then an obvious error is shown.

 

Please can you help me in some way ?

 

Regards

Link to comment
Share on other sites

Hi Nemo1, yes I did it but still the same situation (prestashop 1.5.6.1), I will try again.

Hi Vekia, you are right is very weird, I use a 1and1 hosting and I have done many prestashop sites without problems like this.

Do you have any other ideas ??? thanks very much for both guys, you are greats.

Regards

Link to comment
Share on other sites

More information, I have restored the involved archives (controllers/admin/AdminCategoriesController.php and classes/Category.php) and mmm.... the field added one week ago is still shown, unbelievable !!! are this files cached or what ? I have checked all about the cache and I have it disabled.

 

PLEASE SOME HELP !!!!!!

Link to comment
Share on other sites

Hi Vekia, I have developed some prestashop sites and I have hosted all of them in the same server (1and1) without these problems, so is very strange !!! could exist a solution that I can solve this programmatically for example typing the metas in the header to force non-cache ?? could be ?

many thanks

Link to comment
Share on other sites

you just said in your first message here, that you wanted to create override, but you did it in original core file.

have you checked overrides directory? maybe you've got overrides for these files? i never asked about that, so maybe this is the problem>?

Link to comment
Share on other sites

I need to say that I have the same project locally in a xampp server and all works perfect but in the hosting is not working. Somebody could have another idea ?? all this make sense with the comments of Vekia but other prestashop sites in the same hosting are working fine.

 

thanks to all

Link to comment
Share on other sites

×
×
  • Create New...