#1  
Old 13th January 2012, 03:40
rafael-ec rafael-ec is offline
Member
 
Join Date: Jul 2007
Posts: 57
Thanks: 15
Thanked 7 Times in 5 Posts
Default Issues with Elgg

Hi,

I was running a server with Debian Squeeze and Elgg with Apache. Standard installation, nothing complicated. I decided to install ispconfig on that server. I know is not what you recomend, but I did backup the site, the data directory and the database. I have done migrations of elgg before (kind of tricky), so I backup everything and then installed ispconfig.

I had some issues after installing my first site (the Elgg one). First the directory where it was installed was call /var/www/cayambelibre.com and then ISPconfig got confused as it uses a link with the same name that has a web directory as the document root. I took me a couple of hours to learn that. I had some expirience with ISPconfig, but version 2.

So I manage to install my Elgg site reading some of the doc on this great site as reference. However it does not work as it suppose to do.
I have change the important data of the database with this reference: http://docs.elgg.org/wiki/Duplicate_Installation. I also posted on the elgg community about this issue: http://community.elgg.org/pg/forum/t...ong-directory/

So far I have found two things reading the logs:


Code:
[Thu Jan 12 20:28:59 2012] [error] [client 60.169.78.57] PHP WARNING: 2012-01-12 20:28:59 (ECT): "file_exists(): open_basedir restriction in effect. File(/var/www/cayambelibre.com/mod/river_comments/views/default/river_comments/footer.php) is not within the allowed path(s): (/var/www/clients/client1/web5/web:/var/www/clients/client1/web5/tmp:/var/www/cayambelibre.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/var/www/clients/client1/web5/datos-cayambelibre/)" in file /var/www/clients/client1/web5/web/engine/lib/views.php (line 246), referer: http://www.cayambelibre.com/pg/register/
[Thu Jan 12 20:28:59 2012] [error] [client 60.169.78.57] PHP WARNING: 2012-01-12 20:28:59 (ECT): "file_exists(): open_basedir restriction in effect. File(/var/www/cayambelibre.com/mod/river_comments/views/default/river_comments/js.php) is not within the allowed path(s): (/var/www/clients/client1/web5/web:/var/www/clients/client1/web5/tmp:/var/www/cayambelibre.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/var/www/clients/client1/web5/datos-cayambelibre/)" in file /var/www/clients/client1/web5/web/engine/lib/views.php (line 246), referer: http://www.cayambelibre.com/pg/register/
[Thu Jan 12 20:28:59 2012] [error] [client 60.169.78.57] PHP WARNING: 2012-01-12 20:28:59 (ECT): "file_exists(): open_basedir restriction in effect. File(/var/www/cayambelibre.com/mod/externalpages/views/default/expages/footer_menu.php) is not within the allowed path(s): (/var/www/clients/client1/web5/web:/var/www/clients/client1/web5/tmp:/var/www/cayambelibre.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/var/www/clients/client1/web5/datos-cayambelibre/)" in file /var/www/clients/client1/web5/web/engine/lib/views.php (line 246), referer: http://www.cayambelibre.com/pg/register/
[Thu Jan 12 20:28:59 2012] [error] [client 60.169.78.57] PHP WARNING: 2012-01-12 20:28:59 (ECT): "file_exists(): open_basedir restriction in effect. File(/var/www/cayambelibre.com/mod/analytics/views/default/analytics/footer.php) is not within the allowed path(s): (/var/www/clients/client1/web5/web:/var/www/clients/client1/web5/tmp:/var/www/cayambelibre.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/var/www/clients/client1/web5/datos-cayambelibre/)" in file /var/www/clients/client1/web5/web/engine/lib/views.php (line 246), referer: http://www.cayambelibre.com/pg/register/
[Thu Jan 12 20:29:01 2012] [error] [client 60.169.78.57] PHP WARNING: 2012-01-12 20:29:01 (ECT): "file_exists(): open_basedir restriction in effect. File(/var/www/cayambelibre.com/mod/blog/views/default/object/blog.php) is not within the allowed path(s): (/var/www/clients/client1/web5/web:/var/www/clients/client1/web5/tmp:/var/www/cayambelibre.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/var/www/clients/client1/web5/datos-cayambelibre/)" in file /var/www/clients/client1/web5/web/engine/lib/views.php (line 303), referer: http://www.cayambelibre.com/action/login
First I got confuse with the allowed paths. I have never used that before and I corrected some errors on the web interfase, because it was looking for directories with client0 but I am client1.

Second Elgg is looking for modules in /var/www/cayambelibre.com/mod and it should be looking at /var/www/cayambelibre.com/web/mod. It seems to be like the main problem and it should be corrected by changing the variable path in elgg database but it does not work.

Just dropping this here, hope some can help.

Regards,

Rafael
Reply With Quote
Sponsored Links
  #2  
Old 13th January 2012, 09:54
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,022
Thanks: 840
Thanked 5,655 Times in 4,464 Posts
Default

You get this error because you installed php scripts outside of the website root, which causes a security violation in paypal. To allow scripts in your additional path, add the path:

/var/www/cayambelibre.com/mod

separated by : at the emd of the open_basedir path in the website settings.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
rafael-ec (13th January 2012)
  #3  
Old 13th January 2012, 15:40
rafael-ec rafael-ec is offline
Member
 
Join Date: Jul 2007
Posts: 57
Thanks: 15
Thanked 7 Times in 5 Posts
Default

Thanks Till. So I guess the error must be something on elgg because I don't want to use that directory, but /var/www/cayambelibre.com/web/mod. I am going to start over and see what happen.

Best regards and nice to be back. ISPconfig 3 is a great improvement from ISPconfig 2. Congratulations.

Rafael
Reply With Quote
  #4  
Old 13th January 2012, 22:31
rafael-ec rafael-ec is offline
Member
 
Join Date: Jul 2007
Posts: 57
Thanks: 15
Thanked 7 Times in 5 Posts
 
Default

So I just start from scratch again and problem solve. Thanks a lot for the help.

Regards,

Rafael
Reply With Quote
Reply

Bookmarks

Tags
elgg

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Elgg On An ISPConfig 3 System [ERROR] husskii HOWTO-Related Questions 0 6th January 2010 04:34
Elgg V 1.6 ERROR 500 - Internal Server Error! toyito Installation/Configuration 6 27th August 2009 20:43
trubble installing elgg cruz Technical 9 20th August 2009 16:48
Mail issues with "The Perfect Server - CentOS 5.2 x86_64" dp6ai HOWTO-Related Questions 0 9th December 2008 14:43
ClamAV Milter Issues - Virtual Hosting Howto With Virtualmin On CentOS 5.1 pheniks HOWTO-Related Questions 14 26th March 2008 12:04


All times are GMT +2. The time now is 00:18.


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