Jump to content

I just added a new item,but it's not showing when clicked in the store


Recommended Posts

Thanks, that pointed me in the right direction.

 

I got this error:

 

PHP Fatal error: Allowed memory size of 419430400 bytes exhausted (tried to allocate 24 bytes) in /public_html/shop/classes/MySQL.php on line 91

 

I increased the memory limit in php.ini to 400mb, but it didn't do anything. It's version 1.2.5.0.

 

Here's the mysql.php file line 91:

 

  $resultArray = array();
  while ($row = mysql_fetch_assoc($this->_result))
   $resultArray[] = $row;
  return $resultArray;
 }

 

 

Here's the php.ini code for memory limit:

 

memory_limit = 400M	  ; Maximum amount of memory a script may consume (16MB)

Link to comment
Share on other sites

I got this error:

 

PHP Fatal error: Allowed memory size of 419430400 bytes exhausted (tried to allocate 24 bytes) in /public_html/shop/classes/MySQL.php on line 91

 

I increased the memory limit in php.ini to 400mb, but it didn't do anything.

Do you mean you are still receiving the above error? Maybe then the PHP config you modified is not the correct one, or hosting company has restriction on which PHP settings you can override. Best would be to ask your hosting company if the ini file you edited is the correct one.

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