ElkArte Community

Project Support => Support => Topic started by: Jason on August 09, 2018, 12:40:13 pm

Title: Not able to post in a category
Post by: Jason on August 09, 2018, 12:40:13 pm
I used an image and url of a website, and when i click post i get the following error

Fatal error: Maximum execution time of 30 seconds exceeded in /home4/tamilfor/public_html/sources/OEmbed.Hook.php on line 73

When i disable Oembed Support addon and refresh. The page loads without any issue.
Title: Re: Not able to post in a category
Post by: emanuele on August 09, 2018, 05:16:20 pm
Then you have half of the answer: it's an issue with the OEmbed addon.
Not sure what the problem is though.
Title: Re: Not able to post in a category
Post by: forumsearch0r2 on August 09, 2018, 05:22:37 pm
Someone is using my add-on! \o/
... why?

On a more serious note:

Code: [Select]
    // Execute all handles asynchronously:
    do {
        $mrc = curl_multi_exec($curl, $active); /* This is line 73 */
    }
    while ($active > 0);

It should not just time out with only one link, except if the target website is broken. In that case, a timeout is reasonable.
Which URL did you want to post?
Title: Re: Not able to post in a category
Post by: Jason on August 10, 2018, 11:57:23 am
This is the url i posted -https://www.actcorp.in/giga/?utm_source=subbase&utm_medium=email&utm_campaign=giga_launch
Title: Re: Not able to post in a category
Post by: forumsearch0r2 on August 12, 2018, 04:36:07 pm
As far as I can see, there is no OEmbed on that site anyway...

I'm updating the add-on to respect some timeout.