All posts in the topic Error messages - Image Resize (Short link)
Summary
- There are 6 posts — by 3 authors — in this topic.
- Latest post made by kosmicclaire at Jul 17 14:55 UTC
Hello,
I get the following error messages. They occur in a variety of places. Any
clue what I need to do to fix this ?
Warning: popen() has been disabled for security reasons in
/home/richardw/public_html/pa/api/ImageResize/ImageResize.php on line 603
Warning: fgets(): supplied argument is not a valid stream resource in
/home/richardw/public_html/pa/api/ImageResize/ImageResize.php on line 604
Warning: pclose(): supplied argument is not a valid stream resource in
/home/richardw/public_html/pa/api/ImageResize/ImageResize.php on line 605
Many thanks
Richard
OK - I've spent a few minutes Googling and I can see that the message is caused
by my having the following line in my php.ini file:
disable_functions = show_source, passthru, popen, proc_open
Is it safe to remove popen from this list and thus enable it ?
> OK - I've spent a few minutes Googling and I can see that the message is
caused by my having the following line in my php.ini file:
>
> disable_functions = show_source, passthru, popen, proc_open
>
>
Yep, that's the cause then :)
> Is it safe to remove popen from this list and thus enable it ?
>
If you control the PHP files that are placed on your server... yes, then
it is safe. This setting is often made to avoid 'un trsusted users' from
uploading PHP code that can do all manner of things.
Hi i have the same error, but im not running my own server or dedicated so i
dont have access to change things, i got the error when i tried to do a test
invite with plaxo, which failed.
looking at my phpinfo popen is disabled, is there a different way of
configuring it so it uses my smtp instead or really am i stuck...and should i
look into getting a dedicated server instead for peepagg?
Claire,
If you can't enable popen and friends, I'm afraid you are stuck
From the phpinfo I've seen earlier your current setup is also a
PHP-as-CGI which for several reasons is less tthan optimal.
PA is meant to be run on a mod_php (PHP as Apache module) setup, and
control over your php.ini file is greatly recommended.
-Martin
kosmicclaire schrieb:
> Hi i have the same error, but im not running my own server or dedicated so i
dont have access to change things, i got the error when i tried to do a test
invite with plaxo, which failed.
>
> looking at my phpinfo popen is disabled, is there a different way of
configuring it so it uses my smtp instead or really am i stuck...and should i
look into getting a dedicated server instead for peepagg?
thanks for your reply, il be looking into other hosting options.
Claire