Author Topic: Beta 6: Updating Description Error  (Read 2600 times)

0 Members and 1 Guest are viewing this topic.

Offline Dino

  • album.pl Donor
  • I Spend Too Much Time Here
  • *****
  • Posts: 250
  • Karma: +5/-0
  • That's actually my childhood cookie jar!
    • Dino's Bulletin Board
Beta 6: Updating Description Error
« on: September 28, 2002, 14:50:23 »
Mike, I tried updating a description on a photo I just uploaded via album.pl. After making a text change and clicking on the "Update Description" button, I got this error:

ERROR: Line 1901

Cannot open file: /home/www/filias/dinofilias/photo_album/11sve/2002sema/23967.jpg

However, when I backed out of that page, went back to the picture, and refreshed the pic, the update was there. So, updating is possible, it just doesn't refresh back to the the "view" page.
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

"He who seeks the truth must doubt everything."Aristotle
"Extraordinary claims require extraordinary proof."Sagan

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: Beta 6: Updating Description Error
« Reply #1 on: September 28, 2002, 15:57:42 »
Darn, that's another one I can't reproduce! Is it in a sub-album? Anything notable I should know about? Does it fail every time, for a variety of pictures?
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline Dino

  • album.pl Donor
  • I Spend Too Much Time Here
  • *****
  • Posts: 250
  • Karma: +5/-0
  • That's actually my childhood cookie jar!
    • Dino's Bulletin Board
Re: Beta 6: Updating Description Error
« Reply #2 on: September 28, 2002, 16:12:51 »
I was able to modify this one without error:
http://dinofilias.com/cgi-bin/album/album.pl?photo=computers/dino/DSC04734.JPG

But not this one:
http://dinofilias.com/cgi-bin/album/album.pl?photo=11sve/2002sema/23967.jpg

I was also able to modify other pics and albums with no issue.

Perhaps I get an error because I have an album, with several sub-albums, and only one picture. The lone picture seems to get that error. It's not crippling, since the update is made. I just think it's trying to reload the main view page, and is looking to add pics for navigation. There are none, since there's only the one pic. Just a hunch.

« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

"He who seeks the truth must doubt everything."Aristotle
"Extraordinary claims require extraordinary proof."Sagan

Offline Dino

  • album.pl Donor
  • I Spend Too Much Time Here
  • *****
  • Posts: 250
  • Karma: +5/-0
  • That's actually my childhood cookie jar!
    • Dino's Bulletin Board
Re: Beta 6: Updating Description Error
« Reply #3 on: September 28, 2002, 16:16:43 »
I was only able to reproduce this error in albums that had several sub-albums, and one lone picture as shown below. When updating the description of the lone picture, I get that error:

« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

"He who seeks the truth must doubt everything."Aristotle
"Extraordinary claims require extraordinary proof."Sagan

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: Beta 6: Updating Description Error
« Reply #4 on: September 28, 2002, 16:25:08 »
Aha! Updating descriptions will fail for the last photo in that album...

Thanks for the info!
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: Beta 6: Updating Description Error
« Reply #5 on: October 02, 2002, 08:00:43 »
Fixed.
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline Dino

  • album.pl Donor
  • I Spend Too Much Time Here
  • *****
  • Posts: 250
  • Karma: +5/-0
  • That's actually my childhood cookie jar!
    • Dino's Bulletin Board
Re: Beta 6: Updating Description Error
« Reply #6 on: October 02, 2002, 08:18:32 »
Do I just overwrite album.pl with your latest?
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

"He who seeks the truth must doubt everything."Aristotle
"Extraordinary claims require extraordinary proof."Sagan

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: Beta 6: Updating Description Error
« Reply #7 on: October 02, 2002, 14:44:57 »
Yep.
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline Dino

  • album.pl Donor
  • I Spend Too Much Time Here
  • *****
  • Posts: 250
  • Karma: +5/-0
  • That's actually my childhood cookie jar!
    • Dino's Bulletin Board
Re: Beta 6: Updating Description Error
« Reply #8 on: November 01, 2002, 14:48:26 »
Updating description on last photo of a directory...

Is this fixed? If so, something's screwy on my end, because it gives me an error, but the change to the description is successful.

Just letting ya know.  ;D ;D
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

"He who seeks the truth must doubt everything."Aristotle
"Extraordinary claims require extraordinary proof."Sagan

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: Beta 6: Updating Description Error
« Reply #9 on: November 03, 2002, 05:27:47 »
Drat, it *was* fixed!

Hmmm, I just tested it, and it works OK in the sample album. What level of album (I.E. sub, sub-sub, etc), maybe it's one of "those" problems...

Thanks!
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »