Précédent   Forum des professionnels en informatique > PHP > Outils > Zend > Zend Framework > Zend_Form
Zend_Form Forum d'entraide pour le composant Zend_Form du Zend Framework (création de formulaires, helpers, AJAX etc.). Avant de poster -> FAQ Zend_Form.
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 13/05/2011, 16h33   #1
 
Inscription : mai 2007
Messages : 304
Détails du profil
Informations forums :
Inscription : mai 2007
Messages : 304
Points : -10
Points : -10
Par défaut Fatal error: Class 'Zend_Form' not found in C:\wamp\chemin

Bonjour,

j'ai reçu cette erreur :
Citation:
Class 'Zend_Form' not found in C:\wamp\www\
sachant que
Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
 
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
protected function _initAutoload()
        {
            $autoloader = new Zend_Application_Module_Autoloader(array(
                'namespace' => '',
                'basePath'  => dirname(__FILE__),
            ));
            return $autoloader;
        }
 
        protected function _initDoctype()
        {
            $this->bootstrap('view');
            $view = $this->getResource('view');
            $view->doctype('XHTML1_STRICT');
        }
fichier index.php
Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/ Define path to application directory
defined('APPLICATION_PATH')
    || define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../application'));
 
// Define application environment
defined('APPLICATION_ENV')
    || define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'production'));
 
// Ensure library/ is on include_path
set_include_path(implode(PATH_SEPARATOR, array(
    realpath(APPLICATION_PATH . './../../library'),
    get_include_path(),
)));
 
/** Zend_Application */
require_once 'Zend/Application.php';
 
// Create application, bootstrap, and run
$application = new Zend_Application(
    APPLICATION_ENV,
    APPLICATION_PATH . '/configs/application.ini'
);
$application->bootstrap()
            ->run();
C:\wamp\www\library

svp si quelqu'un peut m’aider
manjava est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 13/05/2011, 16h39   #2
Modérateur
 
Inscription : septembre 2010
Messages : 7 103
Détails du profil
Informations forums :
Inscription : septembre 2010
Messages : 7 103
Points : 8 466
Points : 8 466
t'as quelle version du ZF ?
__________________
http://blog.stealth35.com/
stealth35 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 13/05/2011, 16h51   #3
 
Inscription : mai 2007
Messages : 304
Détails du profil
Informations forums :
Inscription : mai 2007
Messages : 304
Points : -10
Points : -10
zend 1.11
manjava est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 13h19.


 
 
 
 
Partenaires

Hébergement Web