Login doesn't work, no edit bar

Permalink
Alright folks, here's what i've got:
when I go to one of my two sites, I login, and the page refreshes. If I put in the wrong password, I get an error. If I put in the right password, I just get the same page. I see a place for the edit bar, but no edit bar.
If I login, then manually enter "/index/php/dashboard/" to the url, I get taken to the Dashboard, where I do see the edit bar.
Any ideas about what causes this?

 
jero replied on at Permalink Reply
jero
1) A broken theme with invalid HTML (check out validator.w3.org)
2) Javascript errors in your theme files
3) Missing
<?php Loader::element('header_required');?>

immediately following your <head> tag.
NCCLG replied on at Permalink Reply
Alright, i'll dig into that tomorrow. What might cause some of use (me) to login with no trouble, and others to have the missing edit bar issue?
jero replied on at Permalink Reply
jero
Various different blocks (with associated js files) in your page which maybe conflict with each other. Not all blocks on all pages - so that might explain it. Maybe.
NCCLG replied on at Permalink Reply
We're all logging in on the same page (the default login page), and then we all are supposed to be directed to the dashboard.
I used the validate.w3.com tool (BIG THANKS!) and there are some errors to fix, but I don't get why some have the error and some don't.
I'll verify that everyone has cleaned out their local cache, and clean out the website cache again.
Thanks for the help.
NCCLG replied on at Permalink Reply
Well, the missing tag <?php Loader::element('header_required');?> after <head> has been fixed by placing the tag in the default.php file under "mysite"/packages/themes/lazydays.
I saved the changes, closed the editor, cleared the cache on my side and the website's side, and still nothing.
If I sign in and then type in to the address bar, "mysite"/index.php/dashboard, I go the dashboard, I get the edit bar, and everything looks good.
If I "return to website", I get nothing.
Would it be a stupid idea for me to reload/reinstall my theme?
glockops replied on at Permalink Reply
glockops
You also need
<?php Loader::element('footer_required');?>

in your footer. The edit bar is loaded with javascript and that is included in the footer now.
jero replied on at Permalink Reply
jero
I don't think reinstalling the theme's going to make much difference, to be honest. I had a case recently where the edit bar was appearing, but was blank - no icons - this was on only a couple of pages. I tracked it down to a broken addon that was causing the javascript that loads the toolbar not to run. It might be an idea to try a page with zero blocks installed and see if that works.