Solved

Magento installation on Plesk with IIS - ZEND issue

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
converting numbers with php 3 32
is this a cms? 8 36
I want to echo out my field names with its values into a table 10 13
MySQL Error Code 2 7
Creating and Managing Databases with phpMyAdmin in cPanel.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
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 look for a specific file type in a local or remote server directory using PHP.

863 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

21 Experts available now in Live!

Get 1:1 Help Now