Thomas Posted November 16, 2010 Report Share Posted November 16, 2010 Hey Guys, I was wondering if you could help me a little, I keep getting this error in the admin panel when I try to edit new pilots; Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 35 bytes) in /home/flythere/public_html/buffaloairwaysvirtual.com/core/common/StatsData.class.php on line 183 Thanks, Thomas. Quote Link to comment Share on other sites More sharing options...
Moderators joeri Posted November 16, 2010 Moderators Report Share Posted November 16, 2010 i think your server is out off memory you should contact your host Quote Link to comment Share on other sites More sharing options...
Thomas Posted November 16, 2010 Author Report Share Posted November 16, 2010 Hmm... On my cpanel it says; Monthly Bandwith: 40395.77 / 9999999 MB Disk Space Usage: 2231.78 / 1611391 MB The server is only 32 % Full. Its now giving me that error message when I accept PIREPS. Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted November 16, 2010 Report Share Posted November 16, 2010 Now I am no professional but you can over ride the ini settings by using a little trick that we use in phpBB forums. I am NOT sure if it will work here but you can try. Basically what is going on is, your account is fine. It is the server settings that are giving you problems. It has to do with the amount of memory they have set aside for each script I guess is how it goes. What we did was add a line to the config file. So if you wish, open your local config file and right after the ?> add ini_set("memory_limit","16M") IF that don't do it, you could always bump the limit up higher. I am not sure how your host is going to feel about doing that though if it works. Like I said, I know for certain that it works on phpBB forums. Just not sure about phpVMS. If that does not work, and you do not have access to your servers phpini file, then try to add it to root/.htaccess This move by all rights should work. It has never failed me in the past under any install of any CMS. Quote Link to comment Share on other sites More sharing options...
Thomas Posted November 16, 2010 Author Report Share Posted November 16, 2010 Thanks Ray, I'll try that. I'm running unlimited everything hosting basically, so they should be ok with it! Quote Link to comment Share on other sites More sharing options...
Thomas Posted November 16, 2010 Author Report Share Posted November 16, 2010 Hi Ray, That worked! Thanks. Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted November 16, 2010 Report Share Posted November 16, 2010 Glad it worked out. I may just have to add it to snippets. I was not sure if it would work on VMS or not. Quote Link to comment Share on other sites More sharing options...
Thomas Posted November 17, 2010 Author Report Share Posted November 17, 2010 Yeah, I asked my host about it too, This is the response... Hi Thomas,PHP has a mam limit on so this bit of code allows the script to go round the limit. Wont hurt anything. Glad your sorted. Regards, Eclipse 2000 Support. Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted November 17, 2010 Report Share Posted November 17, 2010 Hi Thomas. I am glad it worked out and they di not get p*ssed off at you for doing it. I have been using that little trick for years on phpBB forums that are heavily modded and it has never failed me a one time yet. Looks like we found another use for that trick now as well. Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted February 3, 2011 Report Share Posted February 3, 2011 Hi Ray, That worked! Thanks. Can you fill me in on details to what you added and where please so I can update the code snippets post and so I can fix my own site. I can get this to work in phpBB all day long but can not get it to work on my phpVMS install. I get server 500 errors. Quote Link to comment 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.