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 #1458 is a reply to message #1425] Thu, 10 July 2008 21:28 Go to previous messageGo to previous message
jsmeaton is currently offline  jsmeaton
Messages: 9
Registered: May 2008
Junior Member
Thanks for the reply. I've figured out the doc_root issue IS an apache configuration problem where the installation root is reported instead of the local (shared environment) root. I've got my administrator on to it.

For future reference there is a work around which involves checking to see if doc_root is set correctly, and if not.. derive the root in this fashion:

$absoluteFilename = __FILE__;
        $relativeFilename = $_SERVER['SCRIPT_NAME'];
        $absolutePathPos = strrpos($absoluteFilename, $relativeFilename);

        if ($absolutePathPos === false)
            return ''; /* Unable to retrieve document root */
        else
            return substr($absoluteFilename, 0, $absolutePathPos);


Thanks for your quick replies.
 
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:11:47 EDT 2024

Total time taken to generate the page: 0.03279 seconds