Announcement

#1 2015-11-29 23:07:32

mt-dev
Member
2015-11-29
2

Error when Moving Piwigo from one server to another

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

 

#2 2015-11-30 11:09:48

rvelices
Former Piwigo Team
2005-12-29
1960

Re: Error when Moving Piwigo from one server to another

Delete all php files in templates_c directory.

Offline

 

#3 2015-12-01 01:41:12

mt-dev
Member
2015-11-29
2

Re: Error when Moving Piwigo from one server to another

Thanks so much rvelices! Everything works great now!

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact