|
|||
|
I followed the screencast from ZendFramework's site (several times) and I keep getting this error:
Parse error: parse error, unexpected T_ARRAY, expecting '&' or T_VARIABLE in /zftest/library/Zend/Controller/Front.php on line 634 Does anyone have a solution? My Directory Structure: --zftest |--apps | |--controllers | |--models | |--views |--library |--pub |--index.php My Code: <?php // Error Reporting error_reporting(E_ALL|E_STRICT); ini_set('dispaly_errors','on'); // Modify include path ini_set('include_path', ini_get('include_path') . PATH_SEPARATOR . '../library'); // Zend Framework Includes require_once "Zend/Loader.php"; // Get the front instance Zend_Loader::loadClass('Zend_Controller_Front'); $front = Zend_Controller_Front::getInstance(); $front->setControllerDirectory('../apps/controllers'); $front->throwExceptions(true); // Start $front->dispatch(); ?> Thanks a lot for any help! |
![]() |
| Thread Tools | |
| Display Modes | |
|
|