Note that there are some explanatory texts on larger screens.

plurals
  1. POzend and smarty site clone problem
    text
    copied!<p>I created a site a while ago using zend and smarty. The site is hosted on a virtual machine with centOS. Now I want to create a similar site so I creeated another virtual host, ftp user etc etc on the same machine.</p> <p>I modified the ini file that contained the paths: paths.base = /var/www/html/new_path<br /> paths.data = /var/www/html/new_path/data <br /> paths.templates = /var/www/html/new_path/templates <br /> paths.cache = /var/www/html/new_path/data/tmp/cache <br /> paths.public = /var/www/html/new_path/public_html <br /></p> <p>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/<strong>old_path</strong>/include/Zend/Loader.php on line 146</p> <p>Warning: include_once() [function.include]: Failed opening 'DatabaseObject/New.php' for inclusion (include_path='.:/var/www/html/<strong>old_path</strong>/include:/usr/share/pear/') in /var/www/html/<strong>old_path</strong>/include/Zend/Loader.php on line 146</p> <p>Fatal error: Class 'DatabaseObject_Chat' not found in /var/www/html/<strong>new_path</strong>/include/Controllers/ChatController.php on line 8 ).</p> <p>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).</p> <p>For any details just ask... I'm stuck. </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload