Author Topic: Wordpress installation issue  (Read 37120 times)

0 Members and 3 Guests are viewing this topic.

Offline
**
Wordpress installation issue
« on: August 27, 2018, 08:08:27 AM »
Hi there and thanks for a great panel.

I'm having issues with wordpress installation from the addons menu. After the installation, I click the domain/path it created and get the error: "Error establishing a database connection". Checking Mysql manager shown no DB was created, hence I guess that's the problem.

As I could swear it worked before, I went through the hassle of setting another server with CWP, and tried installed wordpress the same exact way, without changing anything (even kept PHP 5.6.37 version), and I was quite surprised to find I get the same exact error.

Any idea?
« Last Edit: August 27, 2018, 08:28:21 AM by ring_c »

Offline
**
Re: Wordpress installation issue
« Reply #1 on: August 27, 2018, 08:34:50 AM »
Ok, further investigating I found 2 issues:

1. There are times the addon script is using a special character (in my case it was <) - in such case the db won't be created at all. Hence of course there's no way a connection can be established.

2. Still, when there's no special character and the db+user are created - still I get no connection! I'll try to investigate the wp-config file to see if there's a problem there. Still, if I delete wp-config the setup will continue!

Offline
**
Re: Wordpress installation issue
« Reply #2 on: August 27, 2018, 08:44:10 AM »
Ok, I believe I found the problem.
I took the password the addon script put into the wp-config file and forced it again into the db's user. Ran the URL again and - BOOM! The setup continues!

I've just create another wordpress instance with the addon script just to make sure - and yes. I had to force the password from wp-config to the db's user password again.

So ok, I think I nailed it. Question is how it can be fixed.

Offline
*****
Re: Wordpress installation issue
« Reply #3 on: August 27, 2018, 01:12:24 PM »
Greetings, this has already been resolved and will be available in our next update,

Offline
**
Re: Wordpress installation issue
« Reply #4 on: August 27, 2018, 01:15:36 PM »
Oh...  :o
Then where can I see other bugs you've found, because I have some more in my sleeve. :)

Offline
*****
Re: Wordpress installation issue
« Reply #5 on: August 27, 2018, 01:18:33 PM »
You can report them from http://centos-webpanel.com/contact or by writing to info@centos-webpanel.com

Offline
**
Re: Wordpress installation issue
« Reply #6 on: August 27, 2018, 01:23:42 PM »
Thanks, but I'm asking if there's a list of known bugs I can view.

Offline
*****
Re: Wordpress installation issue
« Reply #7 on: August 27, 2018, 02:14:17 PM »
Thanks, but I'm asking if there's a list of known bugs I can view.
unfortunately you can't

Offline
**
Re: Wordpress installation issue
« Reply #8 on: August 27, 2018, 02:47:40 PM »
Should be a good idea to have some kind of know bugs list. Maybe even use github...

Offline
*****
Re: Wordpress installation issue
« Reply #9 on: August 27, 2018, 04:02:34 PM »
if you founded any bugs, please open a ticket to track it.

Offline
**
Re: Wordpress installation issue
« Reply #10 on: August 30, 2018, 08:22:47 PM »
Any estimation when will this be fixed?
Customers can't install Wordpress alone. :(

Offline
*****
Re: Wordpress installation issue
« Reply #11 on: September 06, 2018, 02:55:19 PM »
developers are notified about it this will take some time as they have many jobs to do.

Offline
**
Re: Wordpress installation issue
« Reply #12 on: September 06, 2018, 06:17:00 PM »
Can you say when the next version is due?

Offline
*****
Re: Wordpress installation issue
« Reply #13 on: September 06, 2018, 10:00:05 PM »
in the new version of CWP this was resolved

Code: [Select]
sh /scripts/update_cwp

Offline
**
Re: Wordpress installation issue
« Reply #14 on: September 07, 2018, 02:05:39 PM »
in the new version of CWP this was resolved

Code: [Select]
sh /scripts/update_cwp
I already have the last version (0.9.8.723). For all I know there's no newer version than that.