Re: [psa-users] Drive Include Path Problem on new pages
Brought to you by:
koivi
From: Justin K. <ju...@ko...> - 2003-05-20 12:54:57
|
Peter Hiltz wrote: >Now running CVS version. > >Test Page source is : ><?php > > require_once $PSA_PATH.'/phpsecurity/include/config.php'; > >echo "Starting page stuff"; >?> > >Looking at the output to the browser, the line "Starting page stuff" is being >output after the closing body and html tags. I.E. > >body style="background-color: #ffffff; color: #000099;"> >You do not have access rights to this content </body> ></html> >Starting page stuff > >Something is out of sync. > > This looks like you do not have the correct URI for the page you are trying to access. If your test page is something like http://www.example.com/test.php, then in the site structure, you will need to have an entry for "/test.php" - you will also need to have this entry selected in a profile, and that profile selected for the user you are trying to access the page with. Also, you should use phpsecurityadmin/_restrict.php rather than the config file. |