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

error in race page #62

Open
fisher762 opened this issue Nov 3, 2022 · 4 comments
Open

error in race page #62

fisher762 opened this issue Nov 3, 2022 · 4 comments

Comments

@fisher762
Copy link

hello there..
i have some errors .. .when i to race page and choose character i got this

http://localhost/newstar/game.php?page=race

Warning: Uncaught ErrorException: require_once(includes/subclasses/subclass.UpdateSqlСhoice.php): failed to open stream: No such file or directory in D:\xampp\htdocs\newstar\includes\pages\game\ShowRacePage.class.php:46 Stack trace: #0 D:\xampp\htdocs\newstar\includes\pages\game\ShowRacePage.class.php(46): errorHandler(2, 'require_once(in...', 'D:\\xampp\\htdocs...', 46, Array) #1 D:\xampp\htdocs\newstar\includes\pages\game\ShowRacePage.class.php(46): require_once() #2 D:\xampp\htdocs\newstar\includes\pages\game\ShowRacePage.class.php(60): ShowRacePage->UpdateRace(1501) #3 D:\xampp\htdocs\newstar\game.php(59): ShowRacePage->show() #4 {main} thrown in D:\xampp\htdocs\newstar\includes\pages\game\ShowRacePage.class.php on line 46

Fatal error: ShowRacePage::UpdateRace(): Failed opening required 'includes/subclasses/subclass.UpdateSqlСhoice.php' (include_path='D:/xampp/htdocs/newstar/') in D:\xampp\htdocs\newstar\includes\pages\game\ShowRacePage.class.php on line 46

also this pages
http://localhost/newstar/game.php?page=ethics
http://localhost/newstar/game.php?page=formgovernment

@4lin
Copy link

4lin commented Nov 13, 2022

Same for me even online race, form of government and ethics is not working.

@StevenG916
Copy link

Not sure if this is the problem or not, but once installed and set the system to PHP7.4, i haven't had any problems since

@Ronneraz
Copy link

Ronneraz commented Feb 20, 2023

this bug is caused by the filename,the file “includes/subclasses/subclass.UpdateSql [С] hoice.php” is a Russian letter not the english letter。but the code in php are same as the filename。so it can works under the UTF8. you can replace the code in 3 files and rename whe file to make it works in old php visions

@4lin
Copy link

4lin commented Mar 8, 2023

the problem was solved i missed one file was not copied on my server (includes/subclasses/subclass.UpdateSqlСhoice.php) that one was missing, so everything works fine on race, ethics and government on php7.4.8

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

4 participants