Comments (11)
php > 7.0
from levels-ranks-web.
Have you enabled abbreviated tags in your php settings?
from levels-ranks-web.
from levels-ranks-web.
I have php 7.0 and 7.1 installed
from levels-ranks-web.
My Bad, I am using virtualmin with multiple php versions and it was using older version by default
thanks for your help :)
from levels-ranks-web.
My Bad, I am using virtualmin with multiple php versions and it was using older version by default
thanks for your help :)
I got the same problem like yours . But I do not have multiple php version . I only have a version which is php 7.2. But the site shows HTTP 500 ERROR again. Do you have any suggestions?
from levels-ranks-web.
Here's the error log.
[Wed Feb 05 15:18:07.248091 2020] [php7:warn] [pid 1107] [client 61.167.169.2:7327] PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /var/www/html/app/ext/Db.php on line 130
[Wed Feb 05 15:18:07.251101 2020] [php7:error] [pid 1107] [client 61.167.169.2:7327] PHP Fatal error: Uncaught Error: Call to a member function prepare() on null in /var/www/html/app/ext/Db.php:263\nStack trace:\n#0 /var/www/html/app/ext/Db.php(330): app\ext\Db->inquiry('Core', 0, 0, 'SELECT * FROM l...', Array)\n#1 /var/www/html/app/ext/General.php(180): app\ext\Db->queryAll('Core', 0, 0, 'SELECT * FROM l...')\n#2 /var/www/html/app/ext/General.php(59): app\ext\General->get_server_list()\n#3 /var/www/html/index.php(137): app\ext\General->__construct(Object(app\ext\Db))\n#4 {main}\n thrown in /var/www/html/app/ext/Db.php on line 263
from levels-ranks-web.
Here's the error log.
[Wed Feb 05 15:18:07.248091 2020] [php7:warn] [pid 1107] [client 61.167.169.2:7327] PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /var/www/html/app/ext/Db.php on line 130
[Wed Feb 05 15:18:07.251101 2020] [php7:error] [pid 1107] [client 61.167.169.2:7327] PHP Fatal error: Uncaught Error: Call to a member function prepare() on null in /var/www/html/app/ext/Db.php:263\nStack trace:\n#0 /var/www/html/app/ext/Db.php(330): app\ext\Db->inquiry('Core', 0, 0, 'SELECT * FROM l...', Array)\n#1 /var/www/html/app/ext/General.php(180): app\ext\Db->queryAll('Core', 0, 0, 'SELECT * FROM l...')\n#2 /var/www/html/app/ext/General.php(59): app\ext\General->get_server_list()\n#3 /var/www/html/index.php(137): app\ext\General->__construct(Object(app\ext\Db))\n#4 {main}\n thrown in /var/www/html/app/ext/Db.php on line 263
i think your db is not configured properly
check /storage/cache/sessions/db.php if its properly configured or not
and make sure you have installed all the required php modules
from levels-ranks-web.
Here's the error log.
[Wed Feb 05 15:18:07.248091 2020] [php7:warn] [pid 1107] [client 61.167.169.2:7327] PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /var/www/html/app/ext/Db.php on line 130
[Wed Feb 05 15:18:07.251101 2020] [php7:error] [pid 1107] [client 61.167.169.2:7327] PHP Fatal error: Uncaught Error: Call to a member function prepare() on null in /var/www/html/app/ext/Db.php:263\nStack trace:\n#0 /var/www/html/app/ext/Db.php(330): app\ext\Db->inquiry('Core', 0, 0, 'SELECT * FROM l...', Array)\n#1 /var/www/html/app/ext/General.php(180): app\ext\Db->queryAll('Core', 0, 0, 'SELECT * FROM l...')\n#2 /var/www/html/app/ext/General.php(59): app\ext\General->get_server_list()\n#3 /var/www/html/index.php(137): app\ext\General->__construct(Object(app\ext\Db))\n#4 {main}\n thrown in /var/www/html/app/ext/Db.php on line 263i think your db is not configured properly
check /storage/cache/sessions/db.php if its properly configured or not
and make sure you have installed all the required php modules
I did not configure the db.php . The instructions on GitHub did not say to configure the db.php. What I only did is configure the Apache , PHP and MariaDB, and put the web in /var/www/. Then the web told me that I need to configure the databases and it can be found in databases.cfg. So how to configure the db.php? I am very sorry to spend your time. Thank you very much.
from levels-ranks-web.
Here's the error log.
[Wed Feb 05 15:18:07.248091 2020] [php7:warn] [pid 1107] [client 61.167.169.2:7327] PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /var/www/html/app/ext/Db.php on line 130
[Wed Feb 05 15:18:07.251101 2020] [php7:error] [pid 1107] [client 61.167.169.2:7327] PHP Fatal error: Uncaught Error: Call to a member function prepare() on null in /var/www/html/app/ext/Db.php:263\nStack trace:\n#0 /var/www/html/app/ext/Db.php(330): app\ext\Db->inquiry('Core', 0, 0, 'SELECT * FROM l...', Array)\n#1 /var/www/html/app/ext/General.php(180): app\ext\Db->queryAll('Core', 0, 0, 'SELECT * FROM l...')\n#2 /var/www/html/app/ext/General.php(59): app\ext\General->get_server_list()\n#3 /var/www/html/index.php(137): app\ext\General->__construct(Object(app\ext\Db))\n#4 {main}\n thrown in /var/www/html/app/ext/Db.php on line 263i think your db is not configured properly
check /storage/cache/sessions/db.php if its properly configured or not
and make sure you have installed all the required php modules
I found the db.php's template and I have installed the Levels-Ranks core in my CSGO server.
But I didn't know the database configuration.
I use the command "mysql -uroot -A" and "show databases;". But I found there is no databases at all;
I could not find the Core's databases, maybe it is default ?
Would I need to create the databases and tables manually and configure the db.php with the databases?
Can you describe it more in details?
Thank you for helping me!
from levels-ranks-web.
Here's the error log.
[Wed Feb 05 15:18:07.248091 2020] [php7:warn] [pid 1107] [client 61.167.169.2:7327] PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /var/www/html/app/ext/Db.php on line 130
[Wed Feb 05 15:18:07.251101 2020] [php7:error] [pid 1107] [client 61.167.169.2:7327] PHP Fatal error: Uncaught Error: Call to a member function prepare() on null in /var/www/html/app/ext/Db.php:263\nStack trace:\n#0 /var/www/html/app/ext/Db.php(330): app\ext\Db->inquiry('Core', 0, 0, 'SELECT * FROM l...', Array)\n#1 /var/www/html/app/ext/General.php(180): app\ext\Db->queryAll('Core', 0, 0, 'SELECT * FROM l...')\n#2 /var/www/html/app/ext/General.php(59): app\ext\General->get_server_list()\n#3 /var/www/html/index.php(137): app\ext\General->__construct(Object(app\ext\Db))\n#4 {main}\n thrown in /var/www/html/app/ext/Db.php on line 263
i think your db is not configured properly
check /storage/cache/sessions/db.php if its properly configured or not
and make sure you have installed all the required php modulesI found the db.php's template and I have installed the Levels-Ranks core in my CSGO server.
But I didn't know the database configuration.
I use the command "mysql -uroot -A" and "show databases;". But I found there is no databases at all;
I could not find the Core's databases, maybe it is default ?
Would I need to create the databases and tables manually and configure the db.php with the databases?
Can you describe it more in details?
Thank you for helping me!
add me on discord FLASHING#8548
from levels-ranks-web.
Related Issues (20)
- Server informations not showing up HOT 5
- Нельзя добавить несколько баз fps
- toppoints,rankstats all 404 HOT 1
- How to install
- 001 PHP extension not found :: Zip
- 002 777 permissions not set on the directory :: /storage/cache/sessions/
- What to enter if I used SQLite database?? HOT 3
- Server information
- Wrong avatar display HOT 1
- No work internal pages
- Error after clearing module cache
- Exception script, check web server logs HOT 2
- 404 Errors HOT 3
- Install error HOT 2
- Setup install - Administrator step not checking / working HOT 6
- PHP extension not found :: GMP HOT 3
- [REQ] Support for PHP 8 HOT 1
- Unable to install. Exception script, check web server logs HOT 1
- Steam ID loop at instalation page HOT 2
- Hide players Steam IDs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from levels-ranks-web.