solved New Install, Error 500

srx
@srx
5 years ago
18 posts
Using download jamroom-eskin-premium.

I can manually get to /install.php. But my first run i did that and it ran, got an error (i forgot to note it), and got to the login screen without creating admin user... so maybe i need to figure out this 500 error first.
- no error logs in cpanel
- using filezilla;

I saw previous post here about checking "Jamroom is trying to use mod_rewrite in the .htaccess file", should i pursue that even though i am not getting an error log?

thanks for any guidance!
updated by @srx: 01/25/19 03:53:48PM
brian
@brian
5 years ago
10,148 posts
Welcome to the Jamroom forum!

You want to check your web server error log - when you get a 500 error, that's an error at the web server level - that happens before Jamroom is even loaded, so Jamroom cannot write to the error_log. You should have access to your web server error logs in cpanel. The usual culprit is that mod_rewrite is not enabled on the server, or another apache module that is part of the base install hasn't been activated.

So you'll for sure want to address that before JR is going to function right.

Let me know if that helps.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
srx
@srx
5 years ago
18 posts
Hey Brian,. thanks. I dont have any errors on cpanel error log... the site does load index.htm file fine. I asked about mod_rewrite, waiting.

I also ran repair.php and got this:

Fatal error: require_once(): Failed opening required '/home/aquariu8/public_html/data/config/config.php' (include_path='.:/opt/alt/php70/usr/share/pear') in /home/aquariu8/public_html/repair.php on line 56

There is no config.php there, should there be?
config.php.missing.JPG

srx
@srx
5 years ago
18 posts
Here is my phpinfo, dont see mod_rewrite if that shows up here
http://aquariu8.wwwaz1-ls2.a2hosted.com/test.php
srx
@srx
5 years ago
18 posts
They confirmed mod_rewrite is on... thanks
brian
@brian
5 years ago
10,148 posts
srx:
They confirmed mod_rewrite is on... thanks

OK so that's not the issue - it's going to be a different server setting. The problem here is that you're saying there are no web server error logs even though you're encountering a 500 server error - that is not right. Contact your hosting provider and find out why you are not getting an entry in your web server error log when you get a 500 error. The error that gets logged to the web server error log will tell you the root cause of the problem. My guess is it is a an issue with file ownership, directory ownership, permissions, etc.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
srx
@srx
5 years ago
18 posts
OK thanks Brian
michael
@michael
5 years ago
7,715 posts
someone else said that the chrome browser will show 500 server error if it gets a blank white page. This is chrome lying to you. Could be an issue though. Check the link in FireFox to see if you also get a 500 Server Error to know that it actually is a server error.

If it turns out that its not a real server error, then try with a different un-altered skin. suggest jrElastic2

because in that case it could be an issue with a missing closing tag in the templates.
srx
@srx
5 years ago
18 posts
Thanks @michael
Firefox shows a white page, no error
http://www.aquarius.directory/
http://aquariu8.wwwaz1-ls2.a2hosted.com/

Something w Chrome.. was trying to download a different Premium package, links broken - but they work on Firefox...
srx
@srx
5 years ago
18 posts
Are these Premium Packages JR4 or JR5? php requirements? shouldn't these items be clearly labelled?

I just got a server at A2, running php7, isn't this relevant?
brian
@brian
5 years ago
10,148 posts
srx:
Are these Premium Packages JR4 or JR5? php requirements? shouldn't these items be clearly labelled?

They are always the very latest build of every module - it's automated on our system. Jamroom 4 support ended in 2013.

Quote:
I just got a server at A2, running php7, isn't this relevant?

Sure - here's Jamroom's server requirements:

https://www.jamroom.net/the-jamroom-network/documentation/getting-started/774/server-requirements

A2 hosting is good - you should be fine.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
srx
@srx
5 years ago
18 posts
OK thanks Brian, trying anew:

Error: Query Error: Table 'aquariu8_aqdir2.jr_jrproduct_category' doesn't exist
updated by @srx: 01/24/19 01:07:59PM
brian
@brian
5 years ago
10,148 posts
srx:
OK thanks Brian, trying anew:

Error: Query Error: Table 'aquariu8_aqdir2.jr_jrproduct_category' doesn't exist

It's not clear to me why you're seeing this. Did you manage to get Jamroom to install? If so, then the tables would have been created at install time for any module in the distribution. If this is AFTER install, and you just dumped and imported a database, then run an integrity check.

If you are still seeing this on A2 hosting then something is amiss - send me an email at support [at] jamroom [dot] so I can try to see what the issue is.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Developer Networks
Developer Networks
@developer-networks
5 years ago
566 posts
I was having a simular error this afternoon.

try going to the url yoursite.com/install.php see if you see the install page instead of a 500 error.
http://aquariu8.wwwaz1-ls2.a2hosted.com/install.php

clear browser cache. It looks like you have already installed Jamroom successfully.
srx
@srx
5 years ago
18 posts
Thanks. Right, it looks like it installed, but it stopped running at the
Error: Query Error: Table 'aquariu8_aqdir2.jr_jrproduct_category' doesn't exist
error, so it didnt ask me to create Admin account.

I can assume maybe i can create the admin account in via cpanel/sql? But like Brian says, there maybe a bigger issue to correct, thanks
srx
@srx
5 years ago
18 posts
Sent email to support, thanks
brian
@brian
5 years ago
10,148 posts
You should be installed and good to go - I followed up via email with 1 issue I see on your server, but other than that it should be working for you now.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Developer Networks
Developer Networks
@developer-networks
5 years ago
566 posts
I have the same kind of issue with jamroom installed on a centos install. Can you share with me the solution?

Did you edit the conf file.. if so what edits were necessary.


Thanks
updated by @developer-networks: 01/26/19 05:18:15AM
douglas
@douglas
5 years ago
2,790 posts
Developer Networks:
I have the same kind of issue with jamroom installed on a centos install. Can you share with me the solution?

Did you edit the conf file.. if so what edits were necessary.


Thanks


I believe it was an issue with code in the ESkin templates.

Which skin are you installing with?

Personally, I'd start with Elastic2 and then add other skins after the install has been setup.

Hope this helps!


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
Developer Networks
Developer Networks
@developer-networks
5 years ago
566 posts
Im using the Elastic2 skin that comes with the standard install.

Javascript has errors.

<script type="text/javascript">
    $(document).ready(function() {
        $('.index_form #user_email_or_name').prop('placeholder', 'user name or email');
        $('.index_form #user_password').prop('placeholder', 'password');
        $('.clearfix .user_remember_element_right').append('remember me');
        });
</script>

ReferenceError: jrFormSubmit is not defined


Im getting a ReferenceError in javascript. For some reason my environment wont create the administrator during install and refuses to use javascript.

I notice the url is wrong that would load the skin javascript.
Ive installed jamroom in the "test directory" so whats getting spit back as a url is this

/test/sking/jrElastic2/js/jrElastic2.js

"sking" is a typo in the core.
i did a search for it in my PHPStorm yet no results.

I resolved my issues by adding this to the meta:
<script type="text/javascript" src="https://mysite.com/test/skins/jrElastic2/js/jrElastic2.js"></script>
<script type="text/javascript" src="https://mysite.com/test/skins/jrElastic2/js/jrElastic2.jsresponsiveslides.min.js"></script>


updated by @developer-networks: 01/26/19 10:24:58AM
michael
@michael
5 years ago
7,715 posts
jrFormSubmit is defined in:
/modules/jrCore/js/jrCore.js

Try re-installing the modules, if you're missing core funcitons something is messed up.
brian
@brian
5 years ago
10,148 posts
Please follow up here:

https://www.jamroom.net/the-jamroom-network/forum/new_posts/60654/javascript-url-errors-on-install

This topic was already solved. Thanks!


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

Tags