[ Video Sharing CMS v4 ] 500 Internal Server Error - HELP!

Started by diljigar,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

diljigarTopic starter

Hi PHPVibers,

I get 500 Internal Server Error, when I clear my browser catch it works again but after many browsing in the site I get 500 Internal Server Error again.
this is on the browser:
QuoteInternal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@sitename.net 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.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

and this is in error_log:
[19-Aug-2014 08:51:25 UTC] PHP Notice:  Undefined variable: range0 in /home/sitename/public_html/stream.php on line 78



any help would be appreciated :)
  •  

PHPVibe A.

Sounds like a server miss-configuration, code issues don't variate, if it's an error, it's an error 100 times out of 100 refreshes.

That notice is harmless, the first byte seems to be missing when reading the video's byte range.

Open stream.php and change

<?php // physical path of your root


to

<?php  error_reporting(0); 
/* physical path of your root */


to hide it.

PHPVibe A.


diljigarTopic starter

Sorry for late reply, I was waiting to see if I get the 500 error again or not, BUT unfortunately I get the same error.
I did apply the changes. still get these errors in error_log
[19-Aug-2014 10:51:23 UTC] PHP Notice:  Undefined index: file in /home/sitename/public_html/stream.php on line 6
[19-Aug-2014 10:51:23 UTC] PHP Notice:  Undefined offset: 1 in /home/sitename/public_html/stream.php on line 7
[19-Aug-2014 12:05:47 UTC] PHP Notice:  Undefined variable: range0 in /home/sitename/public_html/stream.php on line 78
[19-Aug-2014 19:19:35 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/sitename/public_html/feed.php on line 18


  •  

PHPVibe A.

Does base_64 encode works on your server?
You call stream.php without the file parameter? (Just trying to figure out from where the error occurs).

diljigarTopic starter

Thanks Alex,

I finally figured it out where the problem was.
I had problem uploading mp3 files, I changed my php version in cPanel using "Select PHP Version" tool, and then changed the PHP Settings, then I was able to upload MP3s BUT instead I got 500 Internal Server Errors.
Now I changed back the PHP Version to "native (5.3)" , which is impossible to change the PHP Settings (Warning: Changing php modules and php options via PHP Selector for native php version is impossible).
NO 500 error now but I can not upload MP3s, I get Json error

any suggestion on this :)
  •  

Marius P.

Contact your host, they know their setup/box better, no need for us to speculate on your server here.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

Similar topics (7)