Edit bar on home page missing

Permalink
Hi,

I'm a new concrete5 user, working on a site for a small company. I ran into some issues today while trying to add some blocks to the home page, causing an error to show and the home page to no longer display the edit bar. (I can edit other pages and reach the dashboard from other pages.)

Below is what happened:
Uploaded images in File Manager
Assigned images to new file set
On home page, added new image block from the clipboard (put in place by the previous developer). When I tried to assign new image, the images I had uploaded were not appearing.
Error: concrete5 An unexpected error occurred. Call to a member function getInstance() on a non-object
Cleared Concrete5 cache
Home page no longer displays edit bar and is missing content that should be there

There are a few JS errors throughout the site. On the home page, I get these:
(index):172 Uncaught ReferenceError: $ is not defined
at (index):172

GEThttp://environspdx.com/ 500 (Internal Server Error)
@ modernizr.js:8

When I'm not logged in, the home page appears as normal. When I'm logged in, the home page does not show the edit bar, and is missing the bottom half of its content (the part I tried to edit).

Help?

 
Gondwana replied on at Permalink Reply
Gondwana
Something is causing jquery to not be loaded.

That's not particularly helpful, I realise.
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
You may be able to roll back your home page to a previous version by editing the database.
To do this go to your servers phpMyAdmin and export your database (make a backup copy - just in case it goes wrong)
Next go to the CollectionVersions table and click the cID header to sort the table by cID.
At the top of the sorted table you should see in the cID column the number '1'
The next column should be cvID with the relevant cvID number listed in that column.
You are looking for the highest number cvID that has cID '1' on its left hand side.
When you find that cvID look at the cvIsApproved column and it should be set to '1'
All the lower numbered cvID's will have the cvIsApproved set to '0'

You need to edit the cvIsApproved for the highest cvID and set it to '0' and edit the cvID that is one digit smaller than the highest cvID and set the cvIsApproved to '1'

This should effectively roll back your home page (cID = 1) to the previous version
bsurguine replied on at Permalink Reply
So I've done a few things, to no avail:

Reverted to a previous version in Sitemap
Verified that C5's "Require Core JS" code is in place
Enabling and Disabling caching does not appear to affect whether or not the edit bar is visible

Chrome's Developer Tools is showing a couple of errors, but I can't quite identify the issues. My primary role is content management, so I'm still learning some front-end development.
Gondwana replied on at Permalink Reply
Gondwana
Those Chrome dev tool errors may well hold the key. Can you post a paste or screenshot of them?
bsurguine replied on at Permalink Reply 2 Attachments
Here they are:

Error 1: Uncaught ReferenceError: $ is not defined at (index):172
Error 2: Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Gondwana replied on at Permalink Reply
Gondwana
I was hoping that would be more enlightening. :( About all it shows is that jquery is no longer being loaded.

I note that your image slider seems to be an add-on package. There's a small chance that the issue is therein. You could try asking athttps://www.concrete5.org/marketplace/addons/catapult/support/...