Elxis CMS Forum
Support => Installation => Topic started by: FrankFP on August 10, 2009, 15:07:38
-
I have just installed Elxis and it went without incident, but when I try to access the site I only get a php error:
Fatal error: require_once() [function.require]: Failed opening required '/home/fristed/public_html/bb/language/english/english.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/fristed/public_html/bb/includes/Core/loader.php on line 70
I have installed it on a subdomain bb.fristedpedersen.dk which uses the bb subdirectory to hold the files. Everything looks fine as far as I can see, and I can find the english.php in the spot listed (/home/fristed/public_html/bb/language/english/english.php)
Any idea what is wrong here?
And more importantly: any idea as to how I can get it to work?
Thanks in advance.
/Frank
-
failed to open stream: Permission denied
by clicking on the red line at the topo of the page you get more info about the error...
first...
please check file-folder permissions of your entire elxis installation...
files 644, folders 755, /cache 777, /tmpr 777 ... this is the minimum requirements for elxis to work properly.
then..
if you still have problems, check you elxis-version+php-version and inform us about the errors etc....
-
This is the complete error I get when clicking the red line:
PHP error [Warning]
URI: index.php
Path: /includes/Core/loader.php
Line: 70
require_once(/home/fristed/public_html/bb/language/english/english.php) [function.require-once]: failed to open stream: Permission denied
Fatal error: require_once() [function.require]: Failed opening required '/home/fristed/public_html/bb/language/english/english.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/fristed/public_html/bb/includes/Core/loader.php on line 70
My permissions looks ok. All files are 644 (except configuration.php which is 666) and cache and tmpr are both 777
MY PHP version is 5.2.10 and I am installing Elxis version 2009.0_Pandora_rev2437
-
i have noticed that your top-level dir requires a login....
are you sure that you can reach subdomains-subdirs without login?
-
I am not entirely sure I understand what you are asking.
If you go to www.fristedpedersen.dk you will need a login, but that is another cms (OpenGoo) that is running there and that should have no bearing on the subdomain. Unless of course it has set up some restrictions for sub-directories and that is messing things up.. Is that what you are asking about?
And that is not the case. At least I don't think so. My subdomain dvd.fristedpedersen.dk is running fine and that is on a subdomain-subdir as well.
-
Hello Frank,
I think what ks-net is saying is that your path looks unusual.
/home/fristed/public_html/bb/language/english/english.php
Usually everything is uploaded under /public_html, e.g. /public_html/index.php etc.
Is this the way it is?
I took a look at the link you gave and instead of it showing the front page it is showing what I believe to be the admin login.
-
My main site is www.fristedpedersen.dk.
What you see there is indeed a login. But that is a login to the OpenGoo CMS that is running there.
The path to that domain is: /home/fristed/public_html/
I have two subdomains: dvd.fristedpedersen.dk (path: /home/fristed/public_html/dvd/) and bb.fristedpedersen.dk (path: /home/fristed/public_html/bb/)
So as far as I can tell, it does list the correct path. It is indeed where all the files are located and if I look at the errormessage, all the mentioned files are located where stated. But for some reason there is something wrong with the permissions...?
-
does the file english.php exists?
have you checked server's error-logs?
I think what ks-net is saying is that your path looks unusual.
i said what he actually understood... so from his answer there are no problems relative to a global login wrapper or other cms login etc....
aLSO CHECK GROUP - OWNER OF FILES
-
You have wrong permissions or there is an htaccess file with rules that forbid accessing some files.
See any of the following URLs, you get error 403 (forbidden) for any of them. So check your htaccess file and the permissions!
http://bb.fristedpedersen.dk/language/english/english.php
http://bb.fristedpedersen.dk/modules/
http://bb.fristedpedersen.dk/components/
http://bb.fristedpedersen.dk/images/
-
he should get a blank page unless he had removed index.html files from those folders and server not allowing directory listing... only then it is nominal to get this 403-forbidden!
but i think it is something with permissions or .htaccess as datahell said...
server logs should have the answer !
-
Yeah. As you said it is clearly a permission issue.
But when I look at it I have all the correct permission set.
And I do not have any htaccess files, as far as I can see, that can mess things up.
Really weird. I will continue to mess around with things and see if I can get it solved.
-
actually you can't reach anything under http://bb.fristedpedersen.dk ...
http://bb.fristedpedersen.dk/robot.txt
http://bb.fristedpedersen.dk/images/favicon.ico
as deep i get i can see that is more related to .htaccess and some kind of redirection....
you should get for example the robot.txt whiteout elxis to be involed ... directly ... but you get an error from elxis+php... things are mixed up... look for any kind of rediraction in cpanel or htaccess
have you enabled elxis seo or modify elxis htaccess.. ?
-
It is really weird.
Perhaps I have messed something up during the installation?
I will try to delete and do a new installation and be more careful about it and see it the issue pops up again.
-
Problem solved. A new installation seemed to do the trick.
I think the problem was caused by me activating seo when installing the first time.
I didn't do it the second time around and it works like a charm now.
Thanks for your help everyone. Really impressed by your quick answers / suggestions.
/Frank
-
nice to hear that everything is ok now... :D
ooh! not to forget..... welcome to our community
-
Thanks. Glad to be here.
Based on my first impression of both the cms and the community I think I am going to stay here awhile :)
-
Welcome Frank. If you have any questions you can search this forum, post a question or visit Elxis wiki (http://wiki.elxis.org (http://wiki.elxis.org)).