I've created a subdomain via cPanel on my VPS running a Wordpress site: subdomain.mydomain.com
The WP site files are installed in a sub folder beneath root i.e. mydomain.com/subfolder
If a site visitor uses the correct URL - www.subdomain.mydomain.com it's OK.
However should the subdomain path be typed into the browser e.g. www.mydomain.com/subfolder then the error message shown below is displayed in the browser. So although the website is functioning it appears that there's a config error somewhere.
Any help appreciated, can anyone advise please? Thanks, P
Warning: include(/home/******/public_html/admin/function/mysqldb.php): failed to open stream: No such file or directory in /home/******/public_html/******/admin/function/functions.php on line 38
Warning: include(/home/******/public_html/admin/function/mysqldb.php): failed to open stream: No such file or directory in /home/******/public_html/******/admin/function/functions.php on line 38
Warning: include(): Failed opening '/home/******/public_html/admin/function/mysqldb.php' for inclusion (include_path='.:/opt/cpanel/ea-php73/root/usr/share/pear') in /home/******/public_html/******/admin/function/functions.php on line 38
Fatal error: Uncaught Error: Class 'TMySQLConnection' not found in /home/******/public_html/******/admin/function/functions.php:41 Stack trace: #0 /home/******/public_html/******/admin/function/db.php(18): include() #1 /home/******/public_html/******/index.php(3): include('/home/******/...') #2 {main} thrown in /home/******/public_html/******/admin/function/functions.php on line 41
The WP site files are installed in a sub folder beneath root i.e. mydomain.com/subfolder
If a site visitor uses the correct URL - www.subdomain.mydomain.com it's OK.
However should the subdomain path be typed into the browser e.g. www.mydomain.com/subfolder then the error message shown below is displayed in the browser. So although the website is functioning it appears that there's a config error somewhere.
Any help appreciated, can anyone advise please? Thanks, P
Warning: include(/home/******/public_html/admin/function/mysqldb.php): failed to open stream: No such file or directory in /home/******/public_html/******/admin/function/functions.php on line 38
Warning: include(/home/******/public_html/admin/function/mysqldb.php): failed to open stream: No such file or directory in /home/******/public_html/******/admin/function/functions.php on line 38
Warning: include(): Failed opening '/home/******/public_html/admin/function/mysqldb.php' for inclusion (include_path='.:/opt/cpanel/ea-php73/root/usr/share/pear') in /home/******/public_html/******/admin/function/functions.php on line 38
Fatal error: Uncaught Error: Class 'TMySQLConnection' not found in /home/******/public_html/******/admin/function/functions.php:41 Stack trace: #0 /home/******/public_html/******/admin/function/db.php(18): include() #1 /home/******/public_html/******/index.php(3): include('/home/******/...') #2 {main} thrown in /home/******/public_html/******/admin/function/functions.php on line 41
Last edited: