Hello,
I hope that someone can help me out. I spent the last 10 hours of my day trying to figure way changing the name of "web/wordpress" but it stops working. I want to run three different sites on my NAS.
I've follow all the instructions on the official site to install it manually, learn how to create a new MariaDb 10 database with the phpMyAdmin, create user, password, grant all privileges, etc. I tested everything to understand why when I make a second site, a different one that the one Synology provides (that works perfectly).
I created a new database and copy the information to the wp-conf.php and works fine. But when I change that folder's name stops from working, even though it is supposed to work.
I turned the debugger on and this is what I get when I change the name of the "web/wordpress" folder say to "web/tiendaanimal" and this is what I get:
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /volume1/web/tiendaanimal/wp-includes/wp-db.php:1685 Stack trace: #0 /volume1/web/tiendaanimal/wp-includes/wp-db.php(632): wpdb->db_connect() #1 /volume1/web/tiendaanimal/wp-includes/load.php(527): wpdb->__construct('user_carlos_g_b...', 'JJo8%-7BmU&-KpP...', 'db_carlos_g_ber...', 'localhost') #2 /volume1/web/tiendaanimal/wp-settings.php(124): require_wp_db() #3 /volume1/web/tiendaanimal/wp-config.php(90): require_once('/volume1/web/ti...') #4 /volume1/web/tiendaanimal/wp-load.php(37): require_once('/volume1/web/ti...') #5 /volume1/web/tiendaanimal/wp-blog-header.php(13): require_once('/volume1/web/ti...') #6 /volume1/web/tiendaanimal/index.php(17): require('/volume1/web/ti...') #7 {main} thrown in /volume1/web/tiendaanimal/wp-includes/wp-db.php on line 1685
There has been a critical error on this website.
Thank you so much for your time.
All the best
I hope that someone can help me out. I spent the last 10 hours of my day trying to figure way changing the name of "web/wordpress" but it stops working. I want to run three different sites on my NAS.
I've follow all the instructions on the official site to install it manually, learn how to create a new MariaDb 10 database with the phpMyAdmin, create user, password, grant all privileges, etc. I tested everything to understand why when I make a second site, a different one that the one Synology provides (that works perfectly).
I created a new database and copy the information to the wp-conf.php and works fine. But when I change that folder's name stops from working, even though it is supposed to work.
I turned the debugger on and this is what I get when I change the name of the "web/wordpress" folder say to "web/tiendaanimal" and this is what I get:
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /volume1/web/tiendaanimal/wp-includes/wp-db.php:1685 Stack trace: #0 /volume1/web/tiendaanimal/wp-includes/wp-db.php(632): wpdb->db_connect() #1 /volume1/web/tiendaanimal/wp-includes/load.php(527): wpdb->__construct('user_carlos_g_b...', 'JJo8%-7BmU&-KpP...', 'db_carlos_g_ber...', 'localhost') #2 /volume1/web/tiendaanimal/wp-settings.php(124): require_wp_db() #3 /volume1/web/tiendaanimal/wp-config.php(90): require_once('/volume1/web/ti...') #4 /volume1/web/tiendaanimal/wp-load.php(37): require_once('/volume1/web/ti...') #5 /volume1/web/tiendaanimal/wp-blog-header.php(13): require_once('/volume1/web/ti...') #6 /volume1/web/tiendaanimal/index.php(17): require('/volume1/web/ti...') #7 {main} thrown in /volume1/web/tiendaanimal/wp-includes/wp-db.php on line 1685
There has been a critical error on this website.
Thank you so much for your time.
All the best