Installation Problem

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

What do you get when you run:

/install/checkinstall.php

And, if your core/local.config.php file blank and a file size of 0 and writeable?

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

Ah ok. Blank the file completely (no spaces or anything), and then start the install

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’ !

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

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?

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.

The file shown in that error message, you need to make that writeable as well. If it doesn’t exist, create it, and make sure it’s empty with a file size of 0. And make sure it’s writable

I have done that evenset the CHMOD to 777

Problem sorted