PlaneShift

Development => Development Deliberation => Topic started by: Aerig on February 04, 2005, 12:17:39 am

Title: GRR :(
Post by: Aerig on February 04, 2005, 12:17:39 am
After tonight\'s update the same directory I mentioned is still missing. Fix this please  :))

I deliberately installed CVS because I want to start doing something constructive for PS. Please help me do that by getting this working.

NOPTE: Last thing at night here but ... it looks like the same error I reported earlier. VIS there is no www/secure directory --- obviously lpease make sure that the directory exists in CVS and that it does not breach your own website security.

... Either that or get me a low priority logon for frgagnetics that I can use to do the same job ( I would prefer to be able to tinker with this tho ;) )

...

I do work very hard and fast once I have a setup I can work with, even when I am unfamiliar with it.

Warning: main(../secure/db_config.php): failed to open stream: No such file or directory in f:\\www\\htdocs\\planeshift\\serverconsole\\config.php on line 2

Warning: main(../secure/db_config.php): failed to open stream: No such file or directory in f:\\www\\htdocs\\planeshift\\serverconsole\\config.php on line 2

Warning: main(): Failed opening \'../secure/db_config.php\' for inclusion (include_path=\'.;c:\\php4\\pear\') in f:\\www\\htdocs\\planeshift\\serverconsole\\config.php on line 2

Notice: Undefined variable: db_hostname in f:\\www\\htdocs\\planeshift\\serverconsole\\index.php on line 9

Notice: Undefined variable: db_username in f:\\www\\htdocs\\planeshift\\serverconsole\\index.php on line 9

Notice: Undefined variable: db_password in f:\\www\\htdocs\\planeshift\\serverconsole\\index.php on line 9

Notice: Undefined variable: db_name in f:\\www\\htdocs\\planeshift\\serverconsole\\index.php on line 10

Notice: Undefined index: loggedin in f:\\www\\htdocs\\planeshift\\serverconsole\\index.php on line 17

Notice: Undefined index: page in f:\\www\\htdocs\\planeshift\\serverconsole\\commonfunctions.php on line 223
 
Title:
Post by: acraig on February 04, 2005, 12:35:54 am
inside secure/ you need a db_config.php file that has:

    $db_hostname = \"localhost\";
    $db_username = \"planeshift\";
    $db_password = \"planeshift\";
    $db_name = \"planeshift\";
?>
Title:
Post by: Uyaem on February 04, 2005, 08:46:31 am
You might also want to turn off notices in your php ini file, since

Code: [Select]
Notice: Undefined index: loggedin in f:\\www\\htdocs\\planeshift\\serverconsole\\index.php on line 17
Notice: Undefined index: page in f:\\www\\htdocs\\planeshift\\serverconsole\\commonfunctions.php on line


are neither errors nor warnings, just \"notices\" and they get pretty annoying, especially after having logged in. ;)

Code: [Select]
error_reporting = E_ALL & ~E_NOTICE
Title:
Post by: Aerig on February 04, 2005, 04:56:03 pm
Thank you :D I will try that.

 :D I usually do not use E_NOTICE but I decided to leave the flag on when I installed PHP on my new machine, since I am also working on another project that I want to be pristine wrt to E_* warnings etc.
Title:
Post by: Aerig on February 04, 2005, 07:12:22 pm
Okay :D I got it working and you were right about the notices being non-fatal .. thanks you  :)