I need help with this one!

Status
Not open for further replies.

Monty

New User
Monty
OK, here's what happened. Tonight I made an album for peteb301. He was able to get into it and upload a bunch of pics. I know he was successful because his pics show up on the "what's new" page. He sent me a PM saying that when he went back to find his album, he couldn't find it again. I asked him to come to chat to help troubleshoot. Here's the transcript:

[Monty] 11:45 pm: welcome
[peteb301] 11:46 pm: Ok , I Think I'm here
[Monty] 11:46 pm: cool
[Monty] 11:46 pm: you figured it out
[Monty] 11:46 pm: so.... about your album... it's toast!
[Monty] 11:46 pm: what did you do?
[Monty] 11:46 pm: LOL!
[Monty] 11:47 pm: I know you were able to upload pics, because I see one of your pics on the main album page
[peteb301] 11:47 pm: No worries, delete all my photos and I will attempt to reenter tomorrow. now that I have a better idea how and what to do.
[Monty] 11:48 pm: well, I want to know what you tried to do
[Monty] 11:48 pm: so I know what happened
[Monty] 11:48 pm: your album was completely deleted... did you try to make some changes to your main category or something?
[Monty] 11:49 pm: I will have to make a new album for you... but I don't want to corrupt the database.
[Monty] 11:49 pm: last time that happened the whole forum went down for several days
[peteb301] 11:50 pm: well , i asked for an album , got it per your note , then followed destructions to upload mu photos. Unfortuneately I uploaded
too many photos as I wanted to have a folder for workbech and another for Bureau.
[Monty] 11:50 pm: OK cool
[Monty] 11:50 pm: so you went to category admin?
[Monty] 11:51 pm: (nice workbench, by the way)
[peteb301] 11:54 pm: Yes i went to the admin portion and attemted to add a folder, it looked like i did. Hers where it got confusing as the 1st time
through I was able to see a foder for peteb301 and bureau. went back a 2nd time , due to confusion on my part in nit fullt reading your instruction all
the way and that when I could not find peteb301 .
[peteb301] 11:55 pm: Thanks for the complment. its all pine but gave me good practice on dove tail drawers.
[Monty] 11:55 pm: OK
[Monty] 11:55 pm: I'm still not understanding how that happened.
[Monty] 11:56 pm: sorry about your trouble - you were supposed to be able to add folders like that
[Monty] 11:56 pm: did you try to delete any categories, or clear them out?
[peteb301] 11:56 pm: I think the easiest way to fix whta i think is mostly my bad is to start fresh.
[Monty] 11:57 pm: OK no problem
[peteb301] 11:57 pm: but there still my be a hitch here somewhere.
[Monty] 11:57 pm: I just wanted to learn how to prevent it in the future
[Monty] 11:57 pm: maybe there was an option for deleting the main category that shouldn't have been there
[peteb301] 11:58 pm: I understand - I will try again tomorrow and document the steps I take. If you would just delete all my pics , I will reread your
notes and start fresh.
[Monty] 11:59 pm: OK thanks for trying to go through it with me.
[Monty] 12:00 am: better luck next time
[peteb301] 12:00 am: BTW - A really great big THANK you to you and STEVe for setting the thing up and maintaining it. I know its not a trivial thing
to do.
[Monty] 12:01 am: well, it's Steve's brainchild. I just try to help out where I can
[Monty] 12:01 am: It may be a little later tomorrow before your album is available to you again
[peteb301] 12:01 am: I and I'm sure others really do apprecaite what your doing and the help we recieve for all skill wood folks
[Monty] 12:01 am: I want to run this issue by Steve before you get your album set up again...
[Monty] 12:02 am: don't want to run the risk of database corruption again
[peteb301] 12:02 am: No problem i am in no hurry - I'll wait to hear from you before I try again


According to AdminCP, there is no record of his album at all. So... any idea what he did? Is it possible for a user to delete their own category like that? I don't want to make a new album of the same name until I know it won't cause problems.

:eusa_thin
 

SteveColes

Steve
Corporate Member
I'm looking at this now. Please no one doing anything with this until I figure out what's going on. His pictures are on the server. there is no album. That's all I'm sure of so far
 

SteveColes

Steve
Corporate Member
Curiouser and coursier:eusa_thin

First of all, it is fixed.:eusa_danc But for the life of me, I can't figure out how it happened. The first thing I found is that the pictures were on the server and had been fully processed. Then I went into to the database and found out the pictures were listed properly. I then looked in the DB for his category(album) and found it and a sub category that he created, again everything looked fine. I then discovered that his category showed as its parent. Bingo! So I manually changed the parent to Members' Albums and then his category showed up in admincp. Yeah! But when I went back to the main page of the Photo Gallery. It still wasn't showing up.:crybaby2:

One of his pictures was and had been showing on the recent photos at the bottom of the page. When I clicked on the thumbnail, I got message that I didn't have permission to see the photo. So I examined the permissions and I couldn't see anything wrong. I then went to the category permissions listing in admincp->Gallery->Category Permissions and click on reset for his category. Voilà! All is well.

Now how did this happened? Don't have the slightest idea:roll: My first thought was this was done purposely by the code when deleting a category, so some future undelete function could be implemented. But I checked the code, and DOES delete the photos and the category. So I am stumped:BangHead:
 
Status
Not open for further replies.

Premier Sponsors

Contact for your financial processing needs!

Our Sponsors

Top