Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Back2Front Warning Messages, etc. #2

Open
f3red opened this issue Sep 28, 2023 · 0 comments
Open

Back2Front Warning Messages, etc. #2

f3red opened this issue Sep 28, 2023 · 0 comments

Comments

@f3red
Copy link

f3red commented Sep 28, 2023

When attempting to designate a photo as a backside of another, I see the following message immediately following the "This picture is a backside" checkbox:

Warning: Undefined array key "B2F_IS_VERSO" in /home/u_group/preller.us/384thBombGroupWebsite/htdocs/piwigo_384th_gallery/_data/templates_c/p6jhns_bdxo9y^82ee72dcda7e2f01282ae68e16349118fdb25090_0.file.picture_modify.tpl.php on line 415

Warning: Attempt to read property "value" on null in /home/u_group/preller.us/384thBombGroupWebsite/htdocs/piwigo_384th_gallery/_data/templates_c/p6jhns_bdxo9y^82ee72dcda7e2f01282ae68e16349118fdb25090_0.file.picture_modify.tpl.php on line 415

After clicking on the checkbox I see the following message following the "...of the picture n°" data entry field:

/home/u_group/preller.us/384thBombGroupWebsite/htdocs/piwigo_384th_gallery/_data/templates_c/p6jhns_bdxo9y^82ee72dcda7e2f01282ae68e16349118fdb25090_0.file.picture_modify.tpl.php on line 422

Warning: Attempt to read property "value" on null in /home/u_group/preller.us/384thBombGroupWebsite/htdocs/piwigo_384th_gallery/_data/templates_c/p6jhns_bdxo9y^82ee72dcda7e2f01282ae68e16349118fdb25090_0.file.picture_modify.tpl.php on line 422

AND the data entry field contains the following: "<br /><b>Warning</b>: Undefined array key"

Another symptom observed is that, in the album view, any photo with a back will display (in addition to the front/back arrow below) the following two characters above it: ">
See this at https://photos.384thbombgroup.com/index.php?/category/Birder_R

By trial and error I learned that backside assignment is successful if I clear the data entry field before entering the index of the photo this one is the backside of.

Something clearly is rong but I am not sure where to start troubleshooting - especially since the plugin can be made to (apparently) function correctly.

Note use of PHP 8 and latest Piwigo version (at this time).

HELP!

Piwigo 13.8.0
Installed on 7 June 2015, 8 years 3 months 2 weeks 4 days ago
Operating system: Linux
PHP: 8.0.28 (Show info) [2023-09-26 10:30:21]
MySQL: 8.0.28-0ubuntu0.20.04.3 [2023-09-26 10:30:21]
Graphics Library: External ImageMagick 6.9.7-4
Cache size N/A   never calculated

Admin Tools
Autocorrect Filename
Back2Front
Batch Downloader
Check Uploads
Comments on Albums
Community
Custom Download Link
Edit Filename
Exif View
Extended Description
File Uploader
Force HTTPS
Image Preview
LocalFiles Editor
Manage Properties Photos
Media Icon
Photo Update
Piwigo Donate
prevnext
RV DB Integrity
VideoJS

URL: https://photos.384thbombgroup.com/

viosca added a commit to viosca/Piwigo-Back2Front that referenced this issue Oct 20, 2023
Fixed:
PHP Warnings due to initialized template variable. Cleaned up english lang translations. Modified Maintenance mode to put checks before actions.
Some logic in had to be modified to prevent empty/corrupt fields, etc.
@viosca viosca mentioned this issue Oct 20, 2023
canalnoises added a commit to canalnoises/Piwigo-Back2Front that referenced this issue Jan 3, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant