500 errors usually typical that the server has actually encountered one unexpected problem that prevented it from fulfilling the request made by the client. This is a basic error class returned by a internet server when it encounters a trouble in i beg your pardon the server itself deserve to not be an ext specific about the error condition in its response to the client.

You are watching: Why was the gentleman who was selling watches unhappy

In many cases this is no an indication of an actual difficulty with the server itself yet rather a difficulty with the information the server has actually been instructed to access or return together a an outcome of the request. This error is often caused by an problem on your site which might require additional review by your web host.

Please contact your web hold for additional assistance.

Is there anything that I have the right to do?

There room a couple of common causes for this error code including difficulties with the individual manuscript that may be executed upon request. Few of these are much easier to spot and also correct than others.

File and Directory Ownership

The server you are on operation applications in a very specific means in many cases. The server normally expects files and also directories be owned by your particular user cPanel user. If you have made transforms to the document ownership on your own through SSH please reset the Owner and also Group appropriately.

File and Directory Permissions

The server you space on runs applications in a an extremely specific means in many cases. The server typically expects files such together HTML, Images, and also other media to have actually a permission setting of 644. The server additionally expects the permission mode on directories to be collection to 755 in most cases.

(See the ar on knowledge Filesystem Permissions.)

Command Syntax Errors in .htaccess file

In the .htaccess file, you may have included lines that are conflicting through each various other or that are not allowed.

If friend would favor to examine a specific rule in your .htaccess record you deserve to comment that details line in the .htaccess by including # to the beginning of the line. You should always make a back-up of this document before you start making changes.

For example, if the .htaccess look at like

DirectoryIndex default.htmlAddType application/x-httpd-php5 php

Then shot something prefer this

DirectoryIndex default.html#AddType application/x-httpd-php5 php

Note: due to the method in i beg your pardon the server atmospheres are setup you might not use php_value debates in a .htaccess file.

Exceeded process Limits

It is possible that this error is caused by having too numerous processes in the server queue for her individual account. Every account on ours server might only have actually 25 simultaneously processes energetic at any point in time whether they are regarded your website or other processes owned by your user such together mail.

ps faux

Or form this to see a certain user"s account (be sure to change username with the actual username):

ps faux |grep username

Once you have actually the procedure ID ("pid"), kind this to death the specific process (be sure to change pid through the actual procedure ID):

kill pid

Your web hold will have the ability to advise friend on exactly how to prevent this error if that is resulted in by procedure limitations. Please call your internet host. Be certain to incorporate the actions needed to see the 500 error on her site.

Understanding Filesystem Permissions

Symbolic Representation

The first character indicates the document type and also is not related to permissions. The remaining nine personalities are in 3 sets, every representing a course of permissions as three characters. The first set to represent the user class. The second set to represent the group class. The third set to represent the rather class.

Each that the three personalities represent the read, write, and execute permissions:

r if analysis is permitted, - if that is not.w if creating is permitted, - if it is not.x if execution is permitted, - if that is not.

The following are some examples of symbolic notation:

-rwxr-xr-x a regular file whose user class has complete permissions and whose group and others classes have only the read and execute permissions.crw-rw-r-- a personality special document whose user and also group classes have the read and also write permissions and also whose others course has just the check out permission.dr-x------ a catalog whose user course has read and execute permissions and whose group and also others classes have no permissions.Numeric Representation

Another method for representing permissions is one octal (base-8) notation together shown. This notation is composed of at least three digits. Each of the 3 rightmost number represents a various component of the permissions: user, group, and also others.

Each of this digits is the amount of its ingredient bits as a result, particular bits include to the amount as it is represented by a numeral:

The read little adds 4 come its total (in binary 100),The write little adds 2 to its full (in binary 010), andThe execute bit adds 1 to its total (in binary 001).

These worths never produce ambiguous combinations. Each amount represents a specific collection of permissions. An ext technically, this is one octal representation of a bit field – each little bit references a different permission, and also grouping 3 bits in ~ a time in octal corresponds to grouping these permissions by user, group, and others.

Permission setting 0755

4+2+1=7Read, Write, eXecute4+1=5Read, eXecute4+1=5Read, eXecute

Permission mode 0644

4+2=6Read, Write4Read4Read

The .htaccess document contains directives (instructions) the tell the server how to law in particular scenarios and directly influence how your website functions.

Redirects and also rewriting URLs space two an extremely common directives uncovered in a .htaccess file, and also many script such as WordPress, Drupal, Joomla and also Magento add directives come the .htaccess therefore those scripts can function.

It is possible that you might need to edit the .htaccess paper at some point, for assorted reasons.This ar covers exactly how to modify the paper in cPanel, however not what may need to be changed.(You may need come consult other articles and resources for that information.)

There are many Ways to modify a .htaccess FileEdit the record on her computer and also upload it come the server via FTPUse an FTP program"s modify ModeUse SSH and a text editorUse the document Manager in cPanel

The easiest method to edit a .htaccess file for most world is v the document Manager in cPanel.

How to edit .htaccess papers in cPanel"s file Manager

Before you carry out anything, the is argued that you backup your website so that you have the right to revert ago to a previous variation if something goes wrong.

Open the file ManagerLog right into cPanel.In the documents section, click on the File Manager icon.Check the box forDocument root for and also select the domain name you wish to accessibility from the drop-down menu.Make sureShow Hidden papers (dotfiles)" is checked.ClickGo. The document Manager will open in a brand-new tab or window.Look for the .htaccess record in the perform of files. You might need to role to find it.To edit the .htaccess FileRight click on the .htaccess file and also clickCode Edit from the menu. Alternatively, you can click on the icon for the .htaccess paper and then click the Code Editor icon at the top of the page.A dialogue box may show up asking you around encoding. Just clickEdit come continue. The editor will open up in a new window.Edit the paper as needed.ClickSave Changes in the upper right hand edge when done. The changes will it is in saved.Test her website come make certain your transforms were efficiently saved. If not, exactly the error or revert back to the vault version till your website works again.Once complete, you can clickClose come close the paper Manager window.

The permissions ~ above a paper or directory tell the server how in what ways it should be able to interact with a record or directory.

This ar covers just how to modify the file permissions in cPanel, but not what might need to it is in changed.(See the ar on what you can do for an ext information.)

There are many Ways to edit a record PermissionsUse one FTP programUse SSH and a message editorUse the paper Manager in cPanel

The easiest method to edit record permissions because that most world is v the file Manager in cPanel.

How to Edit document permissions in cPanel"s record Manager

Before you perform anything, that is suggested that you back-up your website so that you have the right to revert earlier to a previous version if something go wrong.

See more: Make It Or Break It Season 3 Episode 4, Make It Or Break It Down: Season 3, Episode 4

Open the document ManagerLog right into cPanel.In the documents section, click on the File Manager icon.Check package forDocument source for and select the domain surname you wish to access from the drop-down menu.Make sureShow Hidden records (dotfiles)" is checked.ClickGo. The file Manager will open in a new tab or window.Look for the file or brochure in the perform of files. You may need to role to uncover it.To edit the PermissionsRight click the file or directory and also clickChange Permissions native the menu.A conversation box should appear permitting you to choose the correct permissions or usage the numerical value to set the correct permissions.Edit the record permissions as needed.ClickChange Permissions in the lower left hand edge when done. The changes will it is in saved.Test your website come make sure your alters were efficiently saved. If not, exactly the error or revert ago to the previous version until your website works again.Once complete, you have the right to clickClose to close the file Manager window.