GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   webair and curl (https://gfy.com/showthread.php?t=1065554)

fris 04-22-2012 05:04 AM

webair and curl
 
anyone have any issues with webair hosting and curl?

this one plugin for wordpress uses curl to grab the youtube thumbnail, it works on my server, but not on webair.

anyone have any ideas?

Klen 04-22-2012 05:05 AM

Load php info to see is it php compiled with curl.

fris 04-22-2012 05:32 AM

Quote:

Originally Posted by KlenTelaris (Post 18901684)
Load php info to see is it php compiled with curl.

ya it is, script works on my server, and locally, but not on this webair shared server

k0nr4d 04-22-2012 05:40 AM

change the script to use file_get_contents()?

Klen 04-22-2012 05:52 AM

Quote:

Originally Posted by fris (Post 18901699)
ya it is, script works on my server, and locally, but not on this webair shared server

Could be lack of GD and JPEG support compiled with PHP,but problem is with such environments where you dont have control is too hard to fix problem even if tech are willing to cooperate.

Mrwww 04-22-2012 06:05 AM

install imagemagick and/or GD-Library support

there is a precompiled -fget for it, i have it somewhere, icq me if you need it.

fris 04-22-2012 07:28 AM

my bad wp wasnt writing the uploads dir like it should, works now

fris 04-22-2012 07:29 AM

Quote:

Originally Posted by k0nr4d (Post 18901705)
change the script to use file_get_contents()?

ya wp_remote_fopen does that first, then curl as a fallback, like i said wp wasnt creating the uploads dir, reason why it wasnt working.

Klen 04-22-2012 09:01 AM

Quote:

Originally Posted by fris (Post 18901789)
my bad wp wasnt writing the uploads dir like it should, works now

95% script problems are permission problem,if something not working always check permissions first :)

CHMOD 04-22-2012 12:21 PM

Quote:

Originally Posted by fris (Post 18901681)
anyone have any issues with webair hosting and curl?

this one plugin for wordpress uses curl to grab the youtube thumbnail, it works on my server, but not on webair.

anyone have any ideas?


EDIT: Sorry. I didn't read that it is ow working :-)


All times are GMT -7. The time now is 03:31 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123