SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
memory usage
Author Message
Post memory usage 
From: Craig Barratt <craig < at > at...>
Re: memory usage
2003-02-28 08:01
It looks like some of the links in the tree view are missing a
slash "/" in
front of the "dir" variable being passed in the URL to the CGI
script. If you
copy and paste the link into your address bar and add a forward
slash to the
"dir" value (e.g. change "&dir=foldername" to "&dir=/foldername"), it will
open the selected folder just fine.

I was able to "fix" this problem by changing both instances of "$path" to
"/$path" on line 647 of BackupPC_Admin. This is (I assume) a hackthat only
works because there is some regex earlier in the script that removes the
duplicate //'s this fix will create on some of the links.

Perhaps Craig or someone else can find a more elegant solution, but I'd
be more than happy to look into it further...

Thanks! Yes, this bug is still in 2.0.0 beta0. You are right that it
is caused by the missing "/". I'll look into it.

Craig


Hello Craig ... some testing

it seems that it happens only at "second-level-DIRs" (root="first-level")
and only after the first click to such "second-level-DIR".

1. After this first click ... all "second-level-DIR-Links" are wrong.

2. You can browse the complete tree fine, but donīt touch the "second-level-DIRs".

3. A click to the / (root) resets the behavior. (? it is a slash itself ?!)

Sorry for my fine englisch,
Manfred

PS: BackupPC is a high-end-backup-Application ... great !!!

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB