1 hour ago, ProAvia said:
I couldn’t tell you if its a Visual Studio issue or not as I don’t use it. Are you getting any errors in the error_log file or in the Chro e browser console?
May I ask which editor do you use? I like to discover more programs haha, sorry for the question.
I’m using XAMPP, so I have two errors log.
In my XAMPP log:
PHP Parse error: syntax error, unexpected '' . $rank .' (T_CONSTANT_ENCAPSED_STRING) in C:\\xampp\\htdocs\\phpvms\\core\\common\\RanksData.class.php
In core/logs:
Backtrace: DB::write_debug > DB::get_row > RanksData::getNextRank > include > TemplateSet->getTemplate > TemplateSet->showTemplate > Template::show > include > TemplateSet->getTemplate > TemplateSet->showTemplate
Query: SELECT * FROM phpvms_ranks WHERE minhours> ORDER BY minhours ASC LIMIT 1
Error: (1064) - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY minhours ASC LIMIT 1' at line 2
1 hour ago, ProAvia said:
What exact file did you delete and create anew?
I deleted RanksData.class.php, created it again and added the code (original, which was on github) again.
1 hour ago, ProAvia said:
Have you in any way edited the original downloaded files?
None of the common files.
EDIT: I installed phpVMS again, completely original, without editing anything, and it continues with the error.
PHP Version: 7.2.19
Apache: 2.4.39
MySQL: I don’t know where to see in XAMPP