solved Jamroom 5 with GoDaddy

Ambassador
Ambassador
@ambassador
10 years ago
11 posts
Installing Jamroom 5 on a shared Godaddy plan. I'm getting an internal server error message. I can install wordpress just fine. Something in the .htaccess?
updated by @ambassador: 12/29/14 09:14:08AM
michael
@michael
10 years ago
7,746 posts
An 'internal server error' is an error message. check your servers error logs to find out what the error is.

"I have an error" is hard to fix. ;)
Ambassador
Ambassador
@ambassador
10 years ago
11 posts
Thanks man. Yeah, I had just recently updated the log, and it wasn't showing, but it is now.

Error: "Option Includes not allowed here"

When I remove '-Includes' from .htaccess it works, but is this needed to run Jamroom 5?

Also says PHP install needs 'system' enabled. I have Godaddy shared hosting and I've sent them a support ticket.
updated by @ambassador: 01/08/14 08:25:24PM
michael
@michael
10 years ago
7,746 posts
looks like commenting out that -includes is the right thing to do for godaddy judging by their support article here:

http://support.godaddy.com/help/article/6945/issues-with-serverside-includes-and-htaccess-files

Quote: You do not need to enable Server-Side Includes for HTML files via .htaccess. They're enabled by default from Apache 2.2 and onward, and enabling them results in an error.

I'm not sure how vital the 'system' function not being available will be. If the system check is saying it needs it then not having it could cause issues.

eg:
http://www.jamroom.net/the-jamroom-network/networkmarket/22/db-and-system-backup

says "Requires system() access to mysqldump to work properly...."

so somethings use it for sure.

Its not on the "Requirements" page, so once we find out for sure, I need to update that page:
http://www.jamroom.net/the-jamroom-network/documentation/getting-started/774/requirements
brian
@brian
10 years ago
10,148 posts
Yeah you can leave that Includes out - it's basically excluded in the JR .htaccess file just as a security precaution, but can be removed. Since we have anough customers that use Godaddy I can get that removed from the installer too.

system() will be used for doing media conversions and preview generation - without that function those functions will not work.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Ambassador
Ambassador
@ambassador
10 years ago
11 posts
Thanks guys. Is there a way to force the install past "need to enable system" error? I'd like to play with and test out JR5 before switching to another host.
updated by @ambassador: 01/10/14 10:22:21PM
michael
@michael
10 years ago
7,746 posts
not really. The system is telling you "I'm not going to work correctly" and by "push past" your saying "I know your not going to work correctly but I just want to see how you work."

To see whats available in JR5 check out some of the other sites running it:
https://www.jamroom.net/showcase
https://www.jamroom.net/showcase/sites

and some videos on it:
https://www.youtube.com/user/jamroomdotnet

or perhaps setup a virtualbox server and install it locally.
brian
@brian
10 years ago
10,148 posts
I'd recommend not to, but you can modify this line in the install.php script:

$_funcs = array('system', 'json_encode', 'json_decode', 'ob_start', 'ob_end_clean', 'curl_init', 'gd_info');

and remove 'system' from that list and it will bypass the check.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Ambassador
Ambassador
@ambassador
10 years ago
11 posts
Thank you guys... I found the problem! After several eval64 injections last year, I disabled some functions in php5.ini. Guess what was buried in the middle of this string of functions? 'system'

Now, when I click Create Account, I get the server error "limit of 10 internal redirects due to probable configuration error."

I have multiple domains on this hosting account, so is it possible that I need to add something to the top of the .htaccess that includes my hosting username, etc?
updated by @ambassador: 01/11/14 10:46:30AM
brian
@brian
10 years ago
10,148 posts
Yeah - you might try adding a "RewriteBase" line into your .htaccess file - i.e.

RewriteEngine On
RewriteBase /

If your Jamroom 5 install is in a sub directory, make sure and use the sub directory - i.e.

RewriteEngine On
RewriteBase /directory/

Let me know if that helps.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Ambassador
Ambassador
@ambassador
10 years ago
11 posts
RewriteBase / did the trick, thanks!
brian
@brian
10 years ago
10,148 posts
Ambassador:
RewriteBase / did the trick, thanks!

Awesome - glad to hear that ;)

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags