Error 500 during uploading a backup file into Drupal on pc - drupal

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

Related

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.

uploading wordpress files to web host

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?

web source directory shows when request is https instead of http

Good Day,
How can I prevent showing the directory of my source code when request is https? I am currently running my files in a local network and I found out the if I access the address using https:\\site.ur; I then get a warning on chrome (if I proceed Ill be redirected to its source directory) If I used http:\\site.url its running I am running on apache and windows 7 server.. thanks for the help

Getting nginx 404 error on uploaded files

I am using PHP (5.3) to upload jpeg files, create folders for those files and store them. I have a development version and a live version both running on the same server (CentOS 7, Apache, Plesk 12).
On the live version, I am experiencing no problems, but on the dev version, the files are uploading successfully but I am getting nginx 404 errors when trying to access them through the browser.
If I try to access something which doesn't exist, I get a standard 404 error (not an nginx one).
When checking the access_log, I see a 200 code for the files.
Nothing in the error_log nor in the nginx error log.
No differences in PHP code, folder structure or configuration.
I recently changed servers and this is the first time I have attempted this upload on the dev system on this new server. Live version is used daily for this activity.
If I try to access older uploads on the dev server, they all work fine. It is only affecting new uploads.
Permissions and ownership are the same for both live and dev systems and old/new folders/files.
If I manually upload a jpeg to the folder, it also triggers an nginx 404 when accessed.
I have no experience with nginx so I am at a loss as to what I can try to resolve this issue.
It looks like you have upload and access files in one place but checking log in another place.
Are you sure you have no issues with domain name resolving?
Also it can be issue with virtual host - when you access file it overtaken by some other virtual host. It maybe default host for IP address.
I recommend you grep all system and vhost logs for file you have trying to access.

How to fix wp-admin/install.php was not found on this server

Hi everyone, I download a project from the server to my local directory where I have other Wordpress projects and they work perfectly.
I change the database and the configure.php file but when I try to view the page I get this error.
wp-admin/install.php was not found on this server
Any ideas?

Resources