can't configure plugin

nicolefou

Joined: 2007-03-02
Posts: 9
Posted: Fri, 2007-03-02 09:57

This question may have already been answered but I can't find any solution in the forum :(

When clicking on the configure, install or uninstall link in the pluginslisting nothing happens...

Eventually for the install/uninstall feature if I go to any other page and come back the action has been executed.

But I can't reach any configuration page :(

I found the following error in the error console

Error: illegal character
Source File:
http://nico.agencepix.com/olivierchomis/modules/core/templates/AdminPlugins.js
Line: 121, Column: 148
Source Code:
var result =
{"status":"redirect","redirect":"\/olivierchomis\/main.php?g2_view=core.SiteAdmin&g2_subView=dcraw.AdminDcraw","states":[],"deleted":[]

Any suggestion??

Thanks
Nicolas

System info:

Gallery version = 2.2-rc-2 noyau 1.1.30
PHP version = 4.3.10 apache2handler
Serveur Web = Apache/2.0.51 (Fedora)
Base de données = mysqlt 3.23.58, lock.system=flock
Boîtes à outils = ArchiveUpload, Exif, Getid3, LinkItemToolkit, NetPBM,
Thumbnail, Gd, SquareThumb
Accélération = none, none
Système d'exploitation = Linux wpc2230.amenworld.com 2.6.10-1.771_FC2 #1
Mon Mar 28 00:50:14 EST 2005 i686
Thème par défaut = PGlightbox
gettext = activé
Langage = fr_FR
Navigateur Web = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB;
rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2
Rows in GalleryAccessMap table = 9
Rows in GalleryAccessSubscriberMap table = 10
Rows in GalleryUser table = 3
Rows in GalleryItem table = 8
Rows in GalleryAlbumItem table = 3
Rows in GalleryCacheMap table = 0

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2007-03-02 11:39

do you experience the same problem if you switch to the matrix theme?

--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
nicolefou

Joined: 2007-03-02
Posts: 9
Posted: Fri, 2007-03-02 11:46

Yes just tried and same thing happens ...

When i click on configure (on any plugin) the line is highlighted in green but i am not redirected to the configuration page :(

I have another gallery running on 2.1.2 and it's working fine

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2007-03-02 12:11

please clear your browser-cache.

does the file integrity check report any issues?
FAQ: How can I make sure that my installation files are all intact?

--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
nicolefou

Joined: 2007-03-02
Posts: 9
Posted: Fri, 2007-03-02 12:28

I have cleared my browser-cache and even deleted template and database cache from gallery.

I passed with success all integrity checks.

I have tried with IE as well but same JS error message occured.

Am I the only one with this configuration problem??

Thanks for your help valiant

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2007-03-02 13:02

If we could reproduce this error i wouldn't be asking these questions.

when clicking configure, g2 should send back:

{"status":"redirect","redirect":"\/gallery2\/main.php?g2_view=core.SiteAdmin&g2_subView=imagemagick.AdminImageMagick"

,"states":[],"deleted":[]}

so what you get there is fine.
don't know what's wrong.

--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
nicolefou

Joined: 2007-03-02
Posts: 9
Posted: Fri, 2007-03-02 14:06

Well it looks like I am missing the final bracket ...

When I click on configure it only returns

Quote:
Error: illegal character
Source File: http://nico.agencepix.com/olivierchomis/modules/core/templates/AdminPlugins.js
Line: 121, Column: 152
Source Code:
var result = {"status":"redirect","redirect":"\/olivierchomis\/main.php?g2_view=core.SiteAdmin&g2_subView=rewrite.SetupRewrite","states":[],"deleted":[]

Line 121 of AdminPlugin.Js is

Quote:
eval("var result = " + response.responseText)

Is there anything missing?

I'll try with a fresh install of RC2 and let you know if it fixes it.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2007-03-02 14:15

maybe it's just how FF shows the result.
i'm using firebug to debug the issue on my g2 and that's where i got the result with leading and trailing braces.

--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
nicolefou

Joined: 2007-03-02
Posts: 9
Posted: Fri, 2007-03-02 14:22

Just tried with Firebug and I have this result in the response tab

{"status":"redirect","redirect":"\/olivierchomis\/main.php?g2_view=core.SiteAdmin&g2_subView=rewrite

.SetupRewrite","states":[],"deleted":[]�

I have the developer version. I have just downloaded the full version to check if there is any difference.

Thanks anywyay for your help and fast answers
Nico

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2007-03-02 14:31

so the last character in the response isn't a closing curly brace, it's a special / garbled character?

--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
nicolefou

Joined: 2007-03-02
Posts: 9
Posted: Fri, 2007-03-02 14:43

Yes pretty weird :S

I have made a fresh local install of the RC2 full package and the configure thing is working fine.

Could it create some conflict if I update the developer version i have online with the full package?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2007-03-02 14:50

the dev version is fine. but i suggest you remove lib/tools/ or chmod it to 000 such that noone can access it.

--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
nicolefou

Joined: 2007-03-02
Posts: 9
Posted: Fri, 2007-03-02 16:23

same thing happened with a fresh install of the full package... :(

 
nicolefou

Joined: 2007-03-02
Posts: 9
Posted: Fri, 2007-03-02 19:15

I just tried from home and it is working perfectly now!! grrrrr

Don't know what is going wrong on my computer at work though...

Sorry for all the trouble for nothing and thanks again for your great support!

 
denney
denney's picture

Joined: 2007-05-30
Posts: 12
Posted: Wed, 2007-05-30 14:29

I am getting the same problem. It used to work fine but then I wiped out my webspace in installed Gallery 2 again. After that, it doesn't work. I've tried installing it multiple times on my webspace and it will no longer work (in Firefox or Internet Explorer).

I have tried on multiple computers and it won't work. Installing it locally works fine though.

I am using v2.2.1.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2007-05-30 14:48

denney

please create a new topic in the support forums to discuss your case in detail.
i suspect that your webserver isn't serving all JS files properly.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
thesainter

Joined: 2007-01-18
Posts: 5
Posted: Wed, 2007-08-29 08:00

I have this same problem!

If i access it from a windows pc with firefox it works fine. I f try to access from my mac using firefox or camino it doesn't work. I'm getting exactly the same error described above.

Using Safari 2.0.4 with the latest webkit update osx 10.4.10 it works fine.

I guess its not webserver problem.

 
mediaguru

Joined: 2005-12-11
Posts: 8
Posted: Sun, 2009-02-08 16:18

I have solved a similar problem. I had modified the main.php script and added a code for a hit counter. After taking that code out I was able to edit/configure all my plugins again. I hope this gives some help or a path to go on for some.