Page 1 of 1

Internal Server Error on hosted install of ver 6.60

Posted: Fri Oct 18, 2019 12:53 pm
by dnuttall
I have installed netjukebox on a hosted (DreamHost) sub-domain and it allows login and toggle through the main menu options (media, favorites, etc).

When it comes to the Config menu, the response is "Internal Server Error".

My directory permissions are 755 and file permissions are 644.

Without Config working, the install is essentially "non-working".

Where should I look to correct the issue(s)?

TIA.
Dave
San Antonio, Texas

Re: Internal Server Error on hosted install of ver 6.60

Posted: Fri Oct 18, 2019 10:27 pm
by wbartels
Can you login as admin and try out these scripts form you netjukebox home directory?
config.php is the main config menu, and the other are sub menu's except from update.php.

Code: Select all

config.php
config.php?action=playerProfile
config.php?action=streamProfile
config.php?action=downloadProfile
config.php?action=skinProfile
users.php
users.php?action=online
users.php?action=userStatistics&period=recent
statistics.php
genre.php?action=genreStructure
update.php?action=update
config.php?action=batchTranscode
upload.php?action=selectFiles
config.php?action=shareImage

Re: Internal Server Error on hosted install of ver 6.60

Posted: Fri Oct 18, 2019 11:01 pm
by dnuttall
Thanks for the suggestions.
ALL of the config.php scripts/options produce the Internal Server Error.
While, users.php, statistics.php, etc work as expected.

I'm not sure if it is part of the problem, but in this case, there is NO LOCALHOST.

The DreamHost system gives the MySQL server its own IP and each domain/sub-domain gets its own IP address.

When I installed the same code into an Oracle "VirtualBox" instance, things work almost flawlessly....but there I have LOCALHOST.

Re: Internal Server Error on hosted install of ver 6.60

Posted: Sat Oct 19, 2019 10:59 am
by wbartels
dnuttall wrote: Fri Oct 18, 2019 11:01 pm I'm not sure if it is part of the problem, but in this case, there is NO LOCALHOST.

The DreamHost system gives the MySQL server its own IP and each domain/sub-domain gets its own IP address.

When I installed the same code into an Oracle "VirtualBox" instance, things work almost flawlessly....but there I have LOCALHOST.
I don't think that the problem lies there because all other working scripts make use of the same include/config.inc.php file.

Can you double check that ALL the scripts below give a "Internal Server Error"?

Code: Select all

config.php
config.php?action=playerProfile
config.php?action=streamProfile
config.php?action=downloadProfile
config.php?action=skinProfile
config.php?action=batchTranscode
config.php?action=shareImage

Re: Internal Server Error on hosted install of ver 6.60

Posted: Sun Oct 20, 2019 11:20 am
by dnuttall
All produce exactly the same error.

Re: Internal Server Error on hosted install of ver 6.60

Posted: Sun Oct 20, 2019 3:31 pm
by wbartels
dnuttall wrote: Sun Oct 20, 2019 11:20 am All produce exactly the same error.
Strange, some of those scripts are very basic.

The checksum from config.php in netjukebox 6.60 should be
SHA1: 9fabbf4e84d2e19652716fa2ad2de7170c951be4

Maybe somehow the config.php filename is not supported with your web hosting provider.
Can you copy config.php to test.php and open that file from your browser?

Re: Internal Server Error on hosted install of ver 6.60

Posted: Sun Oct 20, 2019 3:44 pm
by dnuttall
Copied config.php to test.php
http://mysite.com/test.php
WORKS FINE!

Re: Internal Server Error on hosted install of ver 6.60

Posted: Sun Oct 20, 2019 3:55 pm
by wbartels
As temporary fix rename config.php to config_.php and search and replace config.php to config_.php in all netjukebox php scripts.
I also suggest you contact your hosting provider to fix this (I assume miss configuration).

Re: Internal Server Error on hosted install of ver 6.60

Posted: Sun Oct 20, 2019 4:23 pm
by dnuttall
DreamHost chat support says they can't see a reason why the error occurs, but they are going to look further.
Will advise further when I hear back from them.
Thanks for your responses.
d.

Re: Internal Server Error on hosted install of ver 6.60

Posted: Sun Oct 20, 2019 4:57 pm
by wbartels
You're welcome!