HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Extplorer (joomla component) stopped working after latest update (http://www.howtoforge.com/forums/showthread.php?t=57918)

frankbootmaker 13th July 2012 09:13

Extplorer (joomla component) stopped working after latest update
 
Hi,

I used joomla's extplorer in joomla installations for file operations and earlier managed to get it work by selecting suPHP as PHP module, however after latest 3.4.0.6 update it stopped working.

Any idea what did that?

Thanks,
Ferenc

till 13th July 2012 09:26

Please use the following settings for all php based cms systems:

php-mode: php-fcgi
Suexec: enabled

Then wait a few minutes and try the explorer in joomla again.

frankbootmaker 13th July 2012 10:40

Still won't work
 
1 Attachment(s)
Hi,

I still have problems with this extension. It doesn't load and earlier was only working when I set it to suPHP. Anything else I should turn off / on?
I attached the current config's screenshot.

Thanks for your help!
Feri

till 13th July 2012 13:45

The settings in ispconfig are ok. Please check the file permissions of all files in the website (all files in the "web" directory, they must be owned by the web user and client group of the website.

If you checked or changed that and it still does not work, take a look at the error.log of the website and post the messages that you get there.

suphp is not a good choice, its much slower then fastcgi + suexec and tends to make problems with larger cms. The important part is that you use suexec + fastcgi as this enabled apache to run the php process under the correct user similar to suphp while using fastcgi without suexec would run php under a wrong user.

frankbootmaker 13th July 2012 20:05

Error log
 
Hi,

I did check the permissions and all is fine, but found this errors in the error.log. Would that make sense to you what the problem could be?
(the log is of another website, same config and same problem, but website name is kence.nethorizon.eu)

Thank you very much for any hints.

Cheers,
Ferenc

[Fri Jul 13 19:57:37 2012] [warn] [client 213.222.135.12] mod_fcgid: stderr: PHP Notice: Trying to get property of non-object in /var/www/clients/client1/web2/web/administrator/components/com_extplorer/languages/hungarian.php on line 98, referer: http://kence.nethorizon.eu/administr...s&view=modules
[Fri Jul 13 19:57:37 2012] [warn] [client 213.222.135.12] mod_fcgid: stderr: PHP Notice: Trying to get property of non-object in /var/www/clients/client1/web2/web/administrator/components/com_extplorer/languages/hungarian.php on line 98, referer: http://kence.nethorizon.eu/administr...s&view=modules
[Fri Jul 13 19:57:37 2012] [warn] [client 213.222.135.12] mod_fcgid: stderr: PHP Notice: Trying to get property of non-object in /var/www/clients/client1/web2/web/administrator/components/com_extplorer/languages/hungarian.php on line 182, referer: http://kence.nethorizon.eu/administr...s&view=modules
[Fri Jul 13 19:57:37 2012] [warn] [client 213.222.135.12] mod_fcgid: stderr: PHP Notice: Trying to get property of non-object in /var/www/clients/client1/web2/web/administrator/components/com_extplorer/languages/hungarian.php on line 190, referer: http://kence.nethorizon.eu/administr...s&view=modules
[Fri Jul 13 19:57:37 2012] [warn] [client 213.222.135.12] mod_fcgid: stderr: PHP Notice: Trying to get property of non-object in /var/www/clients/client1/web2/web/administrator/components/com_extplorer/languages/hungarian.php on line 212, referer: http://kence.nethorizon.eu/administr...s&view=modules
[Fri Jul 13 19:57:37 2012] [warn] [client 213.222.135.12] mod_fcgid: stderr: PHP Warning: require_once(): open_basedir restriction in effect. File(/usr/share/php/PEAR.php) is not within the allowed path(s): (/var/www/clients/client1/web2/web:/var/www/clients/client1/web2/tmp:/var/www/kence.nethorizon.eu/web:/srv/www/kence.nethorizon.eu/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /var/www/clients/client1/web2/web/administrator/components/com_extplorer/libraries/FTP.php on line 33, referer: http://kence.nethorizon.eu/administr...s&view=modules
[Fri Jul 13 19:57:37 2012] [warn] [client 213.222.135.12] mod_fcgid: stderr: PHP Warning: require_once(/usr/share/php/PEAR.php): failed to open stream: Operation not permitted in /var/www/clients/client1/web2/web/administrator/components/com_extplorer/libraries/FTP.php on line 33, referer: http://kence.nethorizon.eu/administr...s&view=modules
[Fri Jul 13 19:57:37 2012] [warn] [client 213.222.135.12] mod_fcgid: stderr: PHP Fatal error: require_once(): Failed opening required 'PEAR.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/clients/client1/web2/web/administrator/components/com_extplorer/libraries/FTP.php on line 33, referer: http://kence.nethorizon.eu/administr...s&view=modules

frankbootmaker 16th July 2012 10:28

Any idea?
 
Hi,

do you have any idea how that external file /usr/share/pear.php could be granted for access? As I see in the log that is (might be) the problem.

Thank you,
Ferenc

till 16th July 2012 12:28

Add:

/usr/share/php

separated by : at the end of the open basedir path of the website and press save. ensure that you have pear installed on your server.

frankbootmaker 16th July 2012 21:57

Hi,

thank you so much! It works! :-)

Cheers,
Ferenc


All times are GMT +2. The time now is 02:47.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.