#1 2025-01-05 10:37:02

John R
Member
2023-04-17
28

Failure upgrading from 15.1 to 15.3

Hello/Hi/Greetings,

When I try to upgrade I'm greeted by this message.

Warning: include_once(.//include/pwgsession.class.php): Failed to open stream: No such file or directory in /usr/local/www/piwigo/include/functions_session.inc.php on line 25

Warning: include_once(): Failed opening './/include/pwgsession.class.php' for inclusion (include_path='.:/usr/local/share/pear') in /usr/local/www/piwigo/include/functions_session.inc.php on line 25

Fatal error: Uncaught Error: Class "PwgSession" not found in /usr/local/www/piwigo/include/functions_session.inc.php:32 Stack trace: #0 /usr/local/www/piwigo/include/functions.inc.php(16): include_once() #1 /usr/local/www/piwigo/include/common.inc.php(107): include('/usr/local/www/...') #2 /usr/local/www/piwigo/index.php(11): include_once('/usr/local/www/...') #3 {main} thrown in /usr/local/www/piwigo/include/functions_session.inc.php on line 32

Not sure how to fix this, any guidance welcome.


    Piwigo 15.1.0 Check for upgrade
    Installed on 16 March 2023, 1 year 9 months 2 weeks 6 days ago
    Operating system: FreeBSD
    PHP: 8.3.12 (Show info) [2025-01-05 09:33:23]
    MySQL: 11.4.3-MariaDB [2025-01-05 09:33:23]
    Graphics Library: External ImageMagick 7.1.1-26
    Cache size 948.53 Mo   calculated 11 months ago Refresh


Piwigo URL: internal access only.

Offline

 

#2 2025-01-05 13:07:46

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
14100

Re: Failure upgrading from 15.1 to 15.3

File extraction of Piwigo 15.3.0 has failed. include/pwgsession.class.php is a new file in 15.3.0

Follow the manual update https://piwigo.org/guides/update/manual

Offline

 

#3 2025-01-06 09:51:46

John R
Member
2023-04-17
28

Re: Failure upgrading from 15.1 to 15.3

Thanks for that, logged a PR on FreeBSD

https://bugs.freebsd.org/bugzilla/show_ … ?id=283882

Offline

 

Board footer

Powered by FluxBB