You need to configure OR warning: in_array():
deanmostow
Joined: 2005-09-21
Posts: 3 |
Posted: Wed, 2005-09-21 01:23 |
My gallery is located here & works fine: ... I've got Drupal 4.6 installed here How ever, when you click on the 'gallery' button, its showing an error of: .. since then, i've been playing around and in the settings of drupal And this is the results I'm getting: Any thoughts? Dean |
|
Posts: 32509
moving to the g2 integrations forum.
Posts: 3
bump
Posts: 3
I reinstalled drupal & the gallery and both seemed to work fine now...
Posts: 9
(unbump to help with google reference)
There is a relevant bit of code fixing here:
In gallery.module:
print theme('page', 'You need to <a href="/admin/settings/gallery">configure your embedded Gallery</a>');
the path should not have a leading slash
print theme('page', 'You need to <a href="admin/settings/gallery">configure your embedded Gallery</a>');
This will at least take you to the admin page and clear up queries/red herrings with urlrewriting. The problem is probably with the login/authentication (I am still trying to fix mine!!)
r3
Posts: 9
(unbump to help with google reference)
There is a relevant bit of code fixing here:
In gallery.module:
print theme('page', 'You need to <a href="/admin/settings/gallery">configure your embedded Gallery</a>');
the path should not have a leading slash
print theme('page', 'You need to <a href="admin/settings/gallery">configure your embedded Gallery</a>');
This will at least take you to the admin page and clear up queries/red herrings with urlrewriting. The problem is probably with the login/authentication (I am still trying to fix mine!!)
r3
Posts: 9
(unbump to help with google reference) drupal 4.6.3 gallery 2.1
There is a relevant bit of code fixing here:
In gallery.module the path should not have a leading slash:
Before:
print theme('page', 'You need to <a href="/admin/settings/gallery">configure your embedded Gallery</a>');
After:
print theme('page', 'You need to <a href="admin/settings/gallery">configure your embedded Gallery</a>');
-------
This will at least take you to the admin page and clear up queries/red herrings with urlrewriting.
For the main fix I installed :
- a recent CVS of main.php (1.131) from gallery2 itself
http://cvs.sourceforge.net/viewcvs.py/gallery/gallery2/main.php
- the enhanced gallery.module for drupal
http://drupal.org/node/32393#comment-51140
and the rest of the problems were fixed..........
r3
Posts: 32509
btw: you can edit your previous post, no need to repost almost the same post again ;)