Hi,

I just aktivates Captcha for anonymous comments but the picture can't be displayed. When I enter Gallery standalone it works fine.

Comments

profix898’s picture

What are the image paths for your captcha image in 1. standalone and 2. embedded mode? Do you have issues with the album images also?

Dahaniel’s picture

Soryy, could have posted this in the beginning.

standalone:
<img src="/galerie/main.php?g2_view=captcha.CaptchaImage" alt="" height="100" width="100">
embedded:
<img src="/index.php?q=gallery&amp;g2_view=captcha.CaptchaImage&amp;g2_GALLERYSID=f8d93517bdcfd67ed807321305145260" alt="" height="100" width="100">

profix898’s picture

Status: Active » Fixed

Can you please try the latest version from cvs. The issue should be fixed. Please reopen in case it is not ...

Dahaniel’s picture

Need a little help with that...
I go to "browse the CVS repository" and there select the 5--2 branch. Then I download file by file, is that correct?

profix898’s picture

The files from cvs HEAD are automatically packaged every 8 hours as development snapshot (http://drupal.org/node/138771).

Dahaniel’s picture

Thanks, it's working now, and my other issue with the ;" in the first line is fixed as well!

But now I get the following error when trying to access the "Image Block" or "Status" Tab:
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '_gallery_settings_blocks' was given in /myroot/includes/form.inc on line 217.

profix898’s picture

But now I get the following error when trying to access the "Image Block" or "Status" Tab

I guess you missed some updates in between. You should rebuild your menu cache to get rid of these errors. The easiest way to do that is to change the status of ANY module on the modules (admin/build/modules) page and submit the page. It doesnt matter what module you change, Drupal will always rebuild its menu. You can also use the devel module or run 'menu_rebuild()' manually.

Dahaniel’s picture

Ah, I flushed the menue cache table in my database, now it works. Thought running the update.php would be enough. And now I see what the problem was. The two tabs I was trying to access are not existing anymore :)

Thanks for your help!

profix898’s picture

You can now have multiple image/grid blocks and they are administered through the usual block settings UI of Drupal core.

Anonymous’s picture

Status: Fixed » Closed (fixed)