Hello,
Hello,
I'm in the process of setting up new server and moving fristersoft.net gallery to it. The new server is not yet public-facing.
Since /var/www/piwigo on the old server is a link to files on a NAS, I did not copy this to the new server, just created a link on the new server with the same owner, group and permissions.
dumped old database in old server
mysqldump -u root -p --routines --triggers --events piwigo > piwigo-backup.sql
created piwigo database on new server with defaults, then restored
mysql -u root -p --database=piwigo < piwigo-backup.sql
When I go to the new server gallery home page, I get these errors at the bottom of the page and none of the album thumbnails show up.
fatal error: Uncaught mysqli_sql_exception: Unknown column 'search_id' in 'INSERT INTO' in /var/www/piwigo/include/dblayer/functions_mysqli.inc.php on line 132
mysqli_sql_exception: Unknown column 'search_id' in 'INSERT INTO' in /var/www/piwigo/include/dblayer/functions_mysqli.inc.php on line 132
After I log in, the home page looks fine. But, if i go to view a photo, I get these errors at the top of the page.
Notice: exif_read_data(WP_20160925_014.jpg): Potentially invalid endianess, trying again with different endianness before imminent failure. in /var/www/piwigo/plugins/SimpleCopyright/image.php on line 26
Call Stack
Time Memory Function Location
1 0.0023 392504 {main}( ) .../picture.php:0
2 0.1225 1161528 trigger_notify( $event = 'loc_begin_picture' ) .../picture.php:129
3 0.1226 1162696 simplecr_add_image_vars_to_template( ) .../functions_plugins.inc.php:264
4 0.1228 1180008 exif_read_data( $file = './galleries/2016/20160925/WP_20160925_014.jpg', $required_sections = 'EXIF' ) .../image.php:26
Warning: exif_read_data(WP_20160925_014.jpg): Illegal IFD size: 2 + 0x6F4E*12 = 0x537AA > 0x0005 in /var/www/piwigo/plugins/SimpleCopyright/image.php on line 26
Call Stack
Time Memory Function Location
1 0.0023 392504 {main}( ) .../picture.php:0
2 0.1225 1161528 trigger_notify( $event = 'loc_begin_picture' ) .../picture.php:129
3 0.1226 1162696 simplecr_add_image_vars_to_template( ) .../functions_plugins.inc.php:264
4 0.1228 1180008 exif_read_data( $file = './galleries/2016/20160925/WP_20160925_014.jpg', $required_sections = 'EXIF' ) .../image.php:26
Warning: Cannot modify header information - headers already sent by (output started at /var/www/piwigo/plugins/SimpleCopyright/image.php:26) in /var/www/piwigo/include/page_header.php on line 99
Call Stack
Time Memory Function Location
1 0.0023 392504 {main}( ) .../picture.php:0
2 0.2502 2191888 include( '/var/www/piwigo/include/page_header.php ) .../picture.php:1018
3 0.2535 2199512 header( $header = 'Content-Type: text/html; charset=utf-8' ) .../page_header.php:99
New environment:
Piwigo 16.4.0
Operating system: Linux -- Debian GNU/Linux 13.7 (trixie)
PHP: 8.4.27
MySQL: 11.8.6-MariaDB-0+deb13u1 from Debian
Graphics Library: External ImageMagick 7.1.1-43
Old environment:
Piwigo 16.4.0
Operating system: Linux -- Debian GNU/Linux 11 (bullseye)
PHP: 7.4.33 (Show info)
MySQL: 5.5.5-10.5.29-MariaDB-0+deb11u1
Graphics Library: External ImageMagick 6.9.11-60
Both old a new show the same 47 plugins active.
Add < head > element; Add tags mass; Additional Pages; Admin Tools; Advanced Menu Manager; AlwaysShowMetadata; Automatic Size; BatchCustomDerivatives; Community; Cookie Consent; Exif View; Exiftool GPS; Extended Description; FCK Editor; gdThumb; Grum Plugins Classes.3; Language Switch; Linked Pages; LocalFiles Editor; Manage Properties Photos; Media Icon; meta; OpenStreetMap; Panoramas; Password Policy; Personal Favicon; Photo Update; PHP Captcha for Piwigo; Piwecard; PWG Stuffs; Read Metadata; rightClick; Rotate Image; RV DB Integrity; RV Menu Tree; RV sitemap; RV Thumb Scroller; Simple Copyright; SmartAlbums; Social Buttons; Social Connect; Tag Groups; Tag To Keyword; Take A Tour of Your Piwigo; Title; user delete photo; VideoJS