Pages (4):    1 2 3 4   
Administrator
Administrator
acrylian   28-06-2011, 11:57
#41

Well, no one "forces" you to upgrade if the site works for you. "If it ain't broke, don't fix it". But due to lacking resource we are only able to support the current release.

You should look at the debug log files and report...

Member
Member
softaculous   04-07-2011, 08:11
#42

Hi,

There is a BUG in the UPGRADE Utility file.
@sbillard and @zenphotodevelopers, I have emailed you the fix using this contact form :
http://www.zenphoto.org/pages/contact

In our tests it works pretty well and we were able to login even after upgrade. The bug is serious and will cause everyone upgrading to be unable to login.

Waiting for your reply.

Regards,
Softaculous Team

Administrator
Administrator
acrylian   04-07-2011, 09:16
#43

Yes, and it is a known issue that is fixed in the just released 1.4.1.1 version. (btw, the contact form was not working so we did not get a mail. Sorry about that).

Member
Member
sbillard   04-07-2011, 15:28
#44

Besides, the correct place to log problems is the Trac system as described in the "rules and usage" document. Anything else will probably not be acted upon and certainly cannot be tracked to be sure it was acted upon.

Member
Member
softaculous   05-07-2011, 08:40
#45

Hi,

@acrylian the bug is there in the 1.4.1.1 as well.
We had emailed your the FIX.
Can we have some email address where its possible to email you ?
Its rather better we first discuss it before you launch it.

Administrator
Administrator
acrylian   05-07-2011, 09:04
#46

Please use the contact form. As said it was broken for as short time when you tried to use it. We both will get the mail and one of us will get back to you.

Member
Member
rocgen   20-07-2011, 14:43
#47

Hi,

Is this issue resolved?

Tried to upgrade from 1.4.0.4 to 1.4.1.1 but couldn't login after the upgrade so went back to 1.4.0.4.

Administrator
Administrator
acrylian   20-07-2011, 17:02
#48

Try the trunk nightly build.

Member
Member
rocgen   20-07-2011, 17:49
#49

Just tried zenphoto-2011-07-19-trunk same result.

Administrator
Administrator
acrylian   20-07-2011, 17:57
#50

Sorry, we did not encounter this issue ourselves. So you need to delete the administrators table in your database and re-run setup. Then set a new password.

Member
Member
rocgen   20-07-2011, 18:17
#51

Ok, set new password for all users?

Administrator
Administrator
acrylian   20-07-2011, 18:24
#52

Yes, if you delete that table all is gone. Alternatively you can try just to delete your own admin entry (if those of the others still work).

Member
Member
rocgen   20-07-2011, 22:59
#53

Ok, thanks, got around that. But now all users have no group affiliation (all users was assigned to a group) and there's a new user '1' that wasn't there before.

If I try to assign a group to a user I get the following error message:

"Zenphoto encountered an error
MySQL Query ( UPDATE zp_administrators SET id=NULL WHERE id='32' ) failed. MySQL returned the error Duplicate entry '0' for key 'PRIMARY' "

Any advise?

Member
Member
sbillard   21-07-2011, 02:16
#54

You did not say how you "got around" you previous problem, but somehow things in your database are messed up. The query you cite above does not seem proper, so I do not know how it would occur.

Please change the define DEBUG_ERROR to true in the global-definitions.php script and re-run. This will give a stack trace of where this error is being generated.

Member
Member
rocgen   21-07-2011, 03:48
#55

Got around by deleting the administrators table after upgrading to 1.4.1.1 and re-ran setup. Then I'm able to login but all users and groups are gone. No user could login after the first attempt of upgrading so I couldn't just delete the admin user as suggested by acrylian.

To prevent to have to add all users and groups I restored the database from before the upgrade. That was a backup of 1.4.0.4 restored to 1.4.1.1. Is that bad due to different versions? If not I redo again and change the DEBUG_ERROR define.

What about softaculous comments above that there's a issue with the upgrade process in 1.4.1.1, has that been looked into?

So what I'm looking for is a solution to upgrade from 1.4.0.4 to 1.4.1.1 and still be able to login and not having to add all users and groups.

Administrator
Administrator
acrylian   21-07-2011, 08:33
#56

Softaculous did not contact us so far. Regardless Softaculous to my knowledge is an install helper similar to Simple Scripts we don't really support (as we explained lots of times).

Member
Member
sbillard   21-07-2011, 17:09
#57

The only issue we have had was with a now disabled option to tie cookies to IP addresses. This would only be an issue if your browser IP address changes with each page refresh. Then you would indeed not be able to login ever.

But as said, that is disabled now.

Member
Member
waddington50   22-07-2011, 04:50
#58

I'm having the same log-in problem on 1.4.1 even though I did a clean install rather than an upgrade. The download from your site was done on 6/24/2011. I did the install a couple of weeks ago and everything worked fine. I set up users, logged in and out, all was well. Today, I can't log in at all with either of the two defined admin users. Nothing has changed other than a clearing of cached cookies, client re-boots, etc. I turned on the login debug option, and the debug file indicates everything worked fine - the user id/ password entry results in a match against a configured admin user. But all I see is a refresh of the login screen from admin.php - no error message, just a repaint of the login screen. I have tried it using both IE 8 and FireFox 5.x with the same results. I won't wave my arms about how bad this is, but I could sure use some help. By the way, it all works fine on my test Windows system - the problem is occurring on the public version which is running on a Yahoo Unix-based hosted service.

Administrator
Administrator
acrylian   22-07-2011, 08:39
#59

Again, we are sorry, but we did not encounter this issue ourselves. So the easiest fix is to delete the adminstrator table on the database, re-run setup and set a new admin account.

Member
Member
waddington50   22-07-2011, 18:01
#60

Ok, but wouldn't it make more sense to try to debug this thing and figure out what's wrong? Even if the drop-table technique works, I have no reason to think the problem won't occur again. And judging from the forum traffic, I'm not the only one having this problem. I'm in a position to do debugging work, but it would go a lot faster if someone familiar with the ZenPhoto code base could give me some help. Can that be done?

Pages (4):    1 2 3 4   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.