Obsolete Releases > SME 8.x Contribs

Installing Joomla! in an ibay

(1/2) > >>

Rien:
Hi all,

I have Joomla 2.5.7 installed in an ibay (called joomla) on my SME Server 8 (64bit / Raid1) installed on Oracle Virtualbox 4.1.22 for the purpose of testing.

I set MagicQuotes off by editing the file /etc/e-smith/templates/etc/php.ini/40DataHandling

Open the file and add the following line:

--- Code: ---magic_quotes_gpc = off
--- End code ---

save the file and do:


--- Code: ---expand-template /etc/php.ini
/etc/init.d/httpd-e-smith restart
--- End code ---

I installed phpmyadmin with:

--- Code: ---yum --enablerepo=smecontribs install smeserver-phpmyadmin
signal-event post-upgrade; signal-event reboot
--- End code ---

Enabled InnoDB (needed by the RokGallery component) with:

--- Code: ---db configuration setprop mysqld InnoDB enabled
expand-template /etc/my.cnf
sv t /service/mysqld
--- End code ---

Set AllowUrlFopen (needed for automatic updates)

--- Code: ---db configuration setprop php AllowUrlFopen On
expand-template /etc/php.ini
/etc/init.d/httpd-e-smith restart
--- End code ---

To make it possible to install extentions the regular way I set the max upload filesize to 50Mb with:


--- Code: ---db configuration setprop php UploadMaxFilesize 50M
expand-template /etc/php.ini
/etc/init.d/httpd-e-smith restart
--- End code ---

and and set the PHPBaseDir with (in my case):


--- Code: ---db accounts setprop joomla PHPBaseDir /home/e-smith/files/ibays/joomla/html/:/tmp/
signal-event ibay-modify joomla
--- End code ---

Now everything works fine except:

* The component eXtplorer seems to install correctly but when I try to open eXtplorer I get  "HTTP-error 500 internal server error"

What am I doing wrong??

mmccarn:
You may have some useful errors in /var/log/httpd/error_log.

In order to let Wordpress install updates, I have to set the i-bay ownership like this, so that httpd can write to the ibay directories:

--- Code: ---chown -R www:www /home/e-smith/files/ibays/<ibayname>
--- End code ---

Although, this may work, too:

--- Code: ---db accounts setprop <ibayname> Group www
db accounts setprop <ibayname> UserAccess wr-group-rd-everyone
signal-event ibay-modify
--- End code ---

Rien:
Thanks for your reply

I've tried your options, but they didn't solve the problem.

I think it has to do with the PHPBaseDir setting because, when I do:

--- Code: ---db accounts setprop joomla PHPBaseDir /home/e-smith/files/ibays/joomla/html/:/
signal-event ibay-modify joomla
--- End code ---

eXtplorer works! But it only display an index.htm file (the standard index.htm file which says "This web site is under construction"). Strange enough, I even don't have this file in my joomla/html directory (maybe it shows the Primary/html/index.htm file).

Rien:
Displaying errors, I get the following:


--- Code: ---Warning: require_once() [function.require-once]: open_basedir restriction in effect. File(/usr/share/pear/PEAR.php) is not within the allowed path(s): (/home/e-smith/files/ibays/kickstart/html/:/tmp/:../usr/share/pear/) in /home/e-smith/files/ibays/kickstart/html/administrator/components/com_extplorer/libraries/FTP.php on line 33

Warning: require_once(/usr/share/pear/PEAR.php) [function.require-once]: failed to open stream: Operation not permitted in /home/e-smith/files/ibays/kickstart/html/administrator/components/com_extplorer/libraries/FTP.php on line 33

Fatal error: require_once() [function.require]: Failed opening required 'PEAR.php' (include_path='.:/usr/share/pear-addons:/usr/share/pear') in /home/e-smith/files/ibays/kickstart/html/administrator/components/com_extplorer/libraries/FTP.php on line 33
--- End code ---


Apparently eXtplorer must have access to /usr/share/pear !

So I tried:


--- Code: ---db accounts setprop joomla PHPBaseDir /home/e-smith/files/ibays/joomla/html/:/tmp/:../usr/share/pear/
signal-event ibay-modify joomla
--- End code ---

But that didn't work. How can I do this ?

mmccarn:
Why ../usr/share/pear/?

The error you show says "require_once(/usr/share/pear/PEAR.php)" (no "..").

Navigation

[0] Message Index

[#] Next page

Go to full version