Solved

Magento installation on Plesk with IIS - ZEND issue

Posted on 2011-02-17
3
1,316 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Join & Write a Comment

Suggested Solutions

These days socially coordinated efforts have turned into a critical requirement for enterprises.
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

708 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now