Support Forum
If I include a link to an external audio or video file there is a very long delay when I click the post button. It's as if the complete file is trying to be loaded somewhere.
Example: http://mike-warren.net/pc3/Clo.....and_II.mp3
Edit: It doesn't happen on this forum, only mine. Any idea where I could look for a cause? I discovered this when posting a link to a very large video file. When I clicked "Submit Post" the page went blank and was still like that an hour later.
I asked someone else to try it for me and it worked for him, but he said it took 20 seconds.
For me, what happens when I click the submit button:
- The small message that normally pops up at the top of the window saying "Saving Post. Please wait" doesn't appear.
- Instead, the page goes blank and this is shown in the address bar:
mysite.com/index.php?sp_ahah=post&sfnonce=33e03ed543
Any ideas how I can work out what's going wrong? This is a show stopper for me.
My host says this is caused by the forum software trying to allocate more than my allowed 64MB of memory.
It's as if the file itself is trying to be loaded.
I just tried renaming the file from .mp4 to .zip and it posted fine. Then I renamed it back to .mp4 and it still posted fine. It's like the problem just fixed itself. Perhaps the host changed something without telling me. I hate mysteries like this. They tend to come back and bite me.
I guess it's back to more testing.
No, it's not fine. I had miss-typed the link. One thing has changed, though. I now actually get an error message:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 110628865 bytes) in mywebsite.com/wp-includes/class-http.php on line 1106
Off to see if I can find that file.
Line 1106 is calling a function called curl_exec()
$theResponse = curl_exec( $handle );
I cant find that function, but I suspect it's not relevant anyway.
So what I've been able to determine:
-If I rename the mp4 file to .zip, the link posts fine.
-The link to the mp4 file posts fine on this site. And it's fast. There is no delay.
-A new WP installation using the TenTwenty theme and only SP added to it exhibits the same problem.
-Links to smaller media files post fine, but there is a delay as if the file is being loaded somewhere. The out of memory error would tend to support this theory.
<link removed>
I wonder if anyone else would like to try and duplicate this?
For me, posts including this link always work, even it the link is listed several times.
http://mike-warren.net/files/T.....st32MB.txt
This link gives me the out of memory error: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 67174401 bytes) in /wp-includes/class-http.php on line 1106. Note the amount of memory trying to be allocated is exactly the size of the file.
http://mike-warren.net/files/T.....st64MB.txt
And finally, here is an even larger one:
so your server could be very slow going outside... have you verified you have curl installed on your server???
we know nothing, nada, zip, about links and where they go... we do nothing with them.... unless image in which case we have to determine size...
but the message says your server is running out of php memory... do you have antivius software or other that might be scanning the file on the link???
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)