This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
CentOS 6 Problems / CWP Upgrade Horror
« on: April 10, 2017, 06:58:31 AM »
Hi there. Up to now I've enjoyed using CWP script until yesterday when I made the mistake of upgrading using the instruction given above. From the moment I saw the incorrect grammar in the title, I got nervous:
THIS ARE UPGRADE INSTRUCTIONS ONLY FOR CWP VERSION 0.9.8.153 and 0.9.8.154
Nevertheless, I ignored this sign, followed the instructions and upgraded CWP and Apache. I did not upgrade MySQL because my version was higher than v5.1. However, upgrading was easily the worst mistake I've ever done for now while the 'upgrade' was successful as far as I can see, I am no longer able to login to CWP, my website is not showing (I get a 502 Bad Gateway message) and I'm having to hand fix everything without knowing exactly what to do.
Please take a look at the details below. Anything anyone can suggest to get me back on track would be appreciated.
Thanks.
My system info:
MySQL: v5.7
PHP: v5.7
CentOS: V6.9 (final)
CWP: 0.9.8.154
These are the error messages I get while trying to connect at https://mydomain.com:2030
Warning: main(../../resources/admin/include/db_conn.php): failed to open stream: No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Warning: main(): Failed opening '../../resources/admin/include/db_conn.php' for inclusion (include_path='.:/usr/local/cwp/php71/lib/php') in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Warning: main(../../resources/admin/include/postfix.php): failed to open stream: No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Warning: main(): Failed opening '../../resources/admin/include/postfix.php' for inclusion (include_path='.:/usr/local/cwp/php71/lib/php') in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Notice: Undefined variable: db_host_postfix in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Notice: Undefined variable: db_user_postfix in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Notice: Undefined variable: db_pass_postfix in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Notice: Undefined variable: db_name_postfix in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Warning: [obfuscated](): (HY000/1045): Access denied for user ''@'localhost' (using password: NO) in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Notice: Undefined variable: db_host in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Notice: Undefined variable: db_user in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Notice: Undefined variable: db_pass in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Notice: Undefined variable: db_name in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Warning: [obfuscated](): (HY000/1045): Access denied for user ''@'localhost' (using password: NO) in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
**Check your MySQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf
Warning: [obfuscated]() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Could not connect:
THIS ARE UPGRADE INSTRUCTIONS ONLY FOR CWP VERSION 0.9.8.153 and 0.9.8.154
Nevertheless, I ignored this sign, followed the instructions and upgraded CWP and Apache. I did not upgrade MySQL because my version was higher than v5.1. However, upgrading was easily the worst mistake I've ever done for now while the 'upgrade' was successful as far as I can see, I am no longer able to login to CWP, my website is not showing (I get a 502 Bad Gateway message) and I'm having to hand fix everything without knowing exactly what to do.
Please take a look at the details below. Anything anyone can suggest to get me back on track would be appreciated.
Thanks.
My system info:
MySQL: v5.7
PHP: v5.7
CentOS: V6.9 (final)
CWP: 0.9.8.154
These are the error messages I get while trying to connect at https://mydomain.com:2030
Warning: main(../../resources/admin/include/db_conn.php): failed to open stream: No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Warning: main(): Failed opening '../../resources/admin/include/db_conn.php' for inclusion (include_path='.:/usr/local/cwp/php71/lib/php') in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Warning: main(../../resources/admin/include/postfix.php): failed to open stream: No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Warning: main(): Failed opening '../../resources/admin/include/postfix.php' for inclusion (include_path='.:/usr/local/cwp/php71/lib/php') in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Notice: Undefined variable: db_host_postfix in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Notice: Undefined variable: db_user_postfix in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Notice: Undefined variable: db_pass_postfix in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Notice: Undefined variable: db_name_postfix in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Warning: [obfuscated](): (HY000/1045): Access denied for user ''@'localhost' (using password: NO) in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Notice: Undefined variable: db_host in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Notice: Undefined variable: db_user in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Notice: Undefined variable: db_pass in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Notice: Undefined variable: db_name in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Warning: [obfuscated](): (HY000/1045): Access denied for user ''@'localhost' (using password: NO) in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
**Check your MySQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf
Warning: [obfuscated]() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Could not connect:
2
DNS / Undefined offset
« on: November 15, 2016, 01:38:11 PM »
In the DNS Zone Editor at http://IPADDRESS:2030/index.php?module=zone_editor&file=/var/named/mydomain.com.db I get the following error message:
Notice: Undefined offset: 3 in /usr/local/cwpsrv/htdocs/resources/admin/modules/zone_editor.php on line 0
What does this mean and how do I get rid of it?
Thanks.
Notice: Undefined offset: 3 in /usr/local/cwpsrv/htdocs/resources/admin/modules/zone_editor.php on line 0
What does this mean and how do I get rid of it?
Thanks.
3
CentOS-WebPanel Bugs / Re: Cannot access phpMyAdmin on webserver running Nginx + Apache
« on: August 29, 2016, 04:14:49 PM »
Sorry to resurrect a dead (or at least dormant) topic but I'm having the same problem and wondered what the solution was.
Pages: [1]