Announcement

#1 2023-02-02 23:17:50

rpeterson157
Member
2023-02-02
5

Importing comments and users from old version

Hello/Hi/Greetings,

I am helping a family recover their son's photo album. He died in a plane crash last year.
He had a very old version of piwigo using php5.0 on an AWS server (but I am unable to find the version number.  Last copyright on it was 2016).
We have moved the photos to a new local host and installed the latest version of piwigo (13.5.0).
And I was able to import/sync the albums and photos into Piwigo. (Nice program!)
www.Spearfish.biz/photo (this is a parked domain name until we can transfer the main name)

We want to import the old comments and users and visit counts.  I assume that is all in the old site's database... which I have. I don't know what I need to do to import this info, can anyone help me?

I did import the old DB to my account and edited the /local/config/database.inc.php to use the old DB, but I get:

Warning: mysqli::__construct(): (HY000/1045): Access denied for user 'piwigo'@'localhost' (using password: YES) in /home/friendshuh/public_html/photo/include/dblayer/functions_mysqli.inc.php on line 52
Warning: my_error(): Couldn't fetch mysqli in /home/friendshuh/public_html/photo/include/dblayer/functions_mysqli.inc.php on line 839
Warning: my_error(): Couldn't fetch mysqli in /home/friendshuh/public_html/photo/include/dblayer/functions_mysqli.inc.php on line 839
non recoverable error  "can't connect'.
#1  my_error /home/friendshuh/public_html/photo/include/common.inc.php (122)
#2  include_once /home/friendshuh/public_html/photo/index.php (11)

Piwigo 13.5.0 Check for upgrade
Installed on 2 February 2023, 8 hours ago
Operating system: Linux
PHP: 7.4.33 (Show info) [2023-02-02 22:16:14]
MySQL: 5.7.41 [2023-02-02 15:16:14]
Graphics Library: GD bundled (2.1.0 compatible)
Cache size N/A   never calculated Refresh

Piwigo URL: http://Spearfish.biz/photo

Thanks for any help!

Offline

 

#2 2023-02-03 16:00:13

BigIsland270972
Member
Norway
2022-03-15
374

Re: Importing comments and users from old version

Hello. Make sure you  have specify the correct username and password for your Mysql [MariaDB]database server Also you have to specify the correct database NAME.

Last edited by BigIsland270972 (2023-02-03 16:00:34)


Piwigo 14.0 | https://fotoarkiv.no | https://foto.arki.vet | http://Bergen.gallery  | http://Ålesund.gallery | http://geiranger.gallery | http://fjord.photos | http://foto.oslo.no
Apache | PHP 8.1 | MariaDB

Offline

 

#3 2023-02-03 17:48:29

rpeterson157
Member
2023-02-02
5

Re: Importing comments and users from old version

Pretty sure I did... but I'll try this again today to be certain.

Offline

 

Board footer

Powered by FluxBB

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