Jump to content

Re-installing certain prestashop functions


Recommended Posts

Hi!

We have a shop set up on 1.5.3.1 and Price Rules is not functioning as it should anymore. We don't know what caused the issue but it might be because of some sloppy programming that was implemented by one of the previously assigned programmers who fixed bugs on the website.

problems with Price Rules:

--------------------------
1. The loading time takes ages for opening up already set up cart rules or creating new ones.
--------------------------

2. We can not open our product lists or any other (choose button is not working)

--------------------------

3. In developer mode we get a fatal error at the bottom of the price rule page when opening another rule.

 

Fatal error: Out of memory (allocated 759431168) (tried to allocate 237291722 bytes) in ........../public_html/fort/tools/profiling/Controller.php on line 287

CONTROLLER.PHP

283   private function sizeofvar($var)
284   {
285   $start_memory = memory_get_usage();
286   try {
287   $tmp = Tools::unSerialize(serialize($var));
288   } catch (Exception $e) {
289   $tmp = $this->getVarData($var);
290   }
291   $size = memory_get_usage() - $start_memory;
292   return $size;
293   }

 

I was planning to solve the issue by re-uploading all files related to the Price Rule functions, but which files should I re-upload?
Or is there another way to solve these issues? 
Has anybody else encountered this?

Support would be amazing!

thank you!!

 

 

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