besoin d'aide : Parse error: syntax error, unexpected T_OBJE
Posté : 23 juil. 2008, 17:11
bonjour,
j'essai d'installer un module sur mon site et j'ai l'erreur suivante :
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /www/.../application/bootstrap.php on line 32
pourriez-vous m'aider et me dire ce qui cloche dans le code de ce fichier car je ne le comprends pas :
j'essai d'installer un module sur mon site et j'ai l'erreur suivante :
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /www/.../application/bootstrap.php on line 32
pourriez-vous m'aider et me dire ce qui cloche dans le code de ce fichier car je ne le comprends pas :
// Zend_Registry::set('modelDir', $application . 'models' . DIRECTORY_SEPARATOR);
$configFile = 'config' . DIRECTORY_SEPARATOR . 'config.ini';
Zend_Registry::set('configFile', $configFile);
Zend_Layout::startMvc(array('layoutPath' => $application . 'views' . DIRECTORY_SEPARATOR . 'layout' . DIRECTORY_SEPARATOR));
Zend_Controller_Front::getInstance()
->setControllerDirectory($application . 'controllers' . DIRECTORY_SEPARATOR) //////ligne 32
->registerPlugin(new M2fapp_Plugin_CheckInstalled)
->registerPlugin(new M2fapp_Plugin_ConnectDb)
->dispatch();