No dashboard showing

Permalink
No dashboard showing
March 08, 2012 at 12:57 AM Edit
I updated to 5.5 and now when I log in there is no icon for dashboard or to edit. there is a grey bar at the top of the website like where the icons should be but no icons. Please help, I have a lot of editing to get done.


I knew not to update!!

alumman71822
 
adajad replied on at Permalink Reply
adajad
I would think you are using a theme not completely updated for 5.5.x. Add the following code snippet to the end of your themes php files just before the closing /body tag. If your theme includes a footer.php then you only need to add this in one place.
<?php Loader::element('footer_required'); ?>

The above code loads all required js for c5.
friedmand replied on at Permalink Reply
Thanks adajad!

I was having the same problem. Inserted the code and voila! Dashboard appeared.

Thanks!
alumman71822 replied on at Permalink Reply
alumman71822
I do not know where to insert this code.
I looked and tried to find the body line and cannot find it.

Can you give specific instructions?

Thanks
adajad replied on at Permalink Reply
adajad
Most likely you will find the ending /body tag in a file named 'footer.php'.

The file can be found in one of three places depending on the the theme you are using:

If it is one of the default themes shipped with concrete5 you will find it in 'siteroot/concrete/themes/theme_name/elements/'

If it is a downloaded theme from the marketplace you will find it in 'siteroot/packages/theme_name/elements/'.

If it is a manually installed theme you will probably find the file in 'siteroot/themes/theme_name/elements/'
alumman71822 replied on at Permalink Reply
alumman71822
Well I checked in each theme and they all had this code in them already.
adajad replied on at Permalink Reply
adajad
Then I would suggest trying to disable extensions and add-ons in your browser just to make sure you don't have anything running on the client side that interferes with your page.
JohntheFish replied on at Permalink Reply
JohntheFish
Have a look in the developer console, at the console area, for JavaScript errors. It is possible that you have a double inclusion of a JavaScript resource or another script error, thus breaking JavaScript.

http://www.concrete5.org/documentation/how-tos/editors/getting-help... (last heading, developer console)
alumman71822 replied on at Permalink Reply
alumman71822
This is the error I am showing in the console.
How do I fix?

ccm.app.js?v=e6ff95302ac4fadc2cc64a6d45b064e9()ccm.ap...5b064e9 (line 1)
[Break On This Error]

...t(this.area)+"&layoutID="+this.layout_id+"&task=deleteOpts&hasBlocks="+hasBlocks...

ccm.ap...5b064e9 (line 1)
ccm_activateToolbar is not defined
d()ccm.ap...5b064e9 (line 1)
f(b=Documenthttp://www.skirtripping.com, f=[function()])jquery...5b064e9 (line 2)
f(b=Documenthttp://www.skirtripping.com, c=[function()])jquery...5b064e9 (line 2)
f(a=undefined)jquery...5b064e9 (line 2)
f()jquery...5b064e9 (line 2)
[Break On This Error]

...t(this.area)+"&layoutID="+this.layout_id+"&task=deleteOpts&hasBlocks="+hasBlocks...

ccm.ap...5b064e9 (line 1)
"enabling javascript debugger to support JavaScriptTool"
JohntheFish replied on at Permalink Reply
JohntheFish
Something on your site (theme, addon, custom development) contains javascript that is breaking under 5.5.1
alumman71822 replied on at Permalink Reply
alumman71822
Can I not just go into CPanel and the file manager to find the updates folder and delete out the new update so it will rollback to the last update?
JohntheFish replied on at Permalink Best Answer Reply
JohntheFish
Rolling back the update manually requires a number of 'expert' level things:
- a backup of the database you want to restore to
- use of phpMyAdmin to revert to the database backup
- editing config/site.php
(you don't need to delete anything in updates, and you should never do so until the restore has worked)

Before doing that, or if you don't have a suitable backup, or if you don't have the expertise to do that, you may be able to get to the dashboard directly by entering the path:

yoursite.com/index.php/dashboard/

Once in the dashboard, make a backup (just in case you make things worse, but this is probably not a backup you will want in the long term), change the theme back to the default and uninstall any addons that are not marked as 5.5.1 compatible in the marketplace.

If you have a backup from before the upgrade, you could also restore to it from the dashboard (easier than doing it manually), but you will still need to edit config/site.pho manually.
adajad replied on at Permalink Reply
adajad
^^ that is some solid advice ^^
alumman71822 replied on at Permalink Reply
alumman71822
Thank you very much this helped me greatly.
I went to the address for my dashboard and logged in, then was able to update a few of the add ons I had and everything on my website started working correctly again.

Thank you