I realize this plugin was developed about 9 years ago but it was very helpful for me to recently migrate an old Gallery 2 site to WordPress. The site had over 1000 galleries and 13000 images so the process took a long time and much customization but eventually succeeded. The SQL queries were especially helpful in assisting me to understand the Gallery 2 database structure.
If anyone is still attempting to use this plugin, I believe it will work out-of-the-box for a small Gallery site but the key is to first install a very old version of WordPress before starting the migration. I used WP version 3.1.4 and after the import updated to 5.7.1;
Thank you again for the assist and have an awesome day!
]]>Trying to import this gallery: https://www.ylgs.org.uk/ylgstestsite/gallery.php
Importing 2278 total Gallery2 albums and images and 0 comments…
Importing YLGS Photo Gallery…
Warning: mysql_real_escape_string(): 20 is not a valid MySQL-Link resource in /home/www/www.ylgs.org.uk/public_html/blog/wp-includes/wp-db.php on line 880
Warning: mysql_real_escape_string(): 20 is not a valid MySQL-Link resource in /home/www/www.ylgs.org.uk/public_html/blog/wp-includes/wp-db.php on line 880
Warning: mysql_real_escape_string(): 20 is not a valid MySQL-Link resource in /home/www/www.ylgs.org.uk/public_html/blog/wp-includes/wp-db.php on line 880
Warning: mysql_error(): 20 is not a valid MySQL-Link resource in /home/www/www.ylgs.org.uk/public_html/blog/wp-includes/wp-db.php on line 1206
Warning: mysql_real_escape_string(): 20 is not a valid MySQL-Link resource in /home/www/www.ylgs.org.uk/public_html/blog/wp-includes/wp-db.php on line 880
Warning: mysql_real_escape_string(): 20 is not a valid MySQL-Link resource in /home/www/www.ylgs.org.uk/public_html/blog/wp-includes/wp-db.php on line 880
Warning: mysql_real_escape_string(): 20 is not a valid MySQL-Link resource in /home/www/www.ylgs.org.uk/public_html/blog/wp-includes/wp-db.php on line 880
Warning: mysql_real_escape_string(): 20 is not a valid MySQL-Link resource in /home/www/www.ylgs.org.uk/public_html/blog/wp-includes/wp-db.php on line 880
Warning: mysql_error(): 20 is not a valid MySQL-Link resource in /home/www/www.ylgs.org.uk/public_html/blog/wp-includes/wp-db.php on line 1206
Warning: mysql_real_escape_string(): 20 is not a valid MySQL-Link resource in /home/www/www.ylgs.org.uk/public_html/blog/wp-includes/wp-db.php on line 880
Warning: mysql_real_escape_string(): 20 is not a valid MySQL-Link resource in /home/www/www.ylgs.org.uk/public_html/blog/wp-includes/wp-db.php on line 880
Warning: mysql_real_escape_string(): 20 is not a valid MySQL-Link resource in /home/www/www.ylgs.org.uk/public_html/blog/wp-includes/wp-db.php on line 880
Warning: mysql_real_escape_string(): 20 is not a valid MySQL-Link resource in /home/www/www.ylgs.org.uk/public_html/blog/wp-includes/wp-db.php on line 880
Warning: mysql_real_escape_string(): 20 is not a valid MySQL-Link resource in /home/www/www.ylgs.org.uk/public_html/blog/wp-includes/wp-db.php on line 880
Warning: mysql_real_escape_string(): 20 is not a valid MySQL-Link resource in /home/www/www.ylgs.org.uk/public_html/blog/wp-includes/wp-db.php on line 880
Warning: mysql_real_escape_string(): 20 is not a valid MySQL-Link resource in /home/www/www.ylgs.org.uk/public_html/blog/wp-includes/wp-db.php on line 880
Warning: mysql_real_escape_string(): 20 is not a valid MySQL-Link resource in /home/www/www.ylgs.org.uk/public_html/blog/wp-includes/wp-db.php on line 880
Warning: mysql_real_escape_string(): 20 is not a valid MySQL-Link resource in /home/www/www.ylgs.org.uk/public_html/blog/wp-includes/wp-db.php on line 880
Warning: mysql_real_escape_string(): 20 is not a valid MySQL-Link resource in /home/www/www.ylgs.org.uk/public_html/blog/wp-includes/wp-db.php on line 880
Warning: mysql_real_escape_string(): 20 is not a valid MySQL-Link resource in /home/www/www.ylgs.org.uk/public_html/blog/wp-includes/wp-db.php on line 880
Warning: mysql_real_escape_string(): 20 is not a valid MySQL-Link resource in /home/www/www.ylgs.org.uk/public_html/blog/wp-includes/wp-db.php on line 880
Warning: mysql_real_escape_string(): 20 is not a valid MySQL-Link resource in /home/www/www.ylgs.org.uk/public_html/blog/wp-includes/wp-db.php on line 880
Warning: mysql_real_escape_string(): 20 is not a valid MySQL-Link resource in /home/www/www.ylgs.org.uk/public_html/blog/wp-includes/wp-db.php on line 880
Warning: mysql_real_escape_string(): 20 is not a valid MySQL-Link resource in /home/www/www.ylgs.org.uk/public_html/blog/wp-includes/wp-db.php on line 880
Warning: mysql_real_escape_string(): 20 is not a valid MySQL-Link resource in /home/www/www.ylgs.org.uk/public_html/blog/wp-includes/wp-db.php on line 880
Warning: mysql_real_escape_string(): 20 is not a valid MySQL-Link resource in /home/www/www.ylgs.org.uk/public_html/blog/wp-includes/wp-db.php on line 880
Warning: mysql_real_escape_string(): 20 is not a valid MySQL-Link resource in /home/www/www.ylgs.org.uk/public_html/blog/wp-includes/wp-db.php on line 880
Warning: mysql_real_escape_string(): 20 is not a valid MySQL-Link resource in /home/www/www.ylgs.org.uk/public_html/blog/wp-includes/wp-db.php on line 880
Warning: mysql_real_escape_string(): 20 is not a valid MySQL-Link resource in /home/www/www.ylgs.org.uk/public_html/blog/wp-includes/wp-db.php on line 880
Warning: mysql_error(): 20 is not a valid MySQL-Link resource in /home/www/www.ylgs.org.uk/public_html/blog/wp-includes/wp-db.php on line 1206
Warning: mysql_affected_rows(): 20 is not a valid MySQL-Link resource in /home/www/www.ylgs.org.uk/public_html/blog/wp-includes/wp-db.php on line 1218
Warning: mysql_insert_id(): 20 is not a valid MySQL-Link resource in /home/www/www.ylgs.org.uk/public_html/blog/wp-includes/wp-db.php on line 1221
Couldn’t get post ID
Setting gallery page hierarchy…Done!
I’m attempting to import the albums from a gallery2 installation, the error i get when i run the import process is: Couldn’t select gallery comments from the database.
I don’t really want the comments important anyway, can i leave them out?
]]>I’ve tried using both 3.1 and 3.0 of this plugin on two WP installations – one 3.1.3 and the other 3.2.1 – and it wouldn’t work on either.
On both blogs the plugin gets as far as writing the header of step 1 then gives up. The last line of the page source is <h2>Import Gallery2</h2>
.
Hi,
I try to import gallery from wordpress and say this error:
Importing 13899 total Gallery2 albums and images and 0 comments…
1. Importing Galerias… Couldn’t get post ID Setting gallery page hierarchy…Done! ?Comments
2.
3. All done. Have fun!
Please help!
Thanks!
]]>Hi, I just installed and activated and when I go to import, it can’t find the database
Import Gallery2
Couldn’t create database connection.
I was excited to hear about this plugin and have a question. Gallery2 allows mixed media galleries (e.g., galleries containing photos and videos). How does the Gallery2 Importer plugin handle galleries which include videos?
]]>