Intergration between gallery2 and droupal 4.5.x - error

humorblog

Joined: 2005-03-14
Posts: 7
Posted: Wed, 2005-03-30 14:01

I'm trying to integrate gallery2 and drupal 4.5.x on my site www.web4cu.com/dblog
I installed gallery2 in www.web4cu.com/gallery2 and it works with no problem.
After this I downloaded the gallery module and modified in the path part (but I cuold have done some mistakes).
I activated the module and the blocks on the administration part of drupal but the result is that the bloks doesn't show on the mail page, and if I click on the gallery link it doesn't run.
Below, the module configuration and the error.

Any suggestion?

Thanks.

Part of Module configuration:
function gallery_settings() {
$output = '';
$output.= form_textfield(t('Location of Gallery2'), 'gallery_dir', variable_get('gallery_dir', 'gallery2/'), 64, 64, t('/home/web4cu/public_html/'));

Error in browser:
warning: _gallery_init(gallery2//embed.php): failed to open stream: No such file or directory in /home/web4cu/public_html/dblog/modules/gallery.module on line 233.
warning: _gallery_init(): Failed opening 'gallery2//embed.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/web4cu/public_html/dblog/modules/gallery.module on line 233.

Fatal error: Undefined class name 'galleryembed' in /home/web4cu/public_html/dblog/modules/gallery.module on line 249

----

Gallery URL (optional): www.web4cu.com/gallery2
Gallery version: 2
Webserver (with version):
Datatabase (with version):
PHP version (eg 4.2.1):
phpinfo URL (optional):
Graphics Toolkit(s):
Operating system:
Web browser/version: Safari
G1 version (for migration bugs):

 
griffon

Joined: 2005-08-18
Posts: 13
Posted: Mon, 2005-08-22 02:29

Any luck finding a solution for this I'm having the same issue regardless of path?