Admin Account

alt=
@info1687
10 years ago
7 posts
Hi all,

I just installed the latest jamroom version but I cannot create the first admin-user. Are there any files which need to be chmod 777?

thanks in advance, Jojo
updated by @info1687: 09/26/15 12:39:13AM
alt=
@info1687
10 years ago
7 posts
Still cannot create the Master Admin Account - anyone an idea ?
create-account.jpg
create-account.jpg  •  411KB

douglas
@douglas
10 years ago
2,804 posts
Are you getting any errors reported for your server or in your data/logs directory for Jamroom?


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
alt=
@info1687
10 years ago
7 posts
Hi Douglas, thanks for your response,

no, I dont get any errors.

Attached you will find my php.ini record is this OK ?
txt
php-ini.txt  •  25KB

douglas
@douglas
10 years ago
2,804 posts
I'm really not sure, maybe one of the other guys can take a look and let you know. From what I see, I don't see any reason why you can't create the admin account, but I'm not 100% sure.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
michael
@michael
10 years ago
7,794 posts
That's unlike any php.ini file I've ever seen. It looks more like the output of phpinfo();

Either way though, that's not what's important. What is important is what the error is.

What is the URL for the site? See if there is any javascript errors in the console if you are running firefox or other browser that lets you know what javascript errors occur.

Also check in your servers error logs.

Also check in
/data/logs/error_log
michael
@michael
10 years ago
7,794 posts
I can see whats happening on your system, but not why.

When the form is submitted via ajax, there is no response coming back. Might try uploding the jrUser module again and the jrCore module again.

http://YOUR-SITE.de/jr/core/form_validate/__ajax=1?jr_html_form_token=d0b32fb7d8cc7244c84a4d62a924c6e3&quota_id=1&user_email=me%40mylocation.com&user_name=admin&user_passwd1=admin&user_passwd2=admin

should be returning a JSON response, but your site is returning a blank white page.

So check the error log at:
/data/logs/error_log

and the activity log at:
/data/logs/activity_log
alt=
@info1687
10 years ago
7 posts
Hi Michael,

I just reinstalled everything from scratch, but no logs are written, so will I have to chmod777 some dirs ?

thanks in advance, Jojo
alt=
@info1687
10 years ago
7 posts
P.S. The url is: www.insert24.de/jr


And even removing the .htaccess - file inside the data dir does not help.

Do you have an idea ?

thanks in advance, Jojo
updated by @info1687: 08/17/15 09:53:11AM
michael
@michael
10 years ago
7,794 posts
Shouldn't need to chmod anything, I never do. But you might if your server is setup differently.

This is the guide I use to setup my server:
https://www.jamroom.net/the-jamroom-network/blog/23/high-performance-jamroom-on-digitalocean

Its looking better though, the failing response at least retuns some json:
http://insert24.de/jr/core/form_validate/__ajax=1?jr_html_form_token=e73b7c06fdfadsf383f578b43d8efdeb0f4ff6&quota_id=1&user_email=0%40saba.com&user_name=admin&user_passwd1=hello&user_passwd2=world

returns:
{"notices":[{"type":"error","text":"Form Validation missing - please refresh and try again."}]}

which is good. Its just the CREATE success that doesnt return any.

Can you look via FTP at:

the error log at:
/data/logs/error_log

and the activity log at:
/data/logs/activity_log

To see if there are any hints at what it could be.
michael
@michael
10 years ago
7,794 posts
I've managed to create an admin account on your server by disabling javascript. Its not a solution though, but I can see that there is nothing in the error logs to indicate anything wrong.

The next place to look is the servers error logs. Does your server have a control panel that shows the servers errors.

I think you might be right in looking for something permissioned wrongly.

Could you send me the FTP details to support at jamroom dot net.

I'd like to look at the config.php at:
/data/config/config.php

and see if adding www or non-www makes any difference.
alt=
@info1687
10 years ago
7 posts
Hi Michael, still nor logs are created.

my data/config.php contains only the following data:

<?php
$_conf['jrCore_db_host'] = 'rdbms.strato.de';
$_conf['jrCore_db_port'] = '3306';
$_conf['jrCore_db_name'] = 'DBxxx6443';
$_conf['jrCore_db_user'] = 'Uxxx6443';
$_conf['jrCore_db_pass'] = 'password';
$_conf['jrCore_base_url'] = 'http://insert24.de/jr';


Name, Username and password I changed in this post.
alt=
@info1687
10 years ago
7 posts
How to contact / pm you Michael ? (FTP-Data)
paul
@paul
10 years ago
4,335 posts
Email to support[at]jamroom[dot]net


--
Paul Asher - JR Developer and System Import Specialist
michael
@michael
10 years ago
7,794 posts
I've narrowed down the location of where its happening to router.php.

The expected output exists before:

/modules/jrCore/router.php around line 310 ish.
// Send output
// THE ORDER OF THE FOLLOWING STATEMENTS is critical for it
// to work properly on mod_php, CGI/FastCGI, and FPM - DO NOT CHANGE!
@ob_end_clean();
header('Connection: close');
ignore_user_abort();
ob_start();
echo $out;
header('Content-Length: ' . ob_get_length());
ob_end_flush();
@flush();

Up until that point $out contains the needed info, but for some reason your server instead of outputting the value of $out, it outputs a blank white page.

Can you contact your server company and ask if they know why this might be?

If you can give me access to your servers error logs, I can look for myself.

Tags