Perhaps I am missing something. I have enabled Sweaver, Jquery UI & Ctools modules. I have a fresh install of Drupal 6.19 with just the core modules enabled (except the above mentioned). I have tried a few themes: Fusion and Garland. In the Sweaver UI I have "Enable sweaver editor" check on. I have all of the Sweaver plugins enabled.

Despite this I cannot choose an element on my page to edit with the Sweaver editor at the bottom of the page. I'm using Google Chrome 7.0.517.41 and tried Firefox 3.6.12. The domain is: http://etceteria.com/.

CommentFileSizeAuthor
#21 Sweaver issue example.pdf278.76 KBkerrycurtain
#3 957974.patch823 bytesswentel
Picture 1.jpg174.45 KBR-H

Comments

swentel’s picture

Do you have a login / pass so we can test on our machines here ?

R-H’s picture

Hello,

I have just sent the login details using the Drupal contact page for user "swentel".

Thank you for your assistance!
Ryan

swentel’s picture

Version: 6.x-1.0-beta3 » 7.x-1.x-dev
Priority: Major » Critical
Status: Active » Patch (to be ported)
StatusFileSize
new823 bytes

Ok found, the problem - very critical in fact, fixed in CVS and patch attached for port to the D7 version. Next build of D6 will have this fix. You'll have clear the complete cache, after that, you'll be able to style.

R-H’s picture

Sorry, but clearing the cache doesn't work for me. Again on my site, http://etceteria.com clearing cache hasn't solved the problem of not being able to select elements to work on. I have tried clearing cache via drush and by using the devel tools. The login I gave you should still work. The development block is now turned on.

swentel’s picture

Have you installed the patch in #3 or done a fresh checkout from CVS (note that if you downloaded the dev version, it may not already contain the fix as dev is only rebuilt every 12 hours) ? The page that should be different is this one: http://etceteria.com/admin/settings/sweaver/editor/selectors There is an empty row still on that page which shouldn't be there with the fix ?

R-H’s picture

FYI, the 6.x-1.x-dev version in CVS still has the empty row.

R-H’s picture

Is this patch (http://drupal.org/files/issues/957974.patch) for the d6 or d7 module?

swentel’s picture

Oh crap, thought I committed that, sorry about that :( Committed now to D6, patch is for me to port to Drupal 7

R-H’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev

I did a fresh install, again. I've applied the patch and the same issue exists.

I'm trying to get the dev version of Sweaver for D6 working.

I've cleared the cache.

Totally lost here.

R-H’s picture

Ok, so is the issue that the patch was for D7 and I was apply to D6?

R-H’s picture

I don't see the commit for D6.

swentel’s picture

Well, the commit is here http://drupal.org/cvs?commit=445624 - the dev version isn't probably rebuilt though - so yeah, you'll have to apply that patch for now, it will work on the D6 version too - sorry for the hassle !

R-H’s picture

I have successfully applied the patch to Sweaver 6.x-1.x-dev. The empty row in the Selectors menu is gone.

modules/sweaver# patch -p0 < 957974.patch
patching file plugins/sweaver_plugin_editor/sweaver_plugin_editor.admin.inc

I still have the same problem.

I will email you the login credentials. This is a fresh install again.

swentel’s picture

Ok, problem lies in jquery ui this time:

Warning: file_get_contents(sites/all/modules/jquery_ui/jquery.ui/ui/minified/ui.slider.min.js) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: No such file or directory in drupal_build_js_cache() (line 2464 of /data/all/002/pressflow/includes/common.in

Looks like either your version of jquery ui is to old or to new or simply has this missing file.

R-H’s picture

Ok, killed this bug! There was something going on with the jquery ui library. Reinstalling it solved the problem! Whew. That was driving me crazy! Thanks for your help getting the install working. Might be good to make a note in the Sweaver Readme to make sure that jquery 1.6 is installed. That seems to be the correct library!

R-H’s picture

Can you please let me know which version of JQuery Sweaver wants?

I have to have the latest version for Skinr 2 and that seems to be conflicting with Sweaver.

Skinr wants: jQuery UI 1.8.6 and jQuery Update 1.3.2

Thanks

swentel’s picture

Sweaver works perfectly with core jquery & jquery UI 1.6 - you can download that version still from http://code.google.com/p/jquery-ui/downloads/list.

Latest jquery UI breaks indeed with sweaver for D6, however, we're not going to support other versions. It's a bad idea anyway to upgrade to latest jquery as this possibly breaks other modules, even core.

swentel’s picture

Status: Patch (to be ported) » Closed (fixed)

also commited the fix to D7 version

shaisamuel’s picture

Hi, I have the same problem. I have installed Sweaver 6.x-1.1 on Drupal 6.2. I have Jquery UI 6.x-1.4, jQuery plugins 6.x-1.10, jQuery Update 6.x-2.0-alpha1 and Jquery UI 1.6. Still can't get Sweaver do show elements information.

OK, I did manged to get it to work, once I got jQuery to run clean, by implementing a patch there. So now Sweaver is working great. Thanks.

kerrycurtain’s picture

Issue summary: View changes
StatusFileSize
new278.76 KB

Hi
I need to reopen this issue.

I have been using Sweaver for about a year now and simply love it. However after an update of several modules including D7.28 I've run into problems.

Sweaver is no longer able to select elements for editing. Please see screenshot attached.

In troubleshooting so far I have..

a) Disabled all newly installed modules (Instagram Feeds and associated modules). These do not seem to be the culprits.
b) Identified the version of Jquery as v1.4.4 which I understand is compatible
c) Updated Jquery updater
d) Tested the colorbox & jquery simple color library in sites/all/libraries

I am hoping you may be able to provide some clue as to where the issue may lie. Naturally I am very keen to solve and get back to using Sweaver asap. Hope you are able to help.

kerrycurtain’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Category: Bug report » Support request
Status: Closed (fixed) » Active
Issue tags: +editing

Please refer to the comment above.

kerrycurtain’s picture

Still having problems with this, any help would be much appreciated.

kerrycurtain’s picture

Well, for anyone else who gets stumped on this problem. The answer lies with the jquery update module 7.x-2.x-dev. After going through the tedious process of testing all updates finally isolated this. There is reference to it and a patch which I haven't yet tried in the post https://drupal.org/node/2216507.