Hi,
I'm trying to embed gallery2 into drupal but whenever I set the paths in manual mode or automatic mode it won't save them. I have set them correctly and when I test locations it comes back as fine but if I go back to them they have dissapeared. Is there anything else I need to do.
i have managed to do it previously on a windows /xampp installation but on ly linux hosting account it doesn't want to stick.
Can anyone help?
Posts: 2
same problem here... this is the error i get at step 2 in admin/settings/gallery:
rul3z is the drupal dir, example.com off course is replaced by the real domain.
anything i try, absolute or relative paths, all give the same problem...
Posts: 2
Still have this problem, I tried every possible (clean) setup:
- gallery2 inside and outside drupal root (with and without symlink);
- any configuration of paths (absolute and relative paths);
- different software versions of drupal (rc3, rc4, final) and gallery (2.2.x, 2.3.x rev 17469 from svn);
- installation instructions, including all workarounds like disabling url_rewrite (drupal and/or gallery).
If I fill in a wrong path it produces an appropriate error like "Can't find embed.php", so there's something else wrong. Also Drupal and Gallery2 standalone are fully functional, without any problems/errors.
The current versions I have installed are:
- Drupal 6.0 final;
- Gallery2 2.3.x rev 17469;
- Gallery module 6.x-1.x-dev (2008-Feb-11)
So I dived into the code and although I didn't find the problem/solution (yet), I tried to locate the generated error.
The error is generated between lines 892 and 898 of gallery_install.inc. The function _gallery_init obviously returns FALSE.
Function _gallery_init is located in gallery_base.inc from line 52. There are 3 places where this function explicitly returns FALSE:
- If embed.php is not found (line 109-115);
- If there is feedback/error while initializing (line 118-130) -- this goes way deeper to trace;
- If initialization is unsuccessful by checking existence of certain classes (line 133-139).
It's unclear where something goes wrong, but I think it's not the first one, because it would report it can't find embed.php.
At this moment I don't have more time to investigate this, I already spent too much ours on this while having some other important deadlines ;)
Maybe I can track the problem down next week, but until now this is all the info I've got. If a bug report is needed, I'll be glad to submit one.
BTW, I don't know if this has anything to do with the issue "Auto config. fails to locate embed.php" (http://drupal.org/node/188047)