PDA

View Full Version : Scout Portal Toolkit


MikeyBe
10-28-2004, 02:11 AM
Having trouble with installing Scout Portal Toolkit. Got a Fatal error: Call to undefined function: mysql_create_db() error. It was trying to make a db without the mandatory username before the database....


Well, I went into the code and changed the variable for my DB name to the one I wanted...the variables were found in a file called SPT--Config.php which had this in it:

<?php

# parameters for accessing SQL database server
global $SPT_DBUserName, $SPT_DBPassword, $SPT_DBHost, $SPT_DBName;
$SPT_DBUserName = "mikebe_mikeybe";
$SPT_DBPassword = "
$SPT_DBHost = "localhost";
$SPT_DBName = "mikebe_SPT";

# default/fallback user interface
global $SPT_DefaultUI;
$SPT_DefaultUI = "SPTUI--Default";


?>

I changed the database name to what it is there ("mikebe_SPT").

Now I get this error:

Warning: chmod(): Operation not permitted in /usr/home/mikebe/public_html/SPT--InstallComplete.php on line 309

Warning: fopen(include/SPT--Config.php): failed to open stream: Permission denied in /usr/home/mikebe/public_html/SPT--InstallComplete.php on line 310

So I look at 309 and 310:

if (is_file($OutputFileName)) {* chmod($OutputFileName, 0666);* }
$OutputFile = fopen($OutputFileName, "w");

Outputfilename is the SPT--Config.php file I edited.

I tried making my whole folder with permission 777. I tried changing that 666 to 777. Why would the permission be denied to write that file?

I'm falling apart here...

MikeyBe
10-28-2004, 07:17 PM
Figured it out (after 3 hours). Database access problems. Turns out STP sucks anyways...

:(

Mike