Once I click anywhere to edit a section, it gets stuck on "Loading Object Information", with a red circle slash mouse icon, until I refresh the page. Is this compatible with Drupal Commerce?

CommentFileSizeAuthor
#6 Chrome JavaScript Console1.75 MBMaffooClock

Comments

jeff h’s picture

Hi... could you tell us what browser and browser version you are using? If you have Chrome or Safari, could you try the following steps?

* reproduce the problem in your browser
* then right-click the page and choose "Inspect element"
* click the large "Console" icon
* tell us if you see a red error message, and if so please copy and paste it in as a new comment in this issue

Finally, could you try turning off Commerce and see if the problem goes away?

bbjay’s picture

I was originally using Firefox 9.0.1, but recreated the error in Chrome 16.0.912.75.
Here is the error reported in the chrome console:
316event.layerX and event.layerY are broken and deprecated in WebKit. They will be removed from the engine in the near future.
livethemer.inspector.js:29216573890894f0dfc6672404
livethemer.inspector.js:293header-area
livethemer.inspector.js:294page
2event.layerX and event.layerY are broken and deprecated in WebKit. They will be removed from the engine in the near future.
livethemer.inspector.js:306
Object
livethemer.inspector.js:315null
jquery.js:33

Uncaught TypeError: Cannot read property 'length' of null
b.extend.eachjquery.js:33
Drupal.liveThemer.inspector.loadObjectlivethemer.inspector.js:316
c.extend.handleSuccessjquery.js:143
c.extend.ajax.w.onreadystatechangejquery.js:142

7wonders’s picture

Same problem here for me when trying to use the regions set up. No commerce installed. Doesnt work in any browser I have tried, the error I get from chrome console is:

livethemer.inspector.js:320 Uncaught TypeError: Cannot set property 'scopesUsed' of undefined

In Firebug its:

I.themableObjects[selectedObjHook][objectId] is undefined
http://test.dev/sites/all/modules/livethemer/js/livethemer.inspector.js?... Line 320

jeff h’s picture

Thanks for these reports. We're trying to replicate them and fix the problem now. I think they're actually two separate issues but both quite similar.

jeff h’s picture

Unfortunately we're having difficulty replicating this behaviour. We've traced the code through and see where things must be going wrong, but can't explain why it would go wrong in just your specific cases.

bbjay & 7wonders — if you don't mind we will contact you directly and hopefully we can get to the bottom of this.

MaffooClock’s picture

StatusFileSize
new1.75 MB

I've got the same problem in a fresh install of Drupal 7.12 using the livethemer_base theme and only a few other modules. Screenshot of Chrome's JavaScript console attached. I have the jquery_update module installed and enabled, so of course I disabled it to test, but it was of no help.

EDIT: Shit. I uploaded a screenshot of my entire screen and not of the window as intended. And there's no way to delete, which is absolutely stupid.

jeff h’s picture

Thanks for your additional info MaffooClock. The WebKit deprecation messages are nothing to do with Livethemer per se, rather with jQuery and Chrome, so the only real error is the one in red, which is a result of the null on line 319 of livethemer.inspector.js. That's similar (yet oddly slightly different...) to the posts above — almost definitely the same error.

Sorry to those of you experiencing this issue. Our team has been flat out on a big project which should level out somewhat pretty soon and we'll be back into our usual weekly Livethemer code sessions, at which this error will be our first priority.

jeff h’s picture

@MaffooClock — I know it's a few weeks ago now but do you happen to still have a copy of the broken site? We're completely unable to replicate this problem but three people have reported it, so obviously there's definitely something going on and we definitely want to fix it!

dodicrossanda’s picture

Assigned: Unassigned » dodicrossanda
Status: Active » Reviewed & tested by the community

Dear Jeff, @MaffooClock and others,

I got the same problem before but now got fixed. My opinion on this problem could be, are:
- We didn't put the downloaded or extracted variation folders on the proper place (As mentioned that we got to put them in created folder which meant "variations" folder after ".../sites/all" directory or could be that users put all those variation files directly inside the module's folder.
- There's a conflict with one of installed modules.
- Slow internet connection

I've done these:
- Fresh and clean install of D7 (Re-installation with default modules)
- Install the base livethemer's theme and livethemer module. Do cronning after that.
- Make a new folder as mentioned above and deploy all extracted folder from the downloaded zipped files.
- Refresh and give a time for drupal to read the new installed ".settings" files.
- Go to livethemer's configuration and we'll see the new installed ".settings" and select one of them.
- Go to home and see how the inspector works.
- Done

Till now I haven't installed other modules yet but I'll let you guys know it once I found any conflict with other modules. Thank you and respect to the author of this module. Wonderful job!

taslett’s picture

You should also be aware of some browser addons like ad blockers cause issues with Livethemer.
If you come across this problem try it in another browser to see if it works.

dodicrossanda’s picture

Dear all,

Here again. I've got the same issue (Inspector get stuck) when using a customized theme which made from Artisteer. Refresh your browser then change your customized theme from Artisteer with other compatible themes. Do not forget to set your prefer ".setting". Return to front page and see how it works.

Best regards,

Dodi

sonicthoughts’s picture

Same issue with Artisteer theme. Does't work. Too bad, this would be a FANTASIC compliment to artisteer (and panalopy)

jeff h’s picture

Status: Reviewed & tested by the community » Postponed (maintainer needs more info)

Would you be able to send me the theme that doesn't work? We've had little success reliably replicating this error, but numerous people have had it so we'd love to be able to replicate it and thus fix it.

Jeff

Vote_Sizing_Steve’s picture

In my artisteer theme and chrome I get the following console message:

Uncaught TypeError: Cannot set property 'scopesUsed' of undefined livethemer.inspector.js:316