Piwigo.org

You are not logged in. (Register / Login)

Announcement

#1 2009-10-11 22:24:53

VDigital
Former Piwigo Team
Location: Paris (FR)
Registered: 2005-05-04
Posts: 17680
Website

Admin access are blocked during Piwigo website frostings

Due to Piwigo AutoUpgrade plugin, we observed a general blocking of website admin access.

So the function is fetchRemote located in ./admin/include/functions.php


  // After 3 redirections, return false
  if ($step > 3) return false;

But not only...
Save time() and for 15 minutes at least return false on all requests.


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

Offline

#2 2009-10-11 22:52:11

P@t
Piwigo Team
Location: Nice
Registered: 2007-06-13
Posts: 4093
Website

Re: Admin access are blocked during Piwigo website frostings

I think that autoupgrade request don't affect piwigo server...
Server was down sometimes before, and there is no more problem now.

Last edited by P@t (2009-10-11 23:03:29)


P@t

Offline

#3 2009-10-11 22:58:45

VDigital
Former Piwigo Team
Location: Paris (FR)
Registered: 2005-05-04
Posts: 17680
Website

Re: Admin access are blocked during Piwigo website frostings

I didn't say that Piwigo AutoUpgrade is responsible of Piwigo website problem.
I said because Piwigo website was blocked, we could NOT access to our admin.
And I suggested to reduce tests.

plg is not able to count failed accesses when piwigo website is down.


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

Offline

#4 2009-10-11 23:01:45

P@t
Piwigo Team
Location: Nice
Registered: 2007-06-13
Posts: 4093
Website

Re: Admin access are blocked during Piwigo website frostings

VDigital wrote:

English??? ;-)

sorry, I thought we were on private forum...

VDigital wrote:

I didn't say that Piwigo AutoUpgrade is responsible of Piwigo website problem.
I said because Piwigo website was blocked, we could NOT access to our admin.
And I suggested to reduce tests.

Ok! I understand now! I will have a look...


P@t

Offline

#5 2009-10-13 23:12:47

P@t
Piwigo Team
Location: Nice
Registered: 2007-06-13
Posts: 4093
Website

Re: Admin access are blocked during Piwigo website frostings

Bug corrected in revision 2.0.g.
I added a timeout of 1 second for retrieving last version number on piwigo server.
There will be two attempts (one with cURL functions, and one with file_get_contents), so, main admin page will be slower for 2 seconds if piwigo server is down...


P@t

Offline

#6 2009-10-13 23:18:13

ddtddt
Piwigo Team
Location: Quetigny - France
Registered: 2007-07-27
Posts: 6112

Re: Admin access are blocked during Piwigo website frostings

P@t wrote:

Bug corrected in revision 2.0.g.
I added a timeout of 1 second for retrieving last version number on piwigo server.
There will be two attempts (one with cURL functions, and one with file_get_contents), so, main admin page will be slower for 2 seconds if piwigo server is down...

MP :-)


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

#7 2009-10-13 23:33:33

VDigital
Former Piwigo Team
Location: Paris (FR)
Registered: 2005-05-04
Posts: 17680
Website

Re: Admin access are blocked during Piwigo website frostings

Thx. I owe you a beer.


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

Offline

#8 2009-10-14 00:54:01

plg
Piwigo Team
Location: Paris, France, Europe
Registered: 2002-04-05
Posts: 11763
Website

Re: Admin access are blocked during Piwigo website frostings

Thank you P@t.

VDigital, when you call me by phone this week-end, I thought you were saying that piwigo.org was down because "Piwigo Auto Upgrade" was performing too many HTTP requests on it (and my opinion meets P@t's opinion : I don't think so).


Latest blog post on Piwigo.com: Import from Flickr to Piwigo (May 21st, 2013)

Offline

#9 2009-10-14 08:06:29

VDigital
Former Piwigo Team
Location: Paris (FR)
Registered: 2005-05-04
Posts: 17680
Website

Re: Admin access are blocked during Piwigo website frostings

plg,

Absolutely true but... I just forgot to refer to our galleries admin access was blocked too.
And by pushing the logic forward P@t found a solution.

Next Piwigo.org frost, don't forget to test your private admin access.

Anyway my phone call was useful to understand the linked cause.


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

Offline

#10 2009-10-14 08:14:54

plg
Piwigo Team
Location: Paris, France, Europe
Registered: 2002-04-05
Posts: 11763
Website

Re: Admin access are blocked during Piwigo website frostings

VDigital wrote:

Next Piwigo.org frost, don't forget to test your private admin access.

OK, I'll check it (with the old and new version of the [extension by P@t] Piwigo Auto Upgrade).

VDigital wrote:

Anyway my phone call was useful to understand the linked cause.

Of course it was, thank you for calling me :-)


Latest blog post on Piwigo.com: Import from Flickr to Piwigo (May 21st, 2013)

Offline

Board footer

Powered by FluxBB

About this website · Donate · Contact Piwigo project © 2002-2013