When I moved VPSs, I exported and imported the MySQL database and moved the Piwigo web directory. I then changed a config file to match the new MySQL login. Most of the site works, but certain pages are broken. (see screenshot) The file it is looking for exists, but it is looking in the wrong directory. Piwik was/is installed
on the old VPS in /var/www/html/piwigo
on the new VPS in /var/www/flexstart/piwigo
How can I get Piwigo to look in the right directory for that file? Thanks in advanced!
Piwigo version: 2.7.4
PHP version: PHP: 5.5.9-1ubuntu4.14
MySQL version: 5.5.46-0ubuntu0.14.04.2
Piwigo URL: http://sdmemecentral.homenet.org or https://flexstart.me/piwigo
Error Text Below
==========
Warning: include(/var/www/html/piwigo/include/smarty/libs/plugins/function.html_options.php): failed to open stream: No such file or directory in /var/www/flexstart/piwigo/_data/templates_c/8cpdn4^b7c46799017b44c0c399d698d7dac422c4948d95.file.configuration_main.tpl.php on line 33
Warning: include(): Failed opening '/var/www/html/piwigo/include/smarty/libs/plugins/function.html_options.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/flexstart/piwigo/_data/templates_c/8cpdn4^b7c46799017b44c0c399d698d7dac422c4948d95.file.configuration_main.tpl.php on line 33
Last edited by mt-dev (2015-11-29 23:11:22)
Offline
Delete all php files in templates_c directory.
Offline
Thanks so much rvelices! Everything works great now!
Offline