Zen Cart Logo
Forums / All Other Contributions/Addons / Urgent! Need Help installing IH2...

Urgent! Need Help installing IH2...

Locked

Views: 1,882

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
29 May 2006, 5:52 PM
#1
dachilla avatar

dachilla

New Zenner

Join Date:
Feb 2006
Posts:
66
Plugin Contributions:
1

Urgent! Need Help installing IH2...

Hi there,

i have tried to install Image Handler 2 on my Shop system. Have not found this problem anywhere so I post a new thread. I was overwriting the existing files an get the following Error Messages:

**
Warning: main() [function.main]: Unable to access bmz_gif_info.class.php in /home/www/htdocs/tightfun.de/shop/includes/classes/bmz_image_handler.class.php on line 12

Warning: main(bmz_gif_info.class.php) [function.main]: failed to create stream: No such file or directory in /home/www/htdocs/tightfun.de/shop/includes/classes/bmz_image_handler.class.php on line 12

Fatal error: main() [function.main]: Failed opening required 'bmz_gif_info.class.php' (include_path='') in /home/www/htdocs/tightfun.de/shop/includes/classes/bmz_image_handler.class.php on line 12 **

Anybody who can help me, please do it :D

Da Chilla

31 May 2006, 11:08 PM
#2
timkroeger avatar

timkroeger

Totally Zenned

Join Date:
Feb 2005
Location:
Germany
Posts:
580
Plugin Contributions:
0

Re: Urgent! Need Help installing IH2...

First of all, check that the file in question is where it is supposed to be. If the file bmz_gif_info.class.php is in shop/includes/classes/, but the require function doesn't find it, your php-include path may be missing the point :wink2: Literally. I mean, you might need to prepend a "." to your php include path. If you don't know how to do that, you could change the require line in bmz_image_handler.class.php (line 12) from something like require('bmz_gif_info.class.php'); to require(dirname(FILE).'/bmz_gif_info.class.php');. Oh, and you could try and delete the line completely. If I am not mistaken the class file is not yet used at all. If you encounter the error with other files, too, make sure the required file is where it is supposed to be. and if it is, replace the require statements like the one above (prepending the dirname thingy)

Cheers,
Tim

3 Jun 2006, 3:29 PM
#3
dachilla avatar

dachilla

New Zenner

Join Date:
Feb 2006
Posts:
66
Plugin Contributions:
1

Re: Urgent! Need Help installing IH2...

You are my Superhero for this Month, Tim. Thx

D.C.

12 Aug 2006, 4:50 PM
#4
theodin avatar

theodin

New Zenner

Join Date:
Sep 2005
Posts:
26
Plugin Contributions:
0

Re: Urgent! Need Help installing IH2...

The code change only presented me problems after I installed my sites SSL certificate. The code change (on line12) from
require('bmz_gif_info.class.php');
to
require(dirname(FILE).'/bmz_gif_info.class.php');
Worked a treat for me. Thanks a lot guys.

17 May 2007, 12:46 PM
#5
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: Urgent! Need Help installing IH2...

Hello

I just tried to install IH2 and I am getting this error:

Warning: strstr() [function.strstr]: Empty delimiter. in /includes/classes/bmz_image_handler.class.php on line 126

Does anyone know what I can do??