Internal Server Error on hosted install of ver 6.60

Linux related discussion about netjukebox
Locked
dnuttall
User
Posts: 7
Joined: Fri Oct 18, 2019 11:01 am

Internal Server Error on hosted install of ver 6.60

Post 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
User avatar
wbartels
netjukebox developer
Posts: 872
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Internal Server Error on hosted install of ver 6.60

Post 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
dnuttall
User
Posts: 7
Joined: Fri Oct 18, 2019 11:01 am

Re: Internal Server Error on hosted install of ver 6.60

Post 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.
User avatar
wbartels
netjukebox developer
Posts: 872
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Internal Server Error on hosted install of ver 6.60

Post 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
dnuttall
User
Posts: 7
Joined: Fri Oct 18, 2019 11:01 am

Re: Internal Server Error on hosted install of ver 6.60

Post by dnuttall »

All produce exactly the same error.
User avatar
wbartels
netjukebox developer
Posts: 872
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Internal Server Error on hosted install of ver 6.60

Post 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?
dnuttall
User
Posts: 7
Joined: Fri Oct 18, 2019 11:01 am

Re: Internal Server Error on hosted install of ver 6.60

Post by dnuttall »

Copied config.php to test.php
http://mysite.com/test.php
WORKS FINE!
User avatar
wbartels
netjukebox developer
Posts: 872
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Internal Server Error on hosted install of ver 6.60

Post 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).
dnuttall
User
Posts: 7
Joined: Fri Oct 18, 2019 11:01 am

Re: Internal Server Error on hosted install of ver 6.60

Post 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.
User avatar
wbartels
netjukebox developer
Posts: 872
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Internal Server Error on hosted install of ver 6.60

Post by wbartels »

You're welcome!
Locked