I get this error message with gallery remote

I ran the debug version and got the following messages:

   8923|TRACE|GalComm2  |Connecting to: http://.../gallery_remote2.php
   8923|TRACE|GalComm2  |Path: /gallery_remote2.php
   8933|TRACE|GalComm   |Sending cookie: PHPSESSID=944ef6ebe494e329742b58f57d23262a; expires=Mon Jun 05 21:14:19 GMT+01:00 2006; path=/; domain=.nord.jf-muenchen.de
  10416|TRACE|GalComm   |Accepting cookie: PHPSESSID=944ef6ebe494e329742b58f57d23262a; expires=Mon Jun 05 21:14:20 GMT+01:00 2006; path=/; domain=.nord.jf-muenchen.de
  10416|TRACE|GalComm2  |Content-type: text/html; charset=utf-8
  10416|TRACE|GalComm2  |<br />
<b>Fatal error</b>:  Call to undefined function:  _image_get_vid() in <b>/srv/www/htdocs/web2/html/jugendgruppen/nord/drupal/modules/image_pub/image_pub.module</b> on line <b>81</b><br />
  10416|ERROR|GalComm2  |com.gallery.GalleryRemote.GR2Exception: Server contacted, but Gallery not found at this URL ( http://.../gallery_remote2.php )

I tried the Windows publish version too and had problems..

using drupal 4.7, most recent image.module, image_gallery.module and image_pub.module

CommentFileSizeAuthor
#8 error.log26.62 KBicenogle

Comments

Tobias Maier’s picture

the missing function _image_get_vid() is called _image_gallery_get_vid() now...

pangloss’s picture

Are you sure you're using the latest image_pub? The call to _image_get_vid() has already been changed to _image_gallery_get_vid(). See: http://cvs.drupal.org/viewcvs/drupal/contributions/modules/image_pub/ima...

Tobias Maier’s picture

I use the version tagged for DRUPAL-4-7 - Revision 1.2
http://cvs.drupal.org/viewcvs/drupal/contributions/modules/image_pub/ima...

pangloss’s picture

Assigned: Unassigned » pangloss
Status: Active » Closed (fixed)

That (1.2) was Tom Nys' original 4.7 port. The issue you're reporting was fixed in the following checkin. Please use the latest the code.

Tobias Maier’s picture

Status: Closed (fixed) » Fixed

if you close an issue by hand then it cant be found again...
so please set issues to "fixed".

it will be "closed" by cron after a specific period of time

icenogle’s picture

I'm using // $Id: image_pub.module,v 1.2.2.2 2006/05/20 12:28:56 pangloss Exp $
with drupal 4.7

Same "Server contacted, but gallery not found...", different message about API...

Fatal error: Call to undefined function: _image_gallery_get_vid() in /drupal/modules/image_pub/image_pub.module on line 80

pangloss’s picture

Are you using an older version of image.module? image_pub used to call _image_get_vid(), but after image.module split gallery functions into a separate module, that call was replaced with _image_gallery_get_vid(). See: http://cvs.drupal.org/viewcvs/drupal/contributions/modules/image_pub/ima...

If that's the case, you should update your installation of image.module

icenogle’s picture

StatusFileSize
new26.62 KB

Okay, I did need the new version of image.module, and I see that it now has subdirectories that include the image_gallery module, and that that module has the API _image_gallery_get_vid(). I disabled the module, replaced the image module folder, re-enabled it, and also ran update.php. It's still issuing the same error. For some reason, it isn't finding the _image_gallery_get_vid() function.

I have attached my debug output from Gallery Remote.

icenogle’s picture

Wait a minute... Maybe not... I got confused about which system I was on -- turns out I did the change on my test machine and not on the machine I was logging onto. Is it possible to delete the comment and log that I just posted?

Thanks...

Anonymous’s picture

Status: Fixed » Closed (fixed)