zend ve smarty sitesi klon sorunu

0 Cevap php

Ben zend ve smarty kullanarak bir süre önce bir site oluşturduk. Site CentOS ile bir sanal makine üzerinde barındırılan. Şimdi ben başka bir sanal konak, aynı makinede ftp kullanıcı vs vs creeated benzer bir site oluşturmak istiyorum.

I modified the ini file that contained the paths: paths.base = /var/www/html/new_path
paths.data = /var/www/html/new_path/data
paths.templates = /var/www/html/new_path/templates
paths.cache = /var/www/html/new_path/data/tmp/cache
paths.public = /var/www/html/new_path/public_html

The porblem is that somehow when I try to access zend/loader.php (I try to load a database object) it is used the loader from the old path (/var/www/html/oldpath/include/zend/loader.php) so naturally I cant access any new objects I create for the new site ( Warning: include_once(DatabaseObject/New.php) [function.include-once]: failed to open stream: No such file or directory in /var/www/html/old_path/include/Zend/Loader.php on line 146

Uyarı: include_once () [function.include]:. Dahil Başarısız açılım 'DatabaseObject / New.php' (include_pathdaki = ':/ var / www / html / old_path / include :/ usr / share / armut / ') / var / www / html / old_path / include / Zend / Loader.php line 146

Fatal error: Class 'DatabaseObject_Chat' not found in /var/www/html/new_path/include/Controllers/ChatController.php on line 8 ).

There are no other paths defined anywhere. Caching is disabled. It occurs on different computers, browsers, etc so is not a local problem (residual value of some-type).

Herhangi bir bilgi sadece sormak için ... Ben şaşırıp.

0 Cevap