Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
alexhenes
Experienced
Topic Author
Posts: 568
Joined: 28 Sep 2006, 16:13

Bottomless Pit

21 Nov 2014, 23:35

Hey Karl...

I was using the panel attempting to move a folder that contained two levels of folders then images... the panel was processing for a long time before I had to close it.

Next I attempted to open my test site... test.merelyafleshwound.com but it opened to a blank white screen.

I then opened my ftp client and noticed that there the panel had created a bottomless pit of folders(containing images) within the folder I was attempting to move.

For example... here is the folder structure....

Parent1
Sub1
Sub1.1 (contains images)
Sub1.2 (Contains images)
Sub2
Sub2.1 (contains images)
Sub2.2 (contains images)
...
...
then within Parent1 there was another copy of Parent1 and all of it's sub folders... this went on infinitely... or at least until I closed the browser. It created hundreds of iterations of directories.

I don't want to try to recreate this as it would have filled my server with files.
Alex
https://www.merelyafleshwound.com
https://www.goldenbikeshop.com
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: Bottomless Pit

22 Nov 2014, 00:19

Thanks for the info. For now, I recommend you MOVE/COPY folder structures around by FTP until we can look into this ... There was a reason why we didn't have this available in X2, as moving structures of folders around with PHP can be dodgy business depending on the server.

You can still move/copy batches of files, and it is probably safer to do that and instead create/delete folders at will to create the structure you want ...
 
morgenius
Experienced
Posts: 43
Joined: 20 Aug 2014, 04:41

Re: Bottomless Pit

22 Nov 2014, 02:10

That's the problem I described day ago, Karl
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: Bottomless Pit

22 Nov 2014, 09:00

morgenius wrote:That's the problem I described day ago, Karl
Yep. This has be considered a critical issue, although it is related to the server combo somehow. Do you guys know if this happened 100% of the time, or only in some scenarios? ... and can you easily reproduce it on request?

We will look into this next week, perhaps with a few other panel issues.
 
User avatar
alexhenes
Experienced
Topic Author
Posts: 568
Joined: 28 Sep 2006, 16:13

Re: Bottomless Pit

22 Nov 2014, 09:56

This does not happen 100% of the time. Not sure if i can recreate it.
Alex
https://www.merelyafleshwound.com
https://www.goldenbikeshop.com
 
User avatar
alexhenes
Experienced
Topic Author
Posts: 568
Joined: 28 Sep 2006, 16:13

Re: Bottomless Pit

05 Jul 2015, 21:36

This bug reared its head again today.

Within the panel entered into a directory that contained images.

I created a new directory.

I selected the images within the original directory and attempted to move them to the newly created directory.

The process did not stop until I closed the browser.

I deleted the directories manually.

If not stopped by the user this bug would consume all storage on a server.
Alex
https://www.merelyafleshwound.com
https://www.goldenbikeshop.com
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: Bottomless Pit

06 Jul 2015, 14:45

Hmm you are using latest version of the panel? Also, exactly what buttons are you using? ... only the ones in the gallery section?
Image
 
User avatar
alexhenes
Experienced
Topic Author
Posts: 568
Joined: 28 Sep 2006, 16:13

Re: Bottomless Pit

06 Jul 2015, 22:55

I am running the last panel only release.

I was on the gallery tab and used the blue new button to create a new directory within the current directory.
Then I used the check boxes to select all of the images in the current directory .
Then hit the 'Move' button
Then browsed to the newly created directory and selected it.
Alex
https://www.merelyafleshwound.com
https://www.goldenbikeshop.com
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: Bottomless Pit

07 Jul 2015, 06:12

Ok. I tested this, and did not get any errors, but that does not exclude the possibility of a bug.

Keep in mind, the X3 panel is not a proper file manger like FTP or your desktop, which has native methods for moving items around. Furthermore, it can be dodgy and easy to make mistakes. For example in your example, if you first create the new folder inside a folder and then select all files, you may have selected the newly created folder also. Then, trying to move those files including the new folder into itself, would obviously cause havoc:
Image

Anyway, I will keep an eye out ...
 
User avatar
alexhenes
Experienced
Topic Author
Posts: 568
Joined: 28 Sep 2006, 16:13

Re: Bottomless Pit

07 Jul 2015, 17:55

So what I am hearing is that we should not really use the file/ folder management functions in the panel?

Do you have recommendations as to what panel functions come with significant risk?

I this instance I was lucky to be able to stop the process before it consumed all of the storage and crash my server.
Alex
https://www.merelyafleshwound.com
https://www.goldenbikeshop.com
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: Bottomless Pit

08 Jul 2015, 02:45

No, I didn't mean that ... certainly we would be interested to know how and what may have caused it. We did "fix" this issue some time ago, and since then it hasn't been reported before now. My only point is that if you for some reason try to move a folder into itself (like in my screenshot from previous post), something that is not logical, X3 panel does not have safety valve for illogical operations.

If we can re-create the issue, then we can diagnose it.