Announcement

#1 2023-02-19 02:01:09

ITNavigate
Member
2023-02-18
4

Error displaying images on 13.5.0 and git master with PHP 8.1.2

Hello/Hi/Greetings,

I get an error that I think is different to the other "Not Displaying" and PHP 8.x errors.

I have been through the https://piwigo.org/doc/doku.php?id=user … es_missing troubleshooting. I can't seem to create a _data/tmp/i.log file.

However, on my album page, https://awesomefunkyfelines.com.au/inde … ategory/1, If I do a show source, I see this:

<div class="loader"><img src="themes/default/images/ajax_loader.gif"></div>
<ul class="thumbnails" id="thumbnails">
  <li><span class="wrap1"><span class="wrap2"><a href="picture.php?/1/category/1"><img class="thumbnail" src="_data/i/upload/2023/02/18/20230218140656-ebd55947-th.jpg" alt="20230216 094514" title="20230216 094514 (2 visits)"></a></span><span class="thumbLegend"><span class="thumbName">20230216 094514</span><img title="photos posted during the last 7 days" src="themes/default/icon/recent.png" alt="(!)"></span></span></li>
</ul>

</div><div id="copyright">

I thought the src should point to i.php?...., not the image itself.

When I first upload the image, I can see it on the upload page, but then sometimes I see it in the first 2 mins on the full size, but never after that.

Where have I gone wrong?

I am running Ubuntu 22.04, with SSL (letsencrypt) on an AWS EC2 instance.

Environment
Piwigo 13.0.0RC4 Check for upgrade
Installed on 18 February 2023, 10 hours ago
Operating system: Linux
PHP: 8.1.2-1ubuntu2.10 (Show info) [2023-02-19 00:39:59]
MySQL: 5.5.5-10.6.11-MariaDB-0ubuntu0.22.04.1 [2023-02-19 00:39:59]
Graphics Library: External ImageMagick 6.9.11-60
Cache size N/A   never calculated Refresh

Activated plugin list0
No plugin activated

Piwigo URL: https://AwesomeFunkyFelines.com.au

Offline

 

#2 2023-02-19 12:35:20

ITNavigate
Member
2023-02-18
4

Re: Error displaying images on 13.5.0 and git master with PHP 8.1.2

Further to my last...

Looks like the PayPal plugin has something to do with it.

I installed a new VPS with ubuntu 20.04 LTS (PHP 7.4) and Piwigo 13.5.0 from releases.

Images were showing OK before PayPal, but not after.

I removed the PayPal and it is still broken :-(

More debugging required.

Offline

 

#3 2023-02-19 12:36:47

erAck
Only trying to help
2015-09-06
1998

Re: Error displaying images on 13.5.0 and git master with PHP 8.1.2

ITNavigate wrote:

I get an error that I think is different to the other "Not Displaying" and PHP 8.x errors.

Indeed, for that thumbnail image a 403 error is hit. Check your server permissions.

I have been through the https://piwigo.org/doc/doku.php?id=user … es_missing troubleshooting. I can't seem to create a _data/tmp/i.log file.

One more indication that permissions for the user the web server runs as are not sufficient under the _data/ subdirectory.

See also [Forum, post 183419 by erAck in topic 31993] What are the correct permissions for Piwigo files and directories ?.

I thought the src should point to i.php?...., not the image itself.

No. <img src=...> is supposed to point to the image file, not some php or html file.

Piwigo 13.0.0RC4

After you sorted out your server permissions, upgrade to the latest release.


Running Piwigo at https://erack.net/gallery/

Offline

 

#4 2023-02-19 14:05:47

ITNavigate
Member
2023-02-18
4

Re: Error displaying images on 13.5.0 and git master with PHP 8.1.2

Thanks for your reply !!

I'll check permissions tomorrow.

Last edited by ITNavigate (2023-02-19 14:06:06)

Offline

 

Board footer

Powered by FluxBB

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