solved DNS is now pointing properly ... but I now cannot log in

Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
I cleared the caches and updated config.php.

I did not update the www record so I am visiting http://thechocolatelife.com.

Click on Login

Enter username and password,

get the following system level JR error:

a system level error was encountered trying to validate the form values: error:

I did a system check (all green) ran the integrity check and cleared caches and still the same error trying to log in.

I changed config.php back (thechocolatelife.info/thechocolatelife) so I can work on the site until I can figure out the login problem. I also updated the www. record but that's going to take a while to propagate.

updated by @claygordon: 02/19/15 02:53:54PM
paul
@paul
10 years ago
4,335 posts
I'm not seeing that error - I get the 'Invalid Login or Password - please try again' message but that's because I don't know your login!!
So it looks as though its basically working from my end.


--
Paul Asher - JR Developer and System Import Specialist
gary.moncrieff
gary.moncrieff
@garymoncrieff
10 years ago
865 posts
I seen this after moving my site to a new server, I don't know what finally fixed it but I manually cleared out the cache folders using ftp.
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
I did that. I will do it again.
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
Messed up. It looks like the system is regenerating some cache files in the time it takes my FTP client to delete them.

I am trying to delete them using cPanel, too -- and the folder are like zombies. Delete them and they pop up again right away.
updated by @claygordon: 01/19/15 06:53:45AM
brian
@brian
10 years ago
10,148 posts
thechocolatelife:
Messed up. It looks like the system is regenerating some cache files in the time it takes my FTP client to delete them.

I am trying to delete them using cPanel, too -- and the folder are like zombies. Delete them and they pop up again right away.

The directories and pages are automatically regenerated as soon as you load a page on your site, so as long as you are actually deleting them with your FTP client you should be fine.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
So, I should close all my open browser windows even if I am not reloading them?
brian
@brian
10 years ago
10,148 posts
thechocolatelife:
So, I should close all my open browser windows even if I am not reloading them?

If you're not reloading them, then they are not doing anything - that won't have any impact on your site.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
But they are still regenerating. I can send you my login and pwd privately.
brian
@brian
10 years ago
10,148 posts
thechocolatelife:
But they are still regenerating. I can send you my login and pwd privately.

OK - I'm going to guess DNS is either not propagated, or was messed up when it changed.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
Could it be the www? I have it pointing to thechocolatelife.com should it be pointing to thechocolatelife.thechocolatelife.info? Or somewhere else?
brian
@brian
10 years ago
10,148 posts
thechocolatelife:
Could it be the www? I have it pointing to thechocolatelife.com should it be pointing to thechocolatelife.thechocolatelife.info? Or somewhere else?

Well I am not sure what you want - do you want your site to be found at:

thechocolatelife.com

OR

www.thechocolatelife.com

Those are 2 different domains, and you need to make sure your data/config/config.php contains the one you want to use, and then we redirect the other so it is always at the one you want.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
Brian -

Both, if possible.

At Ning, this is done by setting the www record to point to the subdomain ... not sure how it works outside that environment.

www >> discoverchocolate.ning.com e.g., at Ning. This way I can keep the old site up for a while.

I would prefer the default to be www and have calls to thechocolatelife.com be redirected to www.
updated by @claygordon: 01/19/15 07:35:35AM
brian
@brian
10 years ago
10,148 posts
thechocolatelife:
Brian -

Both, if possible.

That's not technically possible, but I know what you mean. So:

1) make sure your data/config/config.php has "http://www.thechocolatelife.com" as the URL

2) add this to your Jamroom root .htaccess file:

RewriteCond %{SERVER_PORT} ^80$
RewriteCond %{HTTP_HOST} ^thechocolatelife\.com [NC]
RewriteRule .? http://www.thechocolatelife.com%{REQUEST_URI} [R=301,L]

AFTER the opening:

RewriteEngine On

line.

3) delete all files in data/cache/jrCore and data/cache/YourSkin

4) reload your browser on the login screen

You should then be able to login.

Let me know if that works.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
I keep all the other rewrite rules, yes?


RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)$ modules/jrCore/router.php?_uri=$1 [NC,L]
brian
@brian
10 years ago
10,148 posts
Yep - just put those lines after the opening RewriteEngine On line, and keep everything else.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
Brian -

Just did all of the above and was not able to log in.
brian
@brian
10 years ago
10,148 posts
thechocolatelife:
Brian -

Just did all of the above and was not able to log in.

OK then there is something wrong with the install, or something not configured right.

Send me a Private Note with your FTP info and your JR login info and I will check it out.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
Question - should I delete the www entry in my zone file?
brian
@brian
10 years ago
10,148 posts
thechocolatelife:
Question - should I delete the www entry in my zone file?

I'm not seeing an A record or CNAME record for www in your DNS setup. What type of entry did you create for www?


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
10 years ago
10,148 posts
Both www and non-www are resolving to the same IP, so you're fine.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
As per Ning instructions, the www is a CNAME record.

The A entry is to @.

As they are both resolving properly (and this is a shared IP as that's the class of hosting I have at Arvixe at the moment - plan to upgrade once everything is working).
updated by @claygordon: 01/19/15 08:03:34AM
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
the www CNAME record should point to :

thechocolatelife.com?
thechocolatelife.info/thechocolatelife?
brian
@brian
10 years ago
10,148 posts
thechocolatelife:
thechocolatelife.com?

That one - we don't want the .info domain involved at all in your config.

We're communicating by PN though, so let's just handle it there.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
10 years ago
10,148 posts
thechocolatelife:
As per Ning instructions, the www is a CNAME record.

The A entry is to @.

As they are both resolving properly (and this is a shared IP as that's the class of hosting I have at Arvixe at the moment - plan to upgrade once everything is working).

Yep - that is correct.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
paul
@paul
10 years ago
4,335 posts
I have Clay's logins and have just logged into http://www.thechocolatelife.com as admin with no problem, and everything seems to be working ok.
Clay - I wonder if browser caching or cookies is causing you the issue?


--
Paul Asher - JR Developer and System Import Specialist
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
Paul -

I got your email, just back at my desk from being out for an hour or so.

Brian did some looking, he had me add the rewrite rules to .htaccess and I was able to get it to work in Safari, which I don't use on a daily basis, but for testing and stuff. Had no problems with Safari after all the changes so I am thinking that it is a Chrome issue. That's my next step.
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
Yep, it's just a Chrome issue at the moment - even after clearing the browser cache. Works in Safari and Firefox. I am going to close Chrome and restart and hopefully that will solve the problem.
brian
@brian
10 years ago
10,148 posts
thechocolatelife:
Yep, it's just a Chrome issue at the moment - even after clearing the browser cache. Works in Safari and Firefox. I am going to close Chrome and restart and hopefully that will solve the problem.

Sounds like a stuck DNS cache - a restart should fix it.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
I am thinking that may be the case. I have forgotten the shell command to clear the DNS cache. I know there is one ... ooooh, maybe it's in my terminal history?

sudo killall -HUP mDNSResponder

Mac OSX 10.7
updated by @claygordon: 01/19/15 11:27:05AM
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
Yes. it was a DNS cache issue. restarting fixed the problem
gary.moncrieff
gary.moncrieff
@garymoncrieff
10 years ago
865 posts
yes now you have reminded I flush windows DNS too, since I never restart the laptop unless there is an update that requires it, it can be on/in hibernation for weeks.
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
Yep. One of the things to add to the "When you make the switchover to going live" documentation.

Tags