Forums / Installing on a Windows Server / Image handler error on local install

Image handler error on local install

Locked

Started by rebekah on 12 Jan 2008, 7:14 PM · Views: 10,263

Results 21 to 24 of 24
This thread is locked. New replies are disabled.
13 Jan 2008, 5:54 PM
#21
rebekah avatar

rebekah

Zen Follower

Join Date:
Mar 2006
Posts:
183
Plugin Contributions:
0

Image handler error on local install

Kobra,

I found this info online to enable the GD Library in php.

"Search the following line of code:
;extension=php_gd2.dll
Remove the semicolon from the beginning of this line, to activate the GD library:
extension=php_gd2.dll"

I found that line already had no semicolon in front of it. So, is that what you're talking about? It seems it's already enabled.

**TheWindCutter.com**
Professional Microphone Windscreens
*Got wind noise? We've got you covered. *

13 Jan 2008, 5:58 PM
#22
rebekah avatar

rebekah

Zen Follower

Join Date:
Mar 2006
Posts:
183
Plugin Contributions:
0

Re: Image handler error on local install

rainthebat:

I personally don't use wamp, I've got Php, mysql and apache installed to view my page locally, so I don't know how it installs PHP. If it installs PHP as a seperate program, php.ini will be located in the php folder - probably under c:/program files/php or php5 or something like that.

Wamp may have some sort of link to php.ini, if their help file has a search, you might look for the word php or something.

Ah, I get it. I thought you meant somewhere in the ZenCart install. I know where to find the php.ini with WAMP.

I'm not thinking that "PEAR" reference is a problem anymore though since I am able to login the Admin fine now. It wasn't even displaying at all before, just an error.

Now, the main problem is I can't see my shop! :shocking:

Thanks for the reply.

**TheWindCutter.com**
Professional Microphone Windscreens
*Got wind noise? We've got you covered. *

13 Jan 2008, 6:27 PM
#23
rebekah avatar

rebekah

Zen Follower

Join Date:
Mar 2006
Posts:
183
Plugin Contributions:
0

Re: Image handler error on local install

Well, happy news! I can see my shop now!

As I mentioned earlier, I had first done a fresh install of ZC with no addons and such. It went fine. The problems began when I downloaded my ZC install from the internet and tried to view that.

It came to me that since I was able to see the fresh install, this must be possible! I opened the shop/admin/config file from the fresh install I had before and the one from the internet-downloaded version I was having the trouble with in Crimson Editor and compared them back and forth.

I changed the following and now it works! Yea, I can see the catalog on my computer and also from computers on my home network.


C:\wamp\www\shop\includes\configure.php

Changed this...

define('HTTP_SERVER', 'http://192.168.1.106');
define('HTTPS_SERVER', 'http://localhost');

to this...

define('HTTP_SERVER', 'http://192.168.1.106');
define('HTTPS_SERVER', 'http://192.168.1.106');

and this...

define('DIR_FS_SQL_CACHE', '/C:/wamp/www/shop/cache');

to this...

define('DIR_FS_SQL_CACHE', 'C:/wamp/www/shop/cache');

Just removed the beginning / mark. And, basically changed the same things in


C:\wamp\www\shop\admin\includes\configure.php

Changed this...

define('HTTP_SERVER', 'http://192.168.1.106');
define('HTTPS_SERVER', 'https://localhost');
define('HTTP_CATALOG_SERVER', 'http://192.168.1.106');
define('HTTPS_CATALOG_SERVER', 'https://localhost');

to this...

define('HTTP_SERVER', 'http://192.168.1.106');
define('HTTPS_SERVER', 'https://192.168.1.106');
define('HTTP_CATALOG_SERVER', 'http://192.168.1.106');
define('HTTPS_CATALOG_SERVER', 'https://192.168.1.106');

and this...

define('DIR_FS_SQL_CACHE', '/C:/wamp/www/shop/cache');

to this...

define('DIR_FS_SQL_CACHE', 'C:/wamp/www/shop/cache');

Removed the beginning / mark.

Thanks for all your help!!! And thanks to my husband for suggesting somehow going backwards to fix the problem. That's what gave me the idea!

Hope this helps someone else,
Rebekah

**TheWindCutter.com**
Professional Microphone Windscreens
*Got wind noise? We've got you covered. *

15 Jan 2008, 10:26 AM
#24
cokilan avatar

cokilan

New Zenner

Join Date:
Jan 2008
Posts:
2
Plugin Contributions:
0

Re: Image handler error on local install

misty:

Not correct

is CORRECT
yes :clap: