View Full Version : Problem when running validate links on phpLD2
Hi there, getting the following error when trying to validate links. ****** are put there by me. Site is adult so any mods wanting to check recip link is still there just pm me to check.
Fatal error: Allowed memory size of 52428800 bytes exhausted (tried to allocate 1935618353 bytes) in /home/******/******/******/include/functions.php on line 375
Any ideas what would cause this and how to fix? I am on dreamhost if that makes any difference.
Please do NOT post the same thread more than once, not in the same forum or in a different one. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.
The other thread was **removed**.
Boby
PS: Please, do not take this as an personal attack :) we just try to keep everything clean.
I beg your pardon? This was posted once in this forum only
What if you put this line into your "admin/dir_validate.php" file?
Content visible to registered users only.
Put it somewhere on top, just before
Content visible to registered users only.
Hope this helps!
Later Edit:
Content visible to registered users only.
Sorry, but there were two threads one above the other with same content but a slightly different title. Whatever, I have removed the other and it's all OK now. I want to appologise if I was rude, and maybe you just hit the submit button twice.
Boby
Content visible to registered users only.
Thanks for trying to help. Did what you said but it hasnt helped. i have heard that Dreamweaver do weird stuff with regards to PHP and i can imagine this is just another of the things they mess up.
Can you please create a file with this code?
Content visible to registered users only.
Just call it "test.php" or whatever you like.
The default output should be 8MB since this is the default for a PHP installation. You can also try contact your hoster and ask for more memory limit.
Boby
The result was the following
Memory Limit: 50M
:)
Dreamhost run a php safety thing ( http://www.modsecurity.org/ mod_security ) that can make some programs mess up. Just turned it off to see if it is that.
David
02-28-2006, 06:51 PM
One elegant solution would be this:
Admin can set number of links to validate at a time.
For example maybe it would be 500.
Then click Run. Admin waits til all 500 are checked, and then clicks Next.
I got this idea from the way vBulletin sends email.
Has anyone else suffered with this problem before? Is it trying to hold too many website pages in memory while it checks them?
vBulletin® v3.8.0, Copyright ©2000-2012, Jelsoft Enterprises Ltd.