Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: sum100 on May 23, 2011, 05:50:37 AM

Title: php web file manager : extplorer blank screen in i-bay
Post by: sum100 on May 23, 2011, 05:50:37 AM
i try in install http://extplorer.sourceforge.net/ in i-bay but only a blank screen,
install http://quixplorer.sourceforge.net/ is ok , anyone can help? please.
Title: Re: php web file manager : extplorer blank screen in i-bay
Post by: cactus on May 23, 2011, 07:16:23 AM
i try in install http://extplorer.sourceforge.net/ in i-bay but only a blank screen,
install http://quixplorer.sourceforge.net/ is ok , anyone can help? please.
First check that the required programs and versions are met. Then check if execution of the page gives errors in /var/log/httpd/error_log or /var/log/messages. If you can not find clues then you can try this: http://wiki.contribs.org/PHP#Display_Error_Messages
Title: Re: php web file manager : extplorer blank screen in i-bay
Post by: sum100 on May 23, 2011, 09:38:03 AM
 vi /var/log/messages

May 23 14:37:06 mingle-svr20 httpd: PHP Warning:  main(): open_basedir restriction in effect. File(/usr/share/pear/PEAR.php) is not within the allowed path(s): (/home/e-smith/files/ibays/web_hdd/) in /home/e-smith/files/ibays/web_hdd/html/libraries/FTP.php on line 33
Title: Re: php web file manager : extplorer blank screen in i-bay
Post by: Stefano on May 23, 2011, 09:50:16 AM
search the forums for open_basedir.. you'll find many answers
Title: Re: php web file manager : extplorer blank screen in i-bay
Post by: sum100 on May 23, 2011, 10:03:00 AM
http://forums.contribs.org/index.php?topic=31791.0

i dont know if its the right way but
after i run:

sbin/e-smith/db accounts setprop <ibayname> PHPBaseDir none
/sbin/e-smith/signal-event ibay-modify <ibayname>

its working ;)
Title: Re: php web file manager : extplorer blank screen in i-bay
Post by: janet on May 23, 2011, 06:18:06 PM
sum100

Please read ALL of the wiki article referred to by cactus earlier !
http://wiki.contribs.org/PHP#Open_basedir_restriction
Title: Re: php web file manager : extplorer blank screen in i-bay
Post by: CharlieBrady on May 24, 2011, 12:31:08 AM
May 23 14:37:06 mingle-svr20 httpd: PHP Warning:  main(): open_basedir restriction in effect. File(/usr/share/pear/PEAR.php) is not within the allowed path(s): (/home/e-smith/files/ibays/web_hdd/) in /home/e-smith/files/ibays/web_hdd/html/libraries/FTP.php on line 33

It's a bad idea to use PEAR to install PHP modules. Find whatever pear modules you require already packaged in rpm format.