Announcement

#1 2013-02-27 22:46:44

pctechnettech
Member
2012-11-14
1

Unable to upgrade from 2.4.5 to 2.4.6 or 2.4.7

Hello,
I am unable to upgrade my piwigo install. it keeps giving me errors back advising that i have my permissions wrong. Now i'm pretty savy with my ubuntu installation. However even changing permissions for all web files to 777 will not allow me to update my install. This also possibly suggests a php permission but i do not want to touch the php settings. I have wordpress installs as well on the same server and they have no issues updating. below are the errors i am getting. everything is up to date on the server.

Strict Standards: Non-static method updates::upgrade_to() should not be called statically in /var/www/pictures/admin/updates_pwg.php on line 121

Warning: touch(): Utime failed: Operation not permitted in /var/www/pictures/admin/include/pclzip.lib.php on line 3856

Warning: touch(): Utime failed: Operation not permitted in /var/www/pictures/admin/include/pclzip.lib.php on line 3856

Warning: touch(): Utime failed: Operation not permitted in /var/www/pictures/admin/include/pclzip.lib.php on line 3856

Warning: touch(): Utime failed: Operation not permitted in /var/www/pictures/admin/include/pclzip.lib.php on line 3856

Warning: touch(): Utime failed: Operation not permitted in /var/www/pictures/admin/include/pclzip.lib.php on line 3856

Warning: touch(): Utime failed: Operation not permitted in /var/www/pictures/admin/include/pclzip.lib.php on line 3856

Warning: file_put_contents(./_data/update/log_error.txt): failed to open stream: Permission denied in /var/www/pictures/admin/include/updates.class.php on line 468

Offline

 

#2 2013-03-01 01:12:01

philippe
Guest

Re: Unable to upgrade from 2.4.5 to 2.4.6 or 2.4.7

Hi,

I have the same issue upgrading from 2.3.1 on Mint 14.

Regards,

Philippe

 

#3 2013-03-01 11:51:00

Eric
Former Piwigo Team
VALENCE (FR)
2005-03-25
1768

Re: Unable to upgrade from 2.4.5 to 2.4.6 or 2.4.7

Hi,

First, it seems you are using Piwigo with Php 5.4 (take a look to your host configuration to verify) and Piwigo is not fully qualified for this Php version. At this time, Piwigo is qualified for Php 5.3.

That causes the "Strict Standards: Non-static method" warning. It's only a warning and not an error and should not block the upgrade / installation process.

But you've a second set of warning messages: "Warning: touch(): Utime failed:". Please apply plg's solution (find here : http://piwigo.org/forum/viewtopic.php?p … 72#p131272) and retry gallery update.

Offline

 

#4 2013-03-03 15:32:54

philippe
Guest

Re: Unable to upgrade from 2.4.5 to 2.4.6 or 2.4.7

Hi and thanks for your answer.

Note: I know very little about php.

I notice that my local/config/config.inc.php does not have a ?> terminator.

I tried adding to the end of the file

1)

<?php
$conf['template_combine_files'] = false;
?>

as well as

2)

$conf['template_combine_files'] = false;


... then restart apache.

In both cases I get the same errors and no longer can use the server as I get a new error when I reload:


Fatal error: Smarty error: [in mainpage_categories.tpl line 1]: syntax error: unrecognized tag 'html_style' (Smarty_Compiler.class.php, line 590) in /usr/share/php/smarty/Smarty.class.php on line 1093


I can recover with a re-install though.

Any idea ?

Regards.

Philippe

 

#5 2013-03-03 15:59:34

flop25
Piwigo Team
2006-07-06
7037

Re: Unable to upgrade from 2.4.5 to 2.4.6 or 2.4.7

Is this the whole message? This error is characteristic of an Piwigo 2.3 using files of 2.4
you should resend all files through FTP


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#6 2013-03-03 23:37:29

philippe
Guest

Re: Unable to upgrade from 2.4.5 to 2.4.6 or 2.4.7

Hi,

I have been installing through Ubuntu Synaptic Manager. Re-installing does get me back to 2.3.1 OK. but I still cannot upgrade.

Regards,

Philippe

 

#7 2013-03-04 10:33:59

flop25
Piwigo Team
2006-07-06
7037

Re: Unable to upgrade from 2.4.5 to 2.4.6 or 2.4.7

Don't use that manager, but download the last package from here


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#8 2013-03-05 03:15:11

philippe
Guest

Re: Unable to upgrade from 2.4.5 to 2.4.6 or 2.4.7

OK, Just copied the newly release of 2.5.0 over and it seems to be ok (except that it says there is an update and when I go for it it says I have the latest) ... happy :)

Thanks.

Philippe

 

#9 2013-03-05 17:30:27

philippe
Guest

Re: Unable to upgrade from 2.4.5 to 2.4.6 or 2.4.7

BTW. where should I push this question ?

I have installed the map pluggin. It works great at the picture level (select picture then location) ... but gives me a 404 on /piwigo/map.php at the top level.

Regards,

Philippe

 

#10 2013-03-05 17:47:23

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

Re: Unable to upgrade from 2.4.5 to 2.4.6 or 2.4.7

philippe wrote:

BTW. where should I push this question ?

I have installed the map pluggin. It works great at the picture level (select picture then location) ... but gives me a 404 on /piwigo/map.php at the top level.

Post this question on a new topic in the "Extensions" forum.

Offline

 

#11 2013-03-05 22:39:41

philippe
Guest

Re: Unable to upgrade from 2.4.5 to 2.4.6 or 2.4.7

will do, tx.

 

Board footer

Powered by FluxBB

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