500 internal server error wordpress with godaddy - php

I am getting the following type of error message on both admin and frontend of my WordPress website.
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request. Please contact the server
administrator to inform of the time the error occurred and of anything
you might have done that may have caused the error.
More information about this error may be available in the server error
log.
I already tried to rename the plugin directory, removed or renamed the .htaccess file and changed WordPress file permissions to 755. But no luck.

I have the exactly same problem on my WP site, because I reached the limit of my godaddy web hosting resources. They say I need to buy more server resources for my website to work regularly.

Related

500 Internal Server Error when adding module

Im have a opencart 2.3 installed with a custom theme along with a custom module that shows a product slider. The problem is that i setuped the site on my localhost and everything seem to be working perfect.
But when i uploaded it to my VPS the home page gives an internal server error when i add the module the to the home page. When i remove it, the page loads fine. This happens only on my VPS. When i uploaded it to a differnt host and my localhost everything works fine.
The main problem is that i cannot find the actual error which is causing the problem because the apache error logs doesnt log any php related errors.
so far,
i removed the htaccess
enable error reporting through htaccess
removed extra php.ini file which might be conflicting
added the error reporting code on the index.php file
checked the opencart error logs
none of these seem to work. It shows the internal server error instead of the actual error. For almost 2 weeks i have been struggling and tried almost all the methods in SO but none seems to be working in my case
Can someone let me know how can i get it show the actual error or log it instead of the internal server error?

Ckeditor, uploading an image

We keep getting a 500 internal server error when using Ckeditor to upload an image from local machine. Click here to view screenshot
This is the error we have been getting: /ckeditor/filemanager/connec…hp/upload.php?Type=Image&CKEditor=content&CKEditorFuncNum=1&langCode=en-gb 500 (Internal Server Error)
We have removed the .htaccess file and we're still getting this error.
So, we copied the whole folder to another hosting package. And when we tried to run the phpinfo file, it worked absolutely fine there.
But it is not working on our VPS server and is giving 404 Page not found: https://www.diarydirectory.com/redesign/assets/ckeditor/filemanager/connectors/php/phpinfo.php
GoDaddy aren't being helpful at all.
Does anyone have any suggestions at all? Our team have exhausted all options

Entire Wordpress theme reset to default after server upload

I created a Wordpress website, customized its CSS and PHP, uploaded images, set up Woocommerce etc. When I uploaded it to server, all the changes I have made were lost. Also, woocommerce pages stopped working with this error:
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
Please contact the server administrator at webmaster#mysite.com to
inform them of the time this error occurred, and the actions you
performed just before this error.
More information about this error may be available in the server error
log.
Additionally, a 500 Internal Server Error error was encountered while
trying to use an ErrorDocument to handle the request.
The way I uploaded it:
uploaded .htacces to public_html
uploaded the wordpress directory contents to the same folder
exported the .sql database from local phpMyAdmin
replaced all localhost/mysite/wordpress and localhost:8012/mysite/wordpress to www.mysite.com (the port is specified because there was a problem with apache, so I had to configure it)
created a database in cpanel
created a user in cpanel
changed db_name, db_user and db_password in wp_config.php file (entered the values in prefix_name format)
added the user to database in cpanel with all privileges
in phpMyAdmin on server imported the database
I used FileZilla, if relevant.
This is not the first time I'm doing this, and I had problems before, but not like this. I heard it had something to do with collation, but I tried changing it - no luck.
Disclaimer: I SEARCHED THE GOOGLE AND RELEVANT ANSWERS HERE WERE NO HELP EITHER
Check AllowOverride key in apache httpd.conf ( or http.conf ) it must be ALL not none

IIS Plesk Shared Hosting Wordpress started to give 500.50 error out of nowhere for some files

I have my Wordpress on Shared IIS hosting using Plesk. Today, just by itself, some of my uploaded files started to give this error:
HTTP Error 500.50 - URL Rewrite Module Error. The page cannot be
displayed because an internal server error has occurred.
Most likely causes: IIS received the request; however, an internal
error occurred during the processing of the request. The root cause of
this error depends on which module handles the request and what was
happening in the worker process when this error occurred. IIS was not
able to access the web.config file for the Web site or application.
This can occur if the NTFS permissions are set incorrectly. IIS was
not able to process configuration for the Web site or application. The
authenticated user does not have permission to use this DLL. The
request is mapped to a managed handler but the .NET Extensibility
Feature is not installed.
Things you can try: Ensure that the NTFS permissions for the
web.config file are correct and allow access to the Web server's
machine account. Check the event logs to see if any additional
information was logged. Verify the permissions for the DLL. Install
the .NET Extensibility feature if the request is mapped to a managed
handler. Create a tracing rule to track failed requests for this HTTP
status code. For more information about creating a tracing rule for
failed requests, click here.
The interesting thing is that, when a file is uploaded, it's other dimension versions are created, and I have no problem accessing those. But when I try to access the original file, I'm getting that error. When I try to inspect file permissions on my Plesk control panel, the wp-content and the uploads folder does have the write permission to my user, but when I check the problematic file, Plesk can't access it from the control panel too:
Unable to get the object (C:\Inetpub\vhosts\PATH-TO-MY-IMAGE) security
info: (5) Access is denied. at execute "C:\Program Files
(x86)\Parallels\Plesk\admin\bin\filemng.exe" MY_USER_NAME
--permissions --list-common "--file=C:\Inetpub\vhosts\PATH-TO-MY-IMAGE"
"--accounts=tmpB575.tmp"(RunTime::RunAsUser::run line 260) (Error code
1)
---------------------- Debug Info -------------------------------
I can't even read the permissions on that file. Trying to delete the file using FileZilla results in an error too. This happened to SOME files today, and NOT to others, regardless of upload order, file name or type.
I've checked out many pages regarding this, but they all point to one thing: editing PHP.ini file to change the upload folder. After some search I've created a new PHP.ini like this:
upload_tmp_dir = "C:\Inetpub\vhosts\PATH_TO_A_FOLDER_THAT_I_CAN_WRITE_TO_IN_MY_HTTPDOCS_FOLDER"
Uploaded it to my httpdocs folder, restarted my app pool from Plesk, but no avail. I try uploading new files and I still get the same error. What I haven't understood is that why this started happening today and why is this happening completely randomly (I haven't changed any setting, I haven't entered into any settings pages for weeks). Is this something related to my configuration or should I contact my hosting provider?
It turned out to be a problem with my hosting company at their side. There was nothing I could do.

error while running project in wamp

i have a website in php 5. I have downloaded all the files from the server and put all in my wamp (in a local system for changing some text). When i run localhost i got an error
**Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin#localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.**
I don't know PHP5.
Does any one know how to browse my site in local system.
Please help me
Thanks ina advance
Ok, by default, Wamp doesn't have url_rewrite enabled.
And your problem seems to be that of url_rewrite only.
Click on your Wamp Icon in the task bar, goto Apache -> modules -> scroll down to url_rewrite and click to enabled it.
This should solve your problem.
Check if "AllowOverride" instruction in main "httpd.conf" file allows you to use .htaccess files.
If not, make it "AllowOverride all" and restart your WampServer.

Categories