I did have "localhost" setup in my config file. I changed this to "172.0.0.1" and rebooted the server, but this does not look to help the error. I enabled an option to perhaps give more debug detail, but the error looks to still report the same issue.
Here is a screenshot of the web debug screen. It looks like its having an issue with the .ico file. I confirmed that is in the root directory with the index.php file.
https://ibb.co/NFGx53x
I am not sure how to get the phpinfo() data you requested.
phpDivingLog
Re: phpDivingLog
So can you try to open test.php this giving you the output. Specially interested if you can find the the MySQL part
-
- Posts: 24
- Joined: Thu Aug 01, 2013 15:08
Re: phpDivingLog
Wow...thats cool. This looks like it might have some useful info in it somewhere.
- Attachments
-
- PHP 7.3.24 - phpinfo().pdf
- (489.41 KiB) Downloaded 121 times
Re: phpDivingLog
So found the problem, you're missing the mysqli extension of PHP. I found out that phpDiveling doesn't support the new native MYSQLnd driver of PHP
So easy fix: install mysqli
Or wait till I fix phpDivinglog to support MysqlND
So easy fix: install mysqli
Or wait till I fix phpDivinglog to support MysqlND
-
- Posts: 24
- Joined: Thu Aug 01, 2013 15:08
Re: phpDivingLog
Updated all the files with the new version and am now seeing this error:
Code: Select all
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /volume1/web/includes/wp-db.php on line 1617
Error: Call to undefined function mysql_connect() in /volume1/web/includes/wp-db.php on line 1617 Call Stack: 0.0017 388696 1. {main}() /volume1/web/index.php:0 0.0018 388920 2. require_once('/volume1/web/config.inc.php') /volume1/web/index.php:21 0.0054 395000 3. require_once('/volume1/web/settings.php') /volume1/web/config.inc.php:244 2.3169 523352 4. require_wp_db() /volume1/web/settings.php:223 3.0215 597576 5. wpdb->__construct() /volume1/web/settings.php:218 3.0216 597576 6. wpdb->db_connect() /volume1/web/includes/wp-db.php:632
Re: phpDivingLog
So you don't have mysqli or mysql PHP extension then how to connect to Mysql
-
- Posts: 24
- Joined: Thu Aug 01, 2013 15:08
Re: phpDivingLog
I am running this off a Synology server and I believe that function is handled by the MariaDB 10 package.
-
- Posts: 24
- Joined: Thu Aug 01, 2013 15:08
Re: phpDivingLog
Well we are super close. I can see form layout, but it cant connect to the database for some reason.
I have tried changing the config file database_server value back to "localhost", "172.0.0.1", "<Local IP of Synology Server>"and the url of the myphpadmin page, but nothing worked. I rebooted the server after each change just to make sure it wasnt cached and I did see the error message change stating the database_server value I entered.
I also double checked the login and password in the config file log into the myphpadmin page.

I also opened a forum posting seeing if anyone knew what this value should be on a synology nas.
https://community.synology.com/enu/forum/1/post/150850
I have tried changing the config file database_server value back to "localhost", "172.0.0.1", "<Local IP of Synology Server>"and the url of the myphpadmin page, but nothing worked. I rebooted the server after each change just to make sure it wasnt cached and I did see the error message change stating the database_server value I entered.
I also double checked the login and password in the config file log into the myphpadmin page.

I also opened a forum posting seeing if anyone knew what this value should be on a synology nas.
https://community.synology.com/enu/forum/1/post/150850
Re: phpDivingLog
The error is quite clear:
Either Mysql/MariaDb is not running
Or you have the incorrect username and password
Either Mysql/MariaDb is not running
Or you have the incorrect username and password
-
- Posts: 24
- Joined: Thu Aug 01, 2013 15:08
Re: phpDivingLog
I have changed my account password and checked permissions...I am 99% sure this is correct.
Is there a log or anything inside phpMyAdmin to see if the database is being contacted and confirm a bad password or account is being used or why the connection is being refused...or just to confirm the database is not being contacted at all?
Is there a log or anything inside phpMyAdmin to see if the database is being contacted and confirm a bad password or account is being used or why the connection is being refused...or just to confirm the database is not being contacted at all?