Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » RADICORE Installation Issues » Login error and permissions error
Re: Login error and permissions error [message #1425 is a reply to message #1424] Mon, 07 July 2008 05:20 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2355
Registered: April 2006
Location: Surrey, UK
Senior Member
(1) The filename which is constructed for the XSL directory is never relative to the 'includes' directory as this may be outside of the document root. An absolute pathname is constructed using $_SERVER['DOCUMENT_ROOT'] as its base, so if your script is being run from '/home/team/08pra06/public_html/source/radicore' then your document root should be '/home/team/08pra06/public_html'. If this is not what is being reported in $_SERVER['DOCUMENT_ROOT'] then there is something wrong with your server setup. If you have not installed radicore in or below your document root then you have not followed the installation instructions.

(2) File permissions - this is one thing that really annoys me about *nix systems, the fact that every PHP script run by the web server is automatically given the username of 'nobody' which is NOT the username of the domain. This then means that a PHP script running in that domain does not by default have permissions to create and write to files within that domain. It should be possible to change the permissions to 775 so that all members of the same group have the same permissions, but I have yet to find a way to discover what group 'nobody' belongs to, or what group the domain owner belongs to.

While it is not a good idea to change permissions to 777 on a global basis, it does not matter for errorlog.html as this is write-only. It is only a security risk or those files which are read by the application.


 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Class 'radicore_view' not found
Next Topic: Apache modules
Goto Forum:
  


Current Time: Sat Aug 03 08:10:51 EDT 2024

Total time taken to generate the page: 0.00848 seconds