[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Magento installation on Plesk with IIS - ZEND issue

Posted on 2011-02-17
3
Medium Priority
?
1,382 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 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In this article, we’ll look at how to deploy ProxySQL.
Recursive SQL is one of the most fascinating and powerful and yet dangerous feature offered in many modern databases today using a Common Table Expression (CTE) first introduced in the ANSI SQL 99 standard. The first implementations of CTE began ap…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

834 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