Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update error #277

Closed
me2tkt opened this issue Mar 1, 2017 · 3 comments
Closed

Update error #277

me2tkt opened this issue Mar 1, 2017 · 3 comments

Comments

@me2tkt
Copy link

me2tkt commented Mar 1, 2017

When trying to run update, it fails with the following error 👍
Count fatalities stats...

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error' in C:\xampp\htdocs\WebSite\FlightAirMap\require\class.Stats.php:974
Stack trace:
#0 C:\xampp\htdocs\WebSite\FlightAirMap\require\class.Stats.php(974): PDOStatement->fetchAll(2)
#1 C:\xampp\htdocs\WebSite\FlightAirMap\require\class.Stats.php(1628): Stats->deleteStatsByType('fatalities_byye...')
#2 C:\xampp\htdocs\WebSite\FlightAirMap\scripts\update_db.php(90): Stats->addOldStats()
#3 {main}
thrown in C:\xampp\htdocs\WebSite\FlightAirMap\require\class.Stats.php on line 974

Any idea ?

@Ysurac Ysurac closed this as completed in d978221 Mar 1, 2017
@Ysurac
Copy link
Owner

Ysurac commented Mar 1, 2017

Should be fixed, a little error.

@me2tkt
Copy link
Author

me2tkt commented Apr 8, 2017

I updated my database after a server crash.
Now I get the following messages from the update script
The message repeas for all vehicles

Vehicules models from FlightAirMap website : Download...Check files...
Downloading vehicules model ball.glb ...

Warning: fopen(C:\xampp\htdocs\WebSite\FlightAirMap\install/../models/vehicules/ball.glb): failed to open stream: No such file or directory in C:\xampp\htdocs\WebSite\FlightAirMap\install\class.update_db.php on line 14

Warning: curl_setopt(): supplied argument is not a valid File-Handle resource in C:\xampp\htdocs\WebSite\FlightAirMap\install\class.update_db.php on line 21

Warning: fclose() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\WebSite\FlightAirMap\install\class.update_db.php on line 24

@Ysurac
Copy link
Owner

Ysurac commented Apr 8, 2017

fixed in latest commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants