Themer info doesn't work with gallery module

marinex - April 14, 2009 - 16:22
Project:Gallery
Version:6.x-1.x-dev
Component:User Interface / Theming
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

I have fresh installation Drupal 6.10 and gallery modul 6.x-1.x-dev and modul Devel 6.x-1.16

So my problem is that when I enable gallery modul Theme developer don`t work, or more precisely when I check Themer info don`t display any information only "Click on any element to see information about the Drupal theme function or template that created it" and when I click on any element nothing display only previously information.

I thing that problem is gallery modul because when i disabled this modul everything works OK

Firebug display any problem "invalid object initializer" and "vars is undefined"

Can you help me

#1

lvthunder - April 14, 2009 - 16:44

Does it only happen on gallery pages or on pages that don't use gallery? For me it was only the gallery pages which most of the page is generated by G2 and not Drupal.

#2

marinex - April 14, 2009 - 18:12

It happen on every pages in Drupal, because i want to use Theme developer to theming my pages. I think it is problem in javascript but i don`t understand how gallery module use jquery.

here is another things from firebug:

vars is undefined

thmrRebuildPopup([span#thmr_41.thmr_call, span#thmr_2.thmr_call, body#thmr_undefined.sidebar-left 0=span#thmr_41.thmr_call 1=span#thmr_2.thmr_call])devel_themer.js?z (řádek 194)
themerDoIt(div#block-user-1.clear-block)devel_themer.js?z (řádek 88)
themerEvent(click clientX=222, clientY=224)devel_themer.js?z (řádek 127)
[Break on this error] var type = vars.type;

thanks Marinex

#3

lvthunder - April 14, 2009 - 18:25

What G2 theme and/or any modules that add more js are you using? I was able to use Theme Developer with G2 on my site.

#4

marinex - April 14, 2009 - 18:39

I use G2 default theme Matrix

#5

marinex - April 14, 2009 - 18:46

addition:

in my Gallery 2.3 not Drupal I use all module except Registration, ffmpeg, Nokia image upload, Jpegtran , NetPBM, Multiroot

and in Drupal I use all modules from module Gallery and

extra not in default installation pathauto, token, devel, xml sitemap

#6

marinex - April 14, 2009 - 19:19

So i think that i know what happen :-)

I explore all js files

<script type="text/javascript" src="/misc/jquery.js?z"></script>
<script type="text/javascript" src="/misc/drupal.js?z"></script>
<script type="text/javascript" src="/sites/default/files/languages/cs_203983441b9e00e909423226d7b2e766.js?z"></script>
<script type="text/javascript" src="/sites/all/modules/devel/krumo/krumo.js?z"></script>
<script type="text/javascript" src="/sites/all/modules/devel/devel_themer.js?z"></script>

<script type="text/javascript" src="/sites/all/modules/devel/ui.mouse.js?z"></script>
<script type="text/javascript" src="/sites/all/modules/devel/ui.draggable.js?z"></script>
<script type="text/javascript" src="/misc/collapse.js?z"></script>

and when i switch to EN from CZ without this row <script type="text/javascript" src="/sites/default/files/languages/cs_203983441b9e00e909423226d7b2e766.js?z"></script> all works OK

maybe language translationis bad.

#7

lvthunder - October 19, 2009 - 21:39
Status:active» closed

This doesn't look like a Gallery module error. If it is please reopen.

#8

adamsohn - October 24, 2009 - 22:11

I have the same exact problem. When I enable theme devel and try to clear the cache i get this error file_get_contents(sites/all/modules/devel/ui.mouse.js) [function.file-get-contents]: failed to open stream: No such file or directory. It doesn't make much sense since that file is in the that directory. I just googled the error and got this page. The gallery module is installed. I'm going to disable it and see what happens.

EDIT: Ten minutes later......... I just disabled the Gallery2 module. The errors disappeared. There is a conflict when the devel theme is enabled and the gallery2 module is enabled.

EDIT some more: What had happened is that I installed the jquery_ui module because I needed it for some module that I didn't use. I never disabled it. That file ui.mouse.js is a part of jquery_ui. I erased it, I cleared it manually from my database,ect.. I even removed the local module. The error and WSOD kept coming back. All I did was turn off the gallery module just right now and the problem went away. When I turned the gallery module back on it didn't come back. It must be some freak clash between jquery_ui, theme devel, and gallery module.

#9

adamsohn - October 24, 2009 - 22:03
Status:closed» active

#10

kiamlaluno - November 10, 2009 - 12:50
Title:Themer info don`t work with gallery modul» Themer info doesn't work with gallery module

Given three modules, it is not clear which one has the fault.

 
 

Drupal is a registered trademark of Dries Buytaert.