stroudi Posted December 2, 2009 Share Posted December 2, 2009 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. Help appreciated. Thanks in advance Quote Link to comment https://forums.phpfreaks.com/topic/183752-fatal-error-allowed-memory-size/ Share on other sites More sharing options...
JonnoTheDev Posted December 2, 2009 Share Posted December 2, 2009 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? Quote Link to comment https://forums.phpfreaks.com/topic/183752-fatal-error-allowed-memory-size/#findComment-969876 Share on other sites More sharing options...
stroudi Posted December 2, 2009 Author Share Posted December 2, 2009 So I guess that when they asked me for $49 a month for support there was a reason. Crafty little ****'s Quote Link to comment https://forums.phpfreaks.com/topic/183752-fatal-error-allowed-memory-size/#findComment-969879 Share on other sites More sharing options...
JonnoTheDev Posted December 2, 2009 Share Posted December 2, 2009 That script runs like a dog on their demo version! Quote Link to comment https://forums.phpfreaks.com/topic/183752-fatal-error-allowed-memory-size/#findComment-969880 Share on other sites More sharing options...
stroudi Posted December 3, 2009 Author Share Posted December 3, 2009 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. Quote Link to comment https://forums.phpfreaks.com/topic/183752-fatal-error-allowed-memory-size/#findComment-970324 Share on other sites More sharing options...
JonnoTheDev Posted December 3, 2009 Share Posted December 3, 2009 Also, will re-installing the script fix the problem? no Quote Link to comment https://forums.phpfreaks.com/topic/183752-fatal-error-allowed-memory-size/#findComment-970343 Share on other sites More sharing options...
stroudi Posted December 3, 2009 Author Share Posted December 3, 2009 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 Quote Link to comment https://forums.phpfreaks.com/topic/183752-fatal-error-allowed-memory-size/#findComment-970554 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.