Jump to content

Installation Problem


bazzaviator

Recommended Posts

The first time I did the installation I forgot to set permissions I got the meue up but secon box down reported an error. So I uninstalled teh whole lot and reloaded to my server. I then took a little more time and rand again but this time I get the following

Fatal error: Class 'DB' not found in D:vhostssimaviators.co.ukhttpdocsphpvmscorecommonSiteData.class.php on line 25

Any ideas?

Barry

Link to comment
Share on other sites

phpVMS Virtual Airline Administration Software

Install Check

Checking PHP version

[OK] PHP version is 5.2.x

Checking connectivity...

[OK] Can contact outside servers

Checking for SimpleXML module...

[OK] SimpleXML module exists!

Checking file hashes for corrupt or mismatched files

-- Checked 164 files, found 0 errors

But my local.config.php is showing 1KB

Link to comment
Share on other sites

Thanks That worked,

Now I have another problem with syntax errors on every tabel when try to creat teh tabels in the DB, I see that tables are there but every tabel has a warning, I will get back to you on this one as I am trying something at the moment which may or may not solve it, 'access permissions on all folders' !

Link to comment
Share on other sites

No it didn't work, I have syntax errors on all but a few tables take a look

Installing the tables...

Warning: fopen(D:vhostssimaviators.co.ukhttpdocsphpvms/core/logs/log.txt) [function.fopen]: failed to open stream: Permission denied in D:vhostssimaviators.co.ukhttpdocsphpvmscoreclassesDebug.class.php on line 86

Warning: fwrite(): supplied argument is not a valid stream resource in D:vhostssimaviators.co.ukhttpdocsphpvmscoreclassesDebug.class.php on line 87

Warning: fopen(D:vhostssimaviators.co.ukhttpdocsphpvms/core/logs/log.txt) [function.fopen]: failed to open stream: Permission denied in D:vhostssimaviators.co.ukhttpdocsphpvmscoreclassesDebug.class.php on line 86

Warning: fwrite(): supplied argument is not a valid stream resource in D:vhostssimaviators.co.ukhttpdocsphpvmscoreclassesDebug.class.php on line 87

Writing "phpvms_adminlog" table... failed - manually run this query:

"CREATE TABLE `phpvms_adminlog` ( `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY , `pilotid` INT NOT NULL , `datestamp` DATETIME NOT NULL , `message` VARCHAR( 255 ) NOT NULL ) ENGINE = MYISAM ;"

Warning: fopen(D:vhostssimaviators.co.ukhttpdocsphpvms/core/logs/log.txt) [function.fopen]: failed to open stream: Permission denied in D:vhostssimaviators.co.ukhttpdocsphpvmscoreclassesDebug.class.php on line 86

Warning: fwrite(): supplied argument is not a valid stream resource in D:vhostssimaviators.co.ukhttpdocsphpvmscoreclassesDebug.class.php on line 87

Warning: fopen(D:vhostssimaviators.co.ukhttpdocsphpvms/core/logs/log.txt) [function.fopen]: failed to open stream: Permission denied in D:vhostssimaviators.co.ukhttpdocsphpvmscoreclassesDebug.class.php on line 86

Warning: fwrite(): supplied argument is not a valid stream resource in D:vhostssimaviators.co.ukhttpdocsphpvmscoreclassesDebug.class.php on line 87

Writing "phpvms_awards" table... failed - manually run this query:

"CREATE TABLE `phpvms_awards` ( `awardid` INT NOT NULL AUTO_INCREMENT , `name` VARCHAR( 25 ) NOT NULL , `descrip` VARCHAR( 100 ) NOT NULL , `image` TEXT NOT NULL, PRIMARY KEY ( `awardid` ) ) ENGINE = MYISAM;"

Warning: fopen(D:vhostssimaviators.co.ukhttpdocsphpvms/core/logs/log.txt) [function.fopen]: failed to open stream: Permission denied in D:vhostssimaviators.co.ukhttpdocsphpvmscoreclassesDebug.class.php on line 86

Warning: fwrite(): supplied argument is not a valid stream resource in D:vhostssimaviators.co.ukhttpdocsphpvmscoreclassesDebug.class.php on line 87

Warning: fopen(D:vhostssimaviators.co.ukhttpdocsphpvms/core/logs/log.txt) [function.fopen]: failed to open stream: Permission denied in D:vhostssimaviators.co.ukhttpdocsphpvmscoreclassesDebug.class.php on line 86

Warning: fwrite(): supplied argument is not a valid stream resource in D:vhostssimaviators.co.ukhttpdocsphpvmscoreclassesDebug.class.php on line 87

Writing "phpvms_awardsgranted" table... failed - manually run this query:

"CREATE TABLE `phpvms_awardsgranted` ( `id` INT NOT NULL AUTO_INCREMENT , `awardid` INT NOT NULL , `pilotid` INT NOT NULL , `dateissued` DATETIME NOT NULL , PRIMARY KEY ( `id` ) ) ENGINE = MYISAM;"

Writing "phpvms_fuelprices" table... success

Link to comment
Share on other sites

  • Administrators

Ok, empty the local.config.php file again.

Then, make this file writeable:

D:vhostssimaviators.co.ukhttpdocsphpvms/core/logs/log.txt

Then try running the install again.

Also, which version of mysql and php are you running?

Link to comment
Share on other sites

MYSQL 5.0.45

PHO4.4.7 & 5.2.6

OK solved most just left with one.

I have made sure there full access to this file.

Warning: fopen(D:vhostssimaviators.co.ukhttpdocsphpvmscore//local.config.php) [function.fopen]: failed to open stream: Permission denied in D:vhostssimaviators.co.ukhttpdocsphpvmsinstallInstaller.class.php on line 122

There was an error opening local.config.php. Please check your permissions.

Sorry to be a pain.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...