Solved

Magento installation on Plesk with IIS - ZEND issue

Posted on 2011-02-17
3
1,328 Views
Last Modified: 2012-05-11
http://shop.nordisk-solvarme.se/magento/

I'm running a 1&1 dedicated server with Plesk on Windows platform.

PHP 5 is running nicely on the server since before as well as MySQL. (I'm running Wordpress etc)

I've managed to activate everything required in the "Installation Guide", created the DB, user and then inputting this in to the Magento installation form.

Magento creates all the tables etc but never completes the installation but gives me the error code as you can see on the link

http://shop.nordisk-solvarme.se/magento/
Fatal error: Class 'Zend_Exception' not found in C:\Inetpub\vhosts\nordisk-solvarme.se\subdomains\shop\httpdocs\magento\lib\Zend\Db\Exception.php on line 33

Does anyone know how to fix it or why it might be happening ?

Thanks
0
Comment
Question by:SvassUK
  • 2
3 Comments
 
LVL 4

Expert Comment

by:JayDiablo
ID: 34922566
Zend_Exception is a class that most of the components in the Zend Framework extend to throw their own exceptions.  In this case, Zend_Db is trying to throw an exception (an application error) but it can't find the Zend_Exception class file.  The magento application should've included this file as part of their distribution.

It should reside here:

C:\Inetpub\vhosts\nordisk-solvarme.se\subdomains\shop\httpdocs\magento\lib\Zend\Exception.php

If that doesn't exist, you may want to double check that all of the magento files got uploaded.  If it does exist, then it could be an include_path/autoloader issue.
0
 

Author Comment

by:SvassUK
ID: 34942189
Hi JayDiablo:

The file does exist however the include I think is missing but not sure how to get that sorted.

I'm trying to install the ZEND framework as I'm running a Windows platform with IIS I don't think it's installed yet.

From what I've read I then have to add an Include path in php.ini

I'm thinking it might be too much hassle to get Magento to run on a Windows plaftorm if I want to run IIS and not WAMP or similar.

Will try some more steps and then just get a UNIX web server instead for this project.

Thanks.

0
 
LVL 4

Accepted Solution

by:
JayDiablo earned 500 total points
ID: 34943178
It should be possible to setup your include_path properly:

http://devzone.zend.com/article/4683

That article describes a couple of different approaches.

Here's another person that had similar issues:

http://www.phpbuilder.com/board/showthread.php?t=10348288

You should be able to add this directory to your include_path line in your php.ini:

C:\Inetpub\vhosts\nordisk-solvarme.se\subdomains\shop\httpdocs\magento\lib\Zend

And then Zend's autoloader should take care of loading any Zend Framework files for you (if magento's system is setup right, which I assume it is).
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to dynamically set the form action using jQuery.

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question