Author Topic: A problem with delete  (Read 4253 times)

0 Members and 2 Guests are viewing this topic.

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: A problem with delete
« Reply #15 on: May 14, 2002, 12:38:22 »
Hi Andrew,

Is it possible that you're using an older version of album.pl? I know you mentioned you updated it, but it's still acting like an old version. Any chance you can re-download and re-copy album.pl? (That'll make my debug line number match up, if nothing else... :) )

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

Offline Andrew

  • album.pl Hacker
  • ****
  • Posts: 114
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • WHITEWATER!
Re: A problem with delete
« Reply #16 on: May 14, 2002, 22:39:30 »
OOPS!  Ok, you may have snuck one by me....I will download and update.

Thanks Mike!

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

Offline Andrew

  • album.pl Hacker
  • ****
  • Posts: 114
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • WHITEWATER!
Re: A problem with delete
« Reply #17 on: May 15, 2002, 00:48:00 »
Holey Cow!

You changed alot of stuff!  Thanks for the Unix permissions.....that makes it a little easier for guys like me.

I notice that you have changed the album string text as well.  This is the only thing I can think of that is causing the delete function not to work.  Here is why....As I am sure you noticed I have replaced some string text with icons.  I actually added 3 lines in the textstring file to accomidate the pages that are generated inside album.pl.  Specifically the ones in which the header files are created on the fly.....Configuration Management, Create Album and Update Titles and Descriptions.  I had to do this or one of my icons would appear in the header instead of a title....if you follow.  I am glad I noticed the extra lines you added into the string files....Since you added more than my three and I would not in a million years want to change that many string text referances in the pl I simply pulled my added three lines from their former line number and added them after yours.  My old added lines were 205,206 and 207.  These numbers would obviously conflict with the new pl so like I said I just moved them down after your additions....I then changed the references in the album.pl to reflect the new location of these three strings.  I think they are now 210, 211, 212 if I remember correctly.

Anyway I may have missed something or screwed something up.....I am sorry that I have fiddled around with your pl.....just had to make my album pretty....it is that dang artsy fartsy gene or something.  I hope my fiddling does not prevent you from locating the problem. ...or mess with the debug function to much....is it necessary to have telnet to use the debug?  I remember using it in MS C++ editor but I can't figure out how with Album.

On a positive note I am at least getting a warning that the movie has not been deleted (I wasn't before).....I am going to try one last thing....I am wondering if the movies that are already there will circumvent your fix.  Maybe if I upload a new movie the fix will now delete it.  I am gonna check in morning...gotta get some shut eye.

Thanks for the response!  I appreciate it greatly!

Andrew
« 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: A problem with delete
« Reply #18 on: May 15, 2002, 11:54:53 »
Hi Andrew,

I know exactly what you mean about adding the strings. Makes sense to me!

As for the Movies, did you upload them via the script, or FTP them in? I'm guessing FTP, since it looks like it may be a permission problem (I.E. the web server doesn't have permission to delete the movies...)

So re-uploading them should fix the problem. :)

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

Offline Andrew

  • album.pl Hacker
  • ****
  • Posts: 114
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • WHITEWATER!
Re: A problem with delete
« Reply #19 on: May 15, 2002, 14:49:43 »

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: A problem with delete
« Reply #20 on: May 16, 2002, 07:39:10 »
Aha! The movie thing was a red herring... The problem was deleting anything in sub albums.

So I (believe) I've fixed that. Try re-downloading and re-installing album.pl.

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

Offline Andrew

  • album.pl Hacker
  • ****
  • Posts: 114
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • WHITEWATER!
Re: A problem with delete
« Reply #21 on: May 16, 2002, 11:00:05 »
Great!  I will give her a whirl this afternoon!  Oh and thanks for the compliment on the buttons  :)

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

Offline Andrew

  • album.pl Hacker
  • ****
  • Posts: 114
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • WHITEWATER!
Re: A problem with delete
« Reply #22 on: May 16, 2002, 13:33:35 »
Good news Mike!  Looks like she is working now...can delete in subdirectories...wooohooo!

Thanks Again,

Andrew
« 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: A problem with delete
« Reply #23 on: May 16, 2002, 14:18:48 »
WooHoo! I can finally close this thread!! :D
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »