Jump to content
[MUST READ] Forum Rules ×

PHP HTTP error 500 - no error shown


koostamas

Recommended Posts

So I just created my free hosting account and migrated my website from an other free hosting service. My static html files are working, but all of my php files give a server http 500 error. I enabled display_error, but it still doesn't show anything. My php pages were working at the previous hoster and I didn't change anything since then. What could be the problem?

Link to comment
Share on other sites

1 hour ago, koostamas said:

So I just created my free hosting account and migrated my website from an other free hosting service. My static html files are working, but all of my php files give a server http 500 error. I enabled display_error, but it still doesn't show anything. My php pages were working at the previous hoster and I didn't change anything since then. What could be the problem?

Have you contacted Support at https://support.ifastnet.com ?

They will be more able to help you, with the detaiils you have given us I cannot think of anything, maybe there is a bug in your code or a function that cannot be used in Free Hosting?

Link to comment
Share on other sites

16 hours ago, koostamas said:

So I just created my free hosting account and migrated my website from an other free hosting service. My static html files are working, but all of my php files give a server http 500 error. I enabled display_error, but it still doesn't show anything. My php pages were working at the previous hoster and I didn't change anything since then. What could be the problem?

Note that even though your PHP configuration may enable error messages, your script's code may cause them to be surpressed as well.

Check if your script has some kind of debug mode which you can enable to show the error information.

You could submit a support ticket to iFastNet, but they make it quite clear that they won't help with website development, so I don't think they can help you.

Link to comment
Share on other sites

On 7/31/2018 at 10:41 PM, koostamas said:

So I just created my free hosting account and migrated my website from an other free hosting service. My static html files are working, but all of my php files give a server http 500 error. I enabled display_error, but it still doesn't show anything. My php pages were working at the previous hoster and I didn't change anything since then. What could be the problem?

Hi, you said that you had migrated from other hosting. Then please delete php.ini, .user.ini files and also remove auto php generated code from .htaccess file. You problem will be solved

 

Link to comment
Share on other sites

12 hours ago, PlanetCloud said:

Hi there,

PHP.INI or USER.INI files will not be parsed as settings by the server since the modification of it requires root access and only VPS or Dedicated servers offers a way to edit it.

but .htaccess file will be parsed and php manager of cpanel add php code in .htaccess also so, i think he have to remove that auto generated php code from .htaccess to remove this 500 internal server error. :D 

Link to comment
Share on other sites

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...