Announcement

  •  » Engine
  •  » Release 2.4.1 under preparation

#1 2012-06-28 13:16:29

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

Release 2.4.1 under preparation

Piwigo 2.4.0 was released nearly 7 days ago and we already see many things we can improve to avoid problems.

1) [Bugtracker] ticket 2672

On old versions of ImageMagick, the sampling-factor doesn't work. Several users have reported the probleme on ImageMagick 6.2.8. If we could detect the version of ImageMagick, store it in the session for example, then we can only use this option on recent version (don't know which version exactly) of ImageMagick.

2) [Bugtracker] ticket 2674

cssmin.class.php seems to require a very recent version of PHP and many users don't have it yet. If we could separate merging and minifying, then if PHP_VERSION < 5.? (not even sure that 5.2.0 is enough, see [Forum, post 131345 by samli in topic 19700] Upgrade from 2.3.5 to 2.4 failed -- big time.) Piwigo only merges without minifying (no use of cssmin.class.php)

3) [Bugtracker] ticket 2677

Smarter check of $conf['piwigo_db_version'] : sometimes the upgrade fails at some point but all migration tasks are applied. Unfortunately, $conf['piwigo_db_version'] is not updated to "2.4" which makes include/common.inc.php always redirect to upgrade.php (which doesn't see any upgrade to apply...).

4) [Bugtracker] ticket 2669

On Free.fr, it seems that the extra lines in .htaccess (migration task http://piwigo.org/dev/browser/branches/ … tabase.php ) are breaking the website, we could add a simple check on $_SERVER['HTTP_HOST']

5) [Bugtracker] ticket 2668

6) [Bugtracker] ticket 2661

7) [Bugtracker] ticket 2671

Anything else?

Offline

 

#2 2012-06-28 15:09:34

deserteagle
Translation Team
2012-01-13
18

Re: Release 2.4.1 under preparation

for multiple size, separate different size photos in different folder for  cache folder. see my poster here

http://piwigo.org/forum/viewtopic.php?id=19765


life is a journey.
Eagle

Offline

 

#3 2012-06-28 15:12:23

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

Re: Release 2.4.1 under preparation

This is not a really a bug but an important change that doesn't look very mandatory.

Offline

 

#4 2012-06-28 15:12:27

flop25
Piwigo Team
2006-07-06
7037

Re: Release 2.4.1 under preparation

we have seen this, here is just for confirmed bug; we will talk about your proposition on your thread


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

 

#5 2012-06-28 16:55:29

rvelices
Former Piwigo Team
2005-12-29
1960

Re: Release 2.4.1 under preparation

same old history of file permissions / umask / suexec vs module ...
(not sure we can do anything without a proper setup ...)

Offline

 

#6 2012-06-28 16:59:20

flop25
Piwigo Team
2006-07-06
7037

Re: Release 2.4.1 under preparation

Also a problem with htaccess : fr http://fr.piwigo.org/forum/viewtopic.php?id=22265


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

 

#7 2012-06-29 10:34:54

flop25
Piwigo Team
2006-07-06
7037

Re: Release 2.4.1 under preparation

about htaccess maybe an option in Tools, Maintenance for deleting/adding it [Bugtracker] ticket 2669


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 2012-06-29 10:57:01

flop25
Piwigo Team
2006-07-06
7037

Re: Release 2.4.1 under preparation

plg wrote:

3) smarter check of $conf['piwigo_db_version'] : sometimes the upgrade fails at some point but all migration tasks are applied. Unfortunately, $conf['piwigo_db_version'] is not updated to "2.4" which makes include/common.inc.php always redirect to upgrade.php (which doesn't see any upgrade to apply...).

I was more thinking of removing/changing l329 in upgrade.php
else
{
  die('No upgrade required, the database structure is up to date');
}
Instead of that, checking if the last xxx-database.php correspond to "select id from piwigo_upgrade order by id+0 desc limit 0;" and if it's ok, checking if the piwigo_db_version needs to be updated too


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

 

#9 2012-06-29 12:09:39

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

Re: Release 2.4.1 under preparation

flop25 wrote:

about htaccess maybe an option in Tools, Maintenance for deleting/adding it [Bugtracker] ticket 2669

Or maybe juste completely remove the migration task 121 and create a plugin which adds lines in .htaccess.

Offline

 

#10 2012-06-29 13:38:43

fatman
Translation Team
2012-03-16
20

Re: Release 2.4.1 under preparation

if I enable $conf['question_mark_in_urls'] = false;
the url in picture.php will become

../../../i.php/galleries/XXXXXXXX
../../../galleries/XXXXXXX

Offline

 

#11 2012-06-29 13:43:00

flop25
Piwigo Team
2006-07-06
7037

Re: Release 2.4.1 under preparation

fatman wrote:

if I enable $conf['question_mark_in_urls'] = false;
the url in picture.php will become

../../../i.php/galleries/XXXXXXXX
../../../galleries/XXXXXXX

if you have a question or a problem please open a new thread


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

 

#12 2012-06-29 13:46:56

flop25
Piwigo Team
2006-07-06
7037

Re: Release 2.4.1 under preparation

I added : [Bugtracker] ticket 2670
edit : forget it, it has been corrected thx to rvelices

Last edited by flop25 (2012-06-29 17:03:27)


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

 

#13 2012-06-29 15:03:30

fatman
Translation Team
2012-03-16
20

Re: Release 2.4.1 under preparation

flop25 wrote:

fatman wrote:

if I enable $conf['question_mark_in_urls'] = false;
the url in picture.php will become

../../../i.php/galleries/XXXXXXXX
../../../galleries/XXXXXXX

if you have a question or a problem please open a new thread

I think plg is asking for bug report as first....

anyway, it should be caused by $page['root_path'] in section_init.php is incorrect build.

Offline

 

#14 2012-06-29 15:06:28

flop25
Piwigo Team
2006-07-06
7037

Re: Release 2.4.1 under preparation

fatman wrote:

flop25 wrote:

fatman wrote:

if I enable $conf['question_mark_in_urls'] = false;
the url in picture.php will become

../../../i.php/galleries/XXXXXXXX
../../../galleries/XXXXXXX

if you have a question or a problem please open a new thread

I think plg is asking for bug report as first....

anyway, it should be caused by $page['root_path'] in section_init.php is incorrect build.

yes for bug confirmed ; yours is new to our knowledge
So please open a new thread and explain if the pictures are displayed or not with these url, of you tried with the config set as true etc


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

 

#15 2012-06-30 00:26:53

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

Re: Release 2.4.1 under preparation

plg wrote:

1) on old versions of ImageMagick, the sampling-factor doesn't work. Several users have reported the probleme on ImageMagick 6.2.8. If we could detect the version of ImageMagick, store it in the session for example, then we can only use this option on recent version (don't know which version exactly) of ImageMagick.

[Bugtracker] ticket 2672

For now, I have simply deactivated the option. Later we can improve the way we detect IM version and use this option when IM_version > X (X must be found as well). The idea of version 2.4.1 is to make 2.4 more stable.

Offline

 
  •  » Engine
  •  » Release 2.4.1 under preparation

Board footer

Powered by FluxBB

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