Jump to content

Recommended Posts

Hi.

A newbie requesting some help.

The script in question is called i Reality, for property sales and rental.

http://www.worksforweb.com/

 

It has been working relatively well for several months until 3-4 days ago. On trying to login to admin (and only there) it produces the following error.

 

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1073741824 bytes) in /home/properti/public_html/system/core/ModuleManager.php on line 182

 

This seems a massive amount as the script (so I am told) takes between 64 -128 mb

 

The reply from the script supplier...

 

In the error that you have reported to us I can see that PHP tries to allocate 1GB of memory. However it is not likely that it is a script issue due to the fact that it requires about 64-128MB to run. The error is very unusual. You can try to contact your hosting provider and ask them to upgrade php version and/or ioncube version. Unfortunately we can't provide you with with another solution at the time.

 

So the question I need answering!

 

Is the problem a server issue or a script issue? as each are pointing to the other. Unfortunately I don't know enough to get a solution.  :shrug:

 

Help appreciated.

Thanks in advance

 

Link to comment
https://forums.phpfreaks.com/topic/183752-fatal-error-allowed-memory-size/
Share on other sites

In the error that you have reported to us I can see that PHP tries to allocate 1GB of memory. However it is not likely that it is a script issue due to the fact that it requires about 64-128MB to run. The error is very unusual.

Haha. What a cop out. It will be bad code. Your script may have been exploited.

The fact that they have mentioned ioncube means the source code will be encrypted so you cant even have a look at what may be causing the issue.

 

The simple fact is that the script is trying to use that amount of memory and the server is giving it, so when the server can't give any more memory the script dies. Its like creating an infinate loop, eventually the system will run out of memory. So, how can they say it is your server?

The latest from Works for web:

 

"I can propose you the following:

we can make a snapshot of your site and its database and install it on our server and in case a problem will still exist - then we'll dig the cause deeper."

 

Is it likely the error will repeat?

 

Also, will re-installing the script fix the problem? (I understand that this does not fix the problem as it may arise again)

 

Thanks for your replies.

 

 

More from Works for web

 

"We took a snapshot of your site and tested on our local server. We failed to reproduce the issue. We had another client that complained about this not so long ago. We recommended him to upgrade the php version to the latest and it helped him. Please consider contacting your hosting support department and asking them to upgrade the php version."

 

The hosting company I use is EUKhost with a reseller account, and the PHP version is 5.2.5 (cli) (built: Jun 27 2009 22:30:27)

 

So as I keep asking them....

This still does not address the issue as to why it was working perfectly on the existing version of PHP untill 4-5 days ago.

What has made the script demand such an amount of memory. Particularly just the admin login function.

Thanks yet again

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.