Jump to content

500 Internal Server Error


gulaly
 Share

Recommended Posts

suddenly i cannot open my web, 500 internal server error.

I try to regenerate .htaccess , not solve my problem.

I try to see error log with this way, but the error log, not appear.

 

I try this way to see my error log.

Open config/defines.inc.php

On or around line 28 you will find this line

define('_PS_MODE_DEV_', false);

Change that line to read

define('_PS_MODE_DEV_', true);

 

can u help me?

My web destinysound.com

Share this post


Link to post
Share on other sites

@gulaly :

 

Just ask to your hosting company or create a file sth like phpinfo.php with this content :

 

<?php

phpinfo();

?>

 

Load to your root directory and open your fav browser. Run phpinfo.php

 

(Browse http://www.yoursite.com/phpinfo.php)

 

Opti

 

Edit : Don't forget to delete this file. It may cause security hole.

Edited by optizyme (see edit history)

Share this post


Link to post
Share on other sites

@gulaly :

 

Just ask to your hosting company or create a file sth like phpinfo.php with this content :

 

<?php

 

phpinfo();

 

?>

 

Load to your root directory and open your fav browser. Run phpinfo.php

 

(Browse http://www.yoursite.com/phpinfo.php)

 

Opti

 

Edit : Don't forget to delete this file. It may cause security hole.

 

 

 

Sorry i try your solution, but not have any clue, still 500 internal server error...

Share this post


Link to post
Share on other sites

it's usually simple .txt file located in root dir of your hosting account (FTP) or in subdirectories like /tmp/ or /log/ or /bin/

you can also check your hosting control panel

 

 

Thanks vekia, this my error log, my web can still access on 02-sep-2013.

I found error my website at 03-sep-2013

 

[02-Sep-2013 22:35:34 America/New_York] PHP Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0

[02-Sep-2013 22:35:39 America/New_York] PHP Deprecated: Directive 'register_globals' is deprecated in PHP 5.3 and greater in Unknown on line 0

[02-Sep-2013 22:35:39 America/New_York] PHP Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0

[02-Sep-2013 22:36:03 America/New_York] PHP Deprecated: Directive 'register_globals' is deprecated in PHP 5.3 and greater in Unknown on line 0

[02-Sep-2013 22:36:03 America/New_York] PHP Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0

[02-Sep-2013 22:37:14 America/New_York] PHP Deprecated: Directive 'register_globals' is deprecated in PHP 5.3 and greater in Unknown on line 0

[02-Sep-2013 22:37:14 America/New_York] PHP Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0

[02-Sep-2013 22:37:17 America/New_York] PHP Deprecated: Directive 'register_globals' is deprecated in PHP 5.3 and greater in Unknown on line 0

[02-Sep-2013 22:37:17 America/New_York] PHP Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0

[02-Sep-2013 22:37:30 America/New_York] PHP Deprecated: Directive 'register_globals' is deprecated in PHP 5.3 and greater in Unknown on line 0

[02-Sep-2013 22:37:30 America/New_York] PHP Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0

[02-Sep-2013 22:37:32 America/New_York] PHP Deprecated: Directive 'register_globals' is deprecated in PHP 5.3 and greater in Unknown on line 0

[02-Sep-2013 22:37:32 America/New_York] PHP Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0

[02-Sep-2013 22:37:42 America/New_York] PHP Deprecated: Directive 'register_globals' is deprecated in PHP 5.3 and greater in Unknown on line 0

[02-Sep-2013 22:37:42 America/New_York] PHP Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0

[02-Sep-2013 22:37:44 America/New_York] PHP Deprecated: Directive 'register_globals' is deprecated in PHP 5.3 and greater in Unknown on line 0

[02-Sep-2013 22:37:44 America/New_York] PHP Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0

[02-Sep-2013 23:20:15 America/New_York] PHP Deprecated: Directive 'register_globals' is deprecated in PHP 5.3 and greater in Unknown on line 0

[02-Sep-2013 23:20:15 America/New_York] PHP Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0

[02-Sep-2013 23:20:15 America/New_York] PHP Deprecated: Directive 'register_globals' is deprecated in PHP 5.3 and greater in Unknown on line 0

[02-Sep-2013 23:20:15 America/New_York] PHP Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0

[03-Sep-2013 03:51:23 UTC] PHP Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0

[03-Sep-2013 03:51:23 UTC] PHP Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0

[03-Sep-2013 03:51:45 UTC] PHP Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0

[03-Sep-2013 03:51:45 UTC] PHP Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0

[03-Sep-2013 03:51:45 UTC] PHP Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0

[03-Sep-2013 03:51:45 UTC] PHP Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0

[03-Sep-2013 05:23:50 UTC] PHP Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0

[03-Sep-2013 05:23:50 UTC] PHP Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0

[03-Sep-2013 05:23:51 UTC] PHP Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0

[03-Sep-2013 05:23:51 UTC] PHP Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0

[03-Sep-2013 05:29:23 UTC] PHP Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0

[03-Sep-2013 05:29:23 UTC] PHP Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0

[03-Sep-2013 06:51:19 UTC] PHP Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0

[03-Sep-2013 06:51:19 UTC] PHP Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0

[03-Sep-2013 06:51:20 UTC] PHP Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0

[03-Sep-2013 06:51:20 UTC] PHP Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0

[03-Sep-2013 06:52:10 UTC] PHP Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0

[03-Sep-2013 06:52:10 UTC] PHP Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0

[03-Sep-2013 06:52:12 UTC] PHP Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0

[03-Sep-2013 06:52:13 UTC] PHP Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0

[03-Sep-2013 06:52:15 UTC] PHP Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0

[03-Sep-2013 06:52:15 UTC] PHP Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0

[03-Sep-2013 06:52:23 UTC] PHP Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0

[03-Sep-2013 06:52:23 UTC] PHP Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0

[03-Sep-2013 06:52:24 UTC] PHP Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0

[03-Sep-2013 06:52:24 UTC] PHP Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0

[03-Sep-2013 07:38:17 UTC] PHP Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0

[03-Sep-2013 07:38:17 UTC] PHP Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0

[03-Sep-2013 07:38:17 UTC] PHP Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0

[03-Sep-2013 07:38:17 UTC] PHP Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0

Share this post


Link to post
Share on other sites

I found a clue, If i delete my php.ini file, my web working well, if i upload again my php.ini file, 500 internal server error....

 

Any Solution ?

 

My last sentence php.ini file

 

; USER MODIFIED PARAMETERS FOLLOW

post_max_size = 50M
upload_max_filesize = 50M
max_execution_time = 120
max_input_time = 180
memory_limit = 128M

 

How if i delete my php.ini???

Any bad effects for my web?

Edited by gulaly (see edit history)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More