phpsecurityadm-users Mailing List for SecurityAdmin for PHP (Page 2)
Brought to you by:
koivi
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(10) |
Jun
(1) |
Jul
(4) |
Aug
(13) |
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Peter H. <pe...@pe...> - 2003-05-19 22:16:28
|
Okay, I've changed the include file to read: 'IncludePath' => dirname(__FILE__).'/../metabase' Now, no error message, but I get a blank page. Or almost a blank page. If I look at the source code, something has dumped in some html 4.01 structure and a css style, but there is nothing between the body tags. It is obviously not coming back to my page and picking up the rest of the page. I've just picked up the CVS source, but it will be another two days before I can get to it. It's now midnight and it looks like another long day at work tomorrow. Peter > Did you try checking out the latest CVS source? Maybe there is something > that we had fixed there without realizing it. Basically, I always use > dirname(__FILE__) when looking for files so I know exactly where I am. > I haven't had the no DBMS Driver error in so long I don't remember > exactly what caused it. > > Another option is to go to the metabase board in Yahoo groups and search > the archives there. It definately sounds like metabase isn't playing > nice with you. |
From: Justin K. <ju...@ko...> - 2003-05-19 21:05:57
|
Peter Hiltz wrote: >It doesn't make any difference. >I've moved the metabase files down one directory below the phpsecurityadmin >directory, and modified include/config.php so that it shows: > > 'IncludePath' => dirname(__FILE__).'../../metabase' // where to find >the metabase files > > This won't work quite as you're expecting.... You need to have the slash added after dirname() like: dirname(__FILE__).'/../../metabase' >But that doesn't make a difference either. If I change that directive, I get a >complaint about being unable to find the metabase_interface.php file. > > Above is likely why you get this error. >I feel like I'm missing something obvious. Somewhere there is a config file >staring me in the face and laughing. > Did you try checking out the latest CVS source? Maybe there is something that we had fixed there without realizing it. Basically, I always use dirname(__FILE__) when looking for files so I know exactly where I am. I haven't had the no DBMS Driver error in so long I don't remember exactly what caused it. Another option is to go to the metabase board in Yahoo groups and search the archives there. It definately sounds like metabase isn't playing nice with you. >On Monday 19 May 2003 03:32 pm, Justin Koivisto wrote: > > >>Just out of curiosity, what happens when you change your require >>statement to something like: >>require_once dirname(__FILE__).'/phpsecurityadmin/_restrict.php'; >> >>I did have a similar problem when I was first starting to use Metabase, >>and it all came down to the include path for Metabase wasn't set, and >>that is when I realized that the 'IncludePath' had to be set for >>metabase to work even if I had already included the files successfully. >> >> > > > > |
From: Albert L. <al...@pl...> - 2003-05-19 11:56:29
|
Hi Peter, It sounds like metabase is not loading the db driver correctly. I'm surprised that you can log in because the config file is the one that contains the matabase directives, not _restrict.php. The documentation on metabase is actually pretty good I think. You need to give the profile access to the page as well as add it to the site structure, but it doesn't sound like that is the problem. You're not using the CVS version are you? Justin, do you know anything about this? - Al On 5/18/03 6:06 PM, "Peter Hiltz" <pe...@pe...> wrote: > I've just tried to install phpsecurityadm. I was a little frustrated by the > documentation on metabase, but finally got so that I could log on to the > admin page, add users, change passwords, etc. > > I can't get the driver_test stuff on metabase to work, but phpsecurity seems > to work... > > Things are looking promising, so I build a page (in the directory above all > the metabase and phpSecurity pages), adding it to the database, and get the > following error. > > it was not specified a valid DBMS driver include path > > OK. I'm lost. Where might the system be breaking down? I'm running a linux box > with mysql. > > The test page is simply: > > <?php > require_once "phpsecurityadmin/_restrict.php"; > > echo "<html><title>Starting Page</title><body><h4>Starting Page</h4><br />"; > echo "Starting page stuff"; > echo "</body></html>"; > > ?> > > > > Peter > > > ------------------------------------------------------- > This SF.net email is sponsored by: If flattening out C++ or Java > code to make your application fit in a relational database is painful, > don't do it! Check out ObjectStore. Now part of Progress Software. > http://www.objectstore.net/sourceforge > _______________________________________________ > phpsecurityadm-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/phpsecurityadm-users > |
From: Peter H. <pe...@pe...> - 2003-05-18 22:07:02
|
I've just tried to install phpsecurityadm. I was a little frustrated by the documentation on metabase, but finally got so that I could log on to the admin page, add users, change passwords, etc. I can't get the driver_test stuff on metabase to work, but phpsecurity seems to work... Things are looking promising, so I build a page (in the directory above all the metabase and phpSecurity pages), adding it to the database, and get the following error. it was not specified a valid DBMS driver include path OK. I'm lost. Where might the system be breaking down? I'm running a linux box with mysql. The test page is simply: <?php require_once "phpsecurityadmin/_restrict.php"; echo "<html><title>Starting Page</title><body><h4>Starting Page</h4><br />"; echo "Starting page stuff"; echo "</body></html>"; ?> Peter |