?
Solved

Magento installation on Plesk with IIS - ZEND issue

Posted on 2011-02-17
3
Medium Priority
?
1,361 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

How Blockchain Is Impacting Every Industry

Blockchain expert Alex Tapscott talks to Acronis VP Frank Jablonski about this revolutionary technology and how it's making inroads into other industries and facets of everyday life.

Question has a verified solution.

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

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to count occurrences of each item in an array.
Suggested Courses

752 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