English (United Kingdom)
Jms Multi Site, formerly joomla multisite.
Create, share multiple joomla sites in few clicks !
Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

Welcome, Guest
Please Login or Register.    Lost Password?

admin side of slave returns internal server error
(1 viewing) (1) Guest
Go to bottomPage: 1234
TOPIC: admin side of slave returns internal server error
#3969
admin side of slave returns internal server error 14 Years, 8 Months ago Karma: 0
hi there,

I recently changed host (from shared hosting to managed dedi server) and might be overlooking something obvious

Installation: J!1.5.15, JMS 1.2.26 and patches 1.2.32

I have set up the following subdomains in Parallel's Confixx:

www.test.tas.net -> target: public_html/test
www.testslave.tas.net -> target: public_html/test-creators/slave0

my J!session is installed in public_html/test, the slaves shall go into public_html/test-creators/slaveXX

all, master and slaves, shall share the same db

so far all is well with the master site

the first slave is set up with
domain:
www.testslave.tas.net
deployed directory:
/public_html/test-creators/slave0

after installing joomla I have no probs accessing the user side of the slave
however accessing the admin side of the slave's subdomain is returning an internal server error
to access the admin side anyways I would need to go to www.tas.net/test-creators/slave0/administrator

any chance you would have an idea what I'm doing wrong?
chrissy6930
Senior Boarder
Posts: 58
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/04/20 17:18 By chrissy6930.
The administrator has disabled public write access.
 
#3973
Re: admin side of slave returns internal server error 14 Years, 8 Months ago Karma: 54
An internal server error may be due to a "higher" permission of a file.
Some server that are using for example suPHP does not allow execute PHP files that would have a chmod 777.

So perhaps this is the reason.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3988
Re: admin side of slave returns internal server error 14 Years, 8 Months ago Karma: 0
ahhh! what you are saying appears to being appliccable:

my server runs on Debian Lenny and suPHP is in use.

would you mind a hint on what I could do/ check myself provided I have the necessary priviledges or what to mention to my host for getting this sorted?
chrissy6930
Senior Boarder
Posts: 58
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3991
Re: admin side of slave returns internal server error 14 Years, 8 Months ago Karma: 54
suPHP is very good.
So you perhaps have an error log somewhere in you HTTP Server that would give you additional information of the files that is not autorised.

In my previous reply, I told you to test if another files that you create from scratch (ie using hello.php) can be run in place of the "installation/index.php" file.

If you don't have error log file in your HTTP Server, I have no magic solution except try and test.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3992
Re: admin side of slave returns internal server error 14 Years, 8 Months ago Karma: 0
yes I do! the error_log lists something that might help:

SoftException in Application.cpp:217: File "/user/public_html/test/administrator/index.php" is not in document root of Vhost "/user/public_html/test-creators/slave0"
Premature end of script headers: index.php

I wouldn't want to attach todays complete error log entries here. but if you don't mind me emailing it to you I will gladly do so.


I did the hello test prior to setting up the slave and this was working fine
i.e. with an empty folder public_html/test-creators/slave0

would you suggest to doing it again now that the slave is installed?

ETA: I just did the hello test again:
when opening www.test.tas.net/hello.php I can see symbolic links as present

after entering the full path to the slave the following message appears:
The creation of the 'master_link' directory is successfull
You have now a link [/user/public_html/test-creators/slave0/master_link] -> [/user/public_html/test]
You can try to use the URL like www.slave.com/master_link/hello.txt

www.testslave.tas.net/master_link/hello.txt -> works
www.tas.net/test-creators/slave0/master_link/hello.txt -> works
www.tas.net/test-creators/slave0/master_link/hello.php -> works
www.testslave.tas.net/master_link/hello.php -> internal server error

and a related error in the error_log:
SoftException in Application.cpp:217: File "/user/public_html/test/hello.php" is not in document root of Vhost "/user/public_html/test-creators/slave0"
Premature end of script headers: hello.php
chrissy6930
Senior Boarder
Posts: 58
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/04/22 18:29 By chrissy6930.
The administrator has disabled public write access.
 
#4171
Re: admin side of slave returns internal server error 14 Years, 7 Months ago Karma: 0
over the last week I was talking back and forth with my host with the following result:

the master site has open_basedir set as:

php_admin_value open_basedir /user/public_html/test:/usr/bin:/user/phptmp

the slave site has it set as:

php_admin_value open_basedir /user/public_html/test-creators/dummy1:/usr/bin:/user/phptmp:/user/public_html/test/

which according to my host is correct

however when trying to access the admin side of the slave site (via subdomain) I still get an internal server error and the soft exception is still being thrown:

SoftException in Application.cpp:217: File "/user/public_html/test/administrator/index.php" is not in document root of Vhost "/user/public_html/test-creators/dummy1"
Premature end of script headers: index.php

my host also checked both suPHP and Confixx if any modification would be necessary

according to my host there must be an incompatibility of JMS with suPHP as everything else is properly set up
chrissy6930
Senior Boarder
Posts: 58
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/05/18 12:09 By chrissy6930.
The administrator has disabled public write access.
 
Go to topPage: 1234
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla