Announcement

#1 2009-09-19 00:46:33

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

Piwigo release 2.0.4

Hi Piwigo Community,

Release 2.0.4 is available. This release fixes some "standard" bugs. No database upgrade required from release 2.0.x.

All details available on http://piwigo.org/releases/2.0.4

A major improvement comes with a new plugin [extension by P@t] Piwigo Auto Upgrade

   1. Go to [Administration>Specials>Plugins>Other Plugins] and perform an automatic installation of "Piwigo Auto Upgrade"
   2. Go to [Administration>Specials>Plugins] to install and activate this new plugin
   3. Go to [Administration>Links>Administration] and perform a "Check for upgrade" action
   4. Piwigo tells you that a new version is available and offers to upgrade, click on the link
   5. You're now running Piwigo 2.0.4!

Stay tuned and read you soon on http://piwigo.org/forum !

Bye

Offline

#2 2009-09-19 01:42:56

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

Re: Piwigo release 2.0.4

Auto upgrade works fine for me. What a great feature is it !

Offline

#3 2009-09-19 03:06:15

irohaproject
Translation Team
Oita, Japon
1970-01-01
16

Re: Piwigo release 2.0.4

I just upgraded and the automatic upgrade plugin worked great for me thanks


Looking for a job in software/hardware localization, video production
Check out my resume @ http://www.sanamionline.net/cv
www.Liangcha.org www.ProjectH2O.org www.IrohaProject.org

Offline

#4 2009-09-19 04:11:22

ngoc
Member
2007-11-12
142

Re: Piwigo release 2.0.4

It looks working for me the auto upgrade.

Thanks,


Piwigo 2.x - Personal pictures all around the world
http://album.ngocworld.com

Offline

#5 2009-09-19 07:02:52

Neutre
Member
1970-01-01
1

Re: Piwigo release 2.0.4

Just done the upgrade ! It works well (and sorry for my english...)
Jean

Offline

#6 2009-09-23 02:57:58

tarroz
Member
2009-05-08
10

Re: Piwigo release 2.0.4

I'm currently using piwigo 2.0.3 and I want to upgrade to 2.0.4.
I installed and activated Piwigo Auto Upgrade 2.0.e fine and see the note:"A new version of Piwigo is available.
Click here to upgrade automatically" on the Admin page under links, I clicked the upgrade automatically link and I get the popup: "Are you sure you want to autmatically upgrade piwigo? Warning!!! Files manually modified could be overwritten." - So I click OK and get the message: "Piwigo has been successfully upgraded (version 2.0.3)"  But the problem is I still have the same version 2.0.3, it did not upgrade anything. All the files are still the same.

Note: I tried with the previous version: piwigo 2.0.2 along with Piwigo Auto Upgrade 2.0.d and it did the exact same thing: Just a message that says "Piwigo has been successfully upgraded (version 2.0.2)" but nothing is actually changed.

P.S. I tried uninstalling all the plugins but the same thing happens: Just a message that says "Piwigo has been successfully upgraded (version 2.0.2)" but nothing is actually changed.

Offline

#7 2009-09-23 07:37:31

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: Piwigo release 2.0.4

Could you try this url from your gallery:

./admin.php?autoupdate=2.0.3_to_2.0.4


Then check inside ./_data/autoupdate/
which files are there?

Check the chmod value of  ./_data/autoupdate/

Check if your php is running in Safemode


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

#8 2009-09-23 12:50:47

P@t
Piwigo Team
Nice
2007-06-13
4098

Re: Piwigo release 2.0.4

tarroz wrote:

I'm currently using piwigo 2.0.3 and I want to upgrade to 2.0.4.
I installed and activated Piwigo Auto Upgrade 2.0.e fine and see the note:"A new version of Piwigo is available.
Click here to upgrade automatically" on the Admin page under links, I clicked the upgrade automatically link and I get the popup: "Are you sure you want to autmatically upgrade piwigo? Warning!!! Files manually modified could be overwritten." - So I click OK and get the message: "Piwigo has been successfully upgraded (version 2.0.3)"  But the problem is I still have the same version 2.0.3, it did not upgrade anything. All the files are still the same.

Two users on french forum have same problem...
I try to find a solution ;-)

Can you manually delete files (by FTP) into _data/templates_c, an have a look in home administatration page?
Then, if it's still 2.0.3 version, can you tell me chmod value of include/constants.php file?

Last edited by P@t (2009-09-23 12:54:05)


P@t

Offline

#9 2009-09-24 04:28:42

tarroz
Member
2009-05-08
10

Re: Piwigo release 2.0.4

VDigital wrote:

Could you try this url from your gallery:

./admin.php?autoupdate=2.0.3_to_2.0.4


Then check inside ./_data/autoupdate/
which files are there?

Check the chmod value of  ./_data/autoupdate/

Check if your php is running in Safemode

inside ./_data/autoupdate/ had this file 2.0.3_to_2.0.4.zip size: 246880 dated yesterday 9/22/2009 but when I ran ./admin.php?autoupdate=2.0.3_to_2.0.4 that .zip file is gone now.

chmod value of ./_data/ : drwxrwxrwx

chmod value of ./_data/autoupdate/ : drwxr-xr-x

php Safemode is off

P@t wrote:

Can you manually delete files (by FTP) into _data/templates_c, an have a look in home administatration page?
Then, if it's still 2.0.3 version, can you tell me chmod value of include/constants.php file?

Yes, I'm able to delete files by FTP in _data/templates_c

chmod value of include/constants.php : -rw-r--r--

Solution Found:
YES, you are correct P@t, the problem was with permission setting of include/constants.php, before the file was set with -rw-r--r-- which did not allow it to execute or write so I just set the chmod to: 777 or -rwxrwxrwx and I tried the update again in admin and it successfully updated to 2.0.4. 

Note: You could probably set it to 755 or -rwxr-xr-x and it should still work; probably should leave it at 755 for security reasons.

Thank You, VDigital and P@t for your helping me solve this problem :)

Last edited by tarroz (2009-09-24 04:32:49)

Offline

#10 2009-09-24 11:32:38

P@t
Piwigo Team
Nice
2007-06-13
4098

Re: Piwigo release 2.0.4

tarroz wrote:

Solution Found:
YES, you are correct P@t, the problem was with permission setting of include/constants.php, before the file was set with -rw-r--r-- which did not allow it to execute or write so I just set the chmod to: 777 or -rwxrwxrwx and I tried the update again in admin and it successfully updated to 2.0.4. 

Note: You could probably set it to 755 or -rwxr-xr-x and it should still work; probably should leave it at 755 for security reasons.

Problem: only constants.php file has been updated...
You have to set cmod to 755 for all installation files before upgrading...
Put back old constants.php file (from 2.0.3), set chmod to 755 for entire files, et do update again.


P@t

Offline

#11 2009-09-25 01:29:01

tarroz
Member
2009-05-08
10

Re: Piwigo release 2.0.4

P@t wrote:

Problem: only constants.php file has been updated...
You have to set cmod to 755 for all installation files before upgrading...
Put back old constants.php file (from 2.0.3), set chmod to 755 for entire files, et do update again.

I put back constants.php file from 2.0.3 and did a chmod -R 755 to all the files but now its not working again, I'm getting the same problem as before. It says: "Piwigo has been successfully upgraded (version 2.0.3)" but it does not change any files.

When I use the link ./admin.php?autoupdate=2.0.3_to_2.0.4 I get an error: An error occured during upgrade.

I even tried chmod -R 777 * to all file and directory and I get the same error / problem.

Do I need to try chown ?

Offline

#12 2009-09-25 02:36:57

P@t
Piwigo Team
Nice
2007-06-13
4098

Re: Piwigo release 2.0.4

tarroz wrote:

I put back constants.php file from 2.0.3 and did a chmod -R 755 to all the files but now its not working again, I'm getting the same problem as before. It says: "Piwigo has been successfully upgraded (version 2.0.3)" but it does not change any files.

Really strange...

When you do a chmod (755 or 777) to all the files, do you check the chmod for some files (example: include/constants.php)?
Are you sure you did  a chmod for all files (and not only directories)?


P@t

Offline

#13 2009-09-25 03:21:14

tarroz
Member
2009-05-08
10

Re: Piwigo release 2.0.4

P@t wrote:

When you do a chmod (755 or 777) to all the files, do you check the chmod for some files (example: include/constants.php)?
Are you sure you did  a chmod for all files (and not only directories)?

Yes, All files are changed, I'm doing it in shell so I see everything turn green which means 755 or -rwxr-xr-x
I also do a ls -alrt and I see all files changed.

Offline

#14 2009-09-25 16:32:58

P@t
Piwigo Team
Nice
2007-06-13
4098

Re: Piwigo release 2.0.4

tarroz wrote:

Yes, All files are changed, I'm doing it in shell so I see everything turn green which means 755 or -rwxr-xr-x
I also do a ls -alrt and I see all files changed.

Can you try to update autoupdate plugin (manually by  FTP) with this file
This version try to change chmod of needed files if extration fail... This version work on 1and1 server even if chmod of files is 644...

Last edited by P@t (2009-09-25 16:35:06)


P@t

Offline

#15 2009-09-26 01:44:51

tarroz
Member
2009-05-08
10

Re: Piwigo release 2.0.4

P@t wrote:

Can you try to update autoupdate plugin (manually by  FTP) with this file
This version try to change chmod of needed files if extration fail... This version work on 1and1 server even if chmod of files is 644...

I still get an error with the autoupdate_test in the quoted attachment.  I uninstalled the autoupdate 2.0.e plugin, though didn't delete the files so its still in the autodate folder and I used FTP to update the files.  Reinstalled and activated autoupdate test and went to Administration, clicked on the link and go the error: "An error occured during extract. Please check files permissions of your piwigo installation.
Click here to show log error." The following was inside the error log file:

The log_error.txt:
././tools/pwg_rel_create.sh: write_protected
././tools/create_listing_file.php: write_protected
././template/yoga/rating.js: write_protected
././template/yoga/menubar_tags.tpl: write_protected
././admin/extend_for_templates.php: write_protected
././admin/template/goto/plugins_new.tpl: write_protected
././admin/template/goto/plugins_update.tpl: write_protected
././admin/template/goto/intro.tpl: write_protected
././admin/template/goto/install.tpl: write_protected
././admin/template/goto/theme/roma/theme.css: write_protected
././admin/menubar.php: write_protected
././admin/include/pclzip.lib.php: write_protected
././admin/include/functions.php: write_protected
././admin/include/plugins.class.php: write_protected
././language/de_DE/admin.lang.php: write_protected
././language/de_DE/help.html: write_protected
././language/de_DE/install.lang.php: write_protected
././language/it_IT/admin.lang.php: write_protected
././language/it_IT/upgrade.lang.php: write_protected
././include/functions_mail.inc.php: write_protected
././include/smarty/libs/plugins/function.math.php: write_protected
././include/smarty/libs/Smarty.class.php: write_protected
././include/smarty/libs/Config_File.class.php: write_protected
././include/smarty/libs/Smarty_Compiler.class.php: write_protected
././include/smarty/NEWS: write_protected
././include/smarty/README: write_protected
././include/config_default.inc.php: write_protected
././include/constants.php: write_protected
././include/functions_user.inc.php: write_protected
././include/class_smtp_mail.inc.php: write_protected
././include/ws_functions.inc.php: write_protected
././install.php: write_protected

Offline

Board footer

Powered by FluxBB

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