Sunday, July 6, 2014

how to migrate piwigo from one server to another server

A lot of places were giving half info or conflicting info .

1st go to your old servers cpanel and then goto phpMyadmin
click on your old database on the left
then goto export and export the whole db

then you need to download via ftp these 5 folders

  • galleries
  • upload
  • plugins
  • template-extension
  • local

upload will be the biggest folder as it contains all your uploaded photos.


now set up a new db on your new server via mysql
if your new server is on shared hosting. you need to edit the db name ,db user , pwd in the file inside the local folder

and then upload and unpack the piwigo zip file.
now delete the local folder .

upload the folders




  • galleries
  • upload
  • plugins
  • template-extension
  • local
via ftp to your new server 

without the upload folder from your old server your photos will not show up on your new server. 

2 comments:

  1. Followed all the steps. Cant access the admin pages, redirect to main gallery page. The main gallery page gives out the following errors.

    Warning: include(/themeconf.inc.php: failed to open stream: No such file or directory in /home/photoandcrochet/public_html/piwigo/include/template.class.php on line 1156

    Warning: include(): Failed opening '/themeconf.inc.php' for inclusion (include_path='.:/usr/share/php') in /home/photoandcrochet/public_html/piwigo/include/template.class.php on line 1156

    Fatal error? Uncaught --> Smarty: Unable to load template file 'menubar.tpl' <-- thrown in /home/photoandcrochet/public_html/piwigo/include/smarty/libs/sysplugins/smarty_internal_template.php on line 139

    ReplyDelete

  2. Thanks for the good posting this information.I have read your article briefly!

    Microsoft Server 2016 Installation

    ReplyDelete