Author Topic: Internal Server Error  (Read 853 times)

0 Members and 1 Guest are viewing this topic.

Offline
****
Re: Internal Server Error
« Reply #15 on: July 27, 2018, 11:06:00 PM »
Hello,

I just replicated the same thing on my test server. You need to go to

Code: [Select]
cd /usr/local/apache/htdocs/folderinwhichfilesare
run the command below

Code: [Select]
find . -type d -exec chmod 0755 {} \;
find . -type f -exec chmod 0644 {} \;

Then you can access your files


Offline
*
Re: Internal Server Error
« Reply #16 on: July 28, 2018, 09:19:41 AM »

Hello,
Sorry for yesterday, I have access to the file but now I have another problem
Connection to the database
I have the following message:
An error occurred while connecting to the database
Connection attempt failed: SQLSTATE [HY000] [1045] Access denied for user 'root' @ 'localhost' (using password: NO)

I have configured my connection to the database

Offline
****
Re: Internal Server Error
« Reply #17 on: July 29, 2018, 11:24:24 PM »
The error means no you are not using password for root connection of mysql.

Offline
*
Re: Internal Server Error
« Reply #18 on: July 30, 2018, 01:31:44 PM »
you should install all your applications under the user which you create, you can assign subdomains to the user account for testing.
It's not recommended to have anything custom added into /usr/local/apache/htdocs folder, also it's NOT recommended to use the root password in any script...you have mysql manager for that to create new databases and users.

Additionally to fix permissions for the folder /usr/local/apache/htdocs you can use in cwp.admin under user account option fix permissions and there you have a user nobody.
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.