uploading wordpress files to web host - wordpress

I have a hosting server subscription, and on that server I want to start building my Wordpress website, I just finished uploading the Wordpress files to the web host file manger, and doing the configuration of database file,
when I was about testing the Wordpress page, an error message poped out says:
HTTP ERROR 500
could anyone tell what is this problem about? and how can I fix it?

Related

Azure App Service - Wordpress super slow and cURL error 28

Following the announcement found here https://azure.github.io/AppService/2022/08/08/Announcing-GA-WordPress-on-Azure-App-Service.html
I've decided to migrate my website from a Ubuntu Server VM on Azure to this App Service configuration.
First, I've created new resources using the "Wordpress" template/configuration which I found on Azure portal. So, the deployment process created an App Service (plan P1), a MySQL database and a CDN Endpoint.
Everything seems to working quite fine. Then I've moved my website files from the VM to the App Service and I've created a new database in MySQL server where I've imported my website database without problems.
I've kept the wp-admin and wp-includes folders which were deployed by Azure and the wp-config.php file.
As final step, I've changed the configurations in the App Service to connect to the right database.
Then I tried to visit my website, but it is super slow (about 10 seconds to load the home page and I was forced to disable some plugins which was causing a fatal error).
I've checked the Wordpress Health Status using the plugin in the admin center, and it reports some issues.
Two of them are reporting a message like this:
cURL error 28: Resolving timed out
I've seen another post on SO ("cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux) with a similar issue and it suggested to change resolv.conf DNS to 8.8.8.8 (previously was 127.0.0.11). The author of the post wrote that this change improved page load time to max 1-2 seconds.
I've made this change but then the website stopped working returning "Error establishing a database connection" (maybe because MySQL db and app service are on the VNET created by Azure Wordpress template and there are some restriction to connect to database).
I've also tried to disable the CDN, changing the CDN_ENABLED to false in the App Service configuration. Obviously I've created the correct custom domains in the App Service and changed the domain DNS which is managed outside Azure.
Also, and I don't know if it is all related to this issue, I've noticed that Google Page Speed is unable to reach the website reporting the error "Lighthouse encountered an error loading the requested page".
What can I do to resolve the reported cURL error 28 and maybe these performance issues?

Migrate SilverStripe website from one server to another

I migrated a SilverStripe website from one server to another. To do that I took the following steps:
Transferred a backup of the files from the old server and to the new server.
Dumped the old Database and imported it to the new server.
Updated _conn.php to connect to the new database.
Now when I hit the URL in a browser it is giving a 500 error. I didn't update the DNS for new server, instead I point to new server from my local system via hosts file. If I hit mywebsite.com/robots.txt, it is showing the robots.txt but not showing other pages.
500 error means server error which means something in apache(?), php or other logs. Ensure debug mode is on for SilverStripe to get the most information.
If all else fails start with checking your .htaccess is fine and redirecting and use with debug [die] statements progressively.
Ideally use the silverstripe-installer to debug any server issues and install a clean install, then you can copy the site over when you know it is working.

'uable to open read only database' while deploying django cms in cPanel server

I already deployed a django cms in my cPanel server using (mod_wsgi), But it showing 500 internal server error. 'unable to open a read only database' (default sqllite). Any one know how to resolve it.

Error 500 during uploading a backup file into Drupal on pc

I am beginner in Drupal, I have downloaded site file from the dev server using Git and while I am trying to run these files in the htdocs(xampp) by localhost. I got the below error
Server error!
The server encountered an internal error and was unable to complete
your request. Either the server is overloaded or there was an error in
a CGI script.
If you think this is a server error, please contact the webmaster.
Error 500
localhost 05/30/12 14:30:17 Apache/2.2.21 (Win32) mod_ssl/2.2.21
OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1
The following link has more details but basicly you need to firs backup and download the database used on yor dev drupal site and upload it on your copy of xampp. After that you need to edit your configuration and maybe your .htacess (if not using the default one that comes with drupal) for your local pc.
http://learnbythedrop.com/drop/95
http://drupal.org/node/350271

How To Redirect aspx files that are "Not Found"

I recently migrated my site from a aspx site to wordpress. The wp site is now hosted on rackspace cloud.
When I go to index.aspx I get the following message:
Server Error in '/' Application.
The resource cannot be found.
Description: HTTP 404. etc.
Previous times I have done a migration like this I uploaded a file index.aspx with a redirection inside and that worked well, but now it doesn't seem to find the file at all.
Nor did a redirect from the htaccess, nor the redirection plugin. I just get that same message.
Any ideas?
I believe Cloud Sites supports the ability to serve both PHP and ASP content from the same "server". I suspect you have "Windows Technology" enabled on your account which is attempting to serve the index.aspx file and ignoring the .htaccess file. The following articles should help:
Cloud Sites KB - How can I redirect from ASP/.NET to PHP?
Cloud Sites KB - How do I enable a secondary technology?
Your server may not be configured to treat *.aspx as html files.

Resources