New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSCache and CWP CageFS at no extra cost with all CWPpro licences. The LSCache plugin is integrated into our WordPress and other script installers, and CWP CageFS gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Wordpress installation issue

Started by ring_c, August 27, 2018, 08:08:27 AM

Previous topic - Next topic

ring_c

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?

ring_c

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!

ring_c

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.

josemnunez

Greetings, this has already been resolved and will be available in our next update,

ring_c

Oh...  :o
Then where can I see other bugs you've found, because I have some more in my sleeve. :)

josemnunez


ring_c

Thanks, but I'm asking if there's a list of known bugs I can view.

Sandeep

Quote from: ring_c on August 27, 2018, 01:23:42 PM
Thanks, but I'm asking if there's a list of known bugs I can view.
unfortunately you can't

ring_c

Should be a good idea to have some kind of know bugs list. Maybe even use github...

Sandeep

if you founded any bugs, please open a ticket to track it.

ring_c

Any estimation when will this be fixed?
Customers can't install Wordpress alone. :(

Sandeep

developers are notified about it this will take some time as they have many jobs to do.

ring_c

Can you say when the next version is due?

josemnunez

in the new version of CWP this was resolved


sh /scripts/update_cwp

ring_c

Quote from: josemnunez on September 06, 2018, 10:00:05 PM
in the new version of CWP this was resolved


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.