Enable/Update/Disable buttons missing from Dashboard/Modules/Feature/

Topics: Troubleshooting
Jun 15, 2011 at 10:09 PM

Hi there,

I have a live 1.1 site that I wish to upgrade 1.2.
I followed the steps in the migrations document:

  • Downloaded Orchard 1.2 to a staging machine
  • Copied over the AppData and Media folders from the live site.
  • Copied all user installed modules/themes which I have in the live over to staging environment.
  • Fired up the staging Orchard site

All seems to work well except the menus. I am using the 'Advanced Menu' plugin.
I upgraded it to the latest version (1.3).

I get the following notification: 'Some features need to be upgraded: Szmyd.Orchard.Modules.Menu'

That feature has a red background.

What I notice is that all the Enable/Disable buttons are missing from the Modules/Features page. The Update button is also missing.

Any ideas?

Coordinator
Jun 15, 2011 at 10:34 PM

That is weird. Are you site owner?

Jun 15, 2011 at 10:40 PM

y

Coordinator
Jun 15, 2011 at 10:42 PM

Never seen that before. Do you have anything unusual on that site (modules, etc.)?

Jun 15, 2011 at 10:52 PM

I just tested the site on ie9 and it seems to be a jquery related problem.
I get:
'
Line: 1Error: 'jQuery' is undefined

'
on every page I hit.

When I go into the Modules/Features tab the hover tooltip says jquery is enabled.

That might explain why the Enable/Disable buttons are missing.
The menu is behaving strangely, which could also be due the fact that jquery is not present.

What is strange is that the live site is working fine. There is nothing that unusual in it.

I will reboot my machine.... Clueless at this point

Coordinator
Jun 15, 2011 at 10:55 PM

You may have a rogue module that is injecting its own version of jQuery and conflicts with ours. Try to disable all custom modules and re-enable them one by one.

Jun 15, 2011 at 11:35 PM

Bertrand,
rebooting did not change a thing.

Using Fiddler I see that jQuery v 1.5.2 is being requested.
Looking at the file system I see that v1.6.1 is installed( Modules\Orchard.jQuery\Scripts)

From Fiddler: 

GET http://localhost:12127/Modules/Orchard.jQuery/scripts/jquery-1.5.2.min.js404 Not Found (text/html)

 

Where is the jquery version set?

Jun 15, 2011 at 11:43 PM

I could fix it!!
I  just modified the Orchard.jQuery/ResourceManifest.cs file (added a blank space) to force a recompile and that did it.