google-code-export / cpassman

Automatically exported from code.google.com/p/cpassman
0 stars 0 forks source link

problems importing KeePass XML file #248

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Import a KeePass XML file

What is the expected output? What do you see instead?
Claims it isn't a KeePass XML file

What version of the product are you using?
2.1.2

On what operating system? With what Browser (IEx, FFx, ...)
Windows XP, Firefox 3.6

Please provide any additional information below.
I checked the error logs and there are two problems reported, the first is the 
complaint about the _SESSION variable as reported in ticket 194, the second is 
that uploadify can't find the file.

My installation users an Apache virtual server and an alias directive.  
Although the "Full path to TeamPass" setting variable is set to 
/home/www-data/teampass, the uploadify is attempting to move the file to 
"/htdocs/tps/files".  I have the URL mounted at "/tps" and when I installed, 
the default value (which I replaced) for the path was "/htdocs/tps".  So it 
looks to me like you're missing setting the target variable in uploadify.

As I have root access on the box, I created a directory structure and a soft 
link that mimicked where the code expected it to go and then it worked.   

Original issue reported on code.google.com by ctrud...@arsensa.com on 25 Jan 2012 at 2:59

GoogleCodeExporter commented 9 years ago
Should be corrected in 2.1.7

Original comment by nils.cpa...@gmail.com on 15 Apr 2012 at 9:21

GoogleCodeExporter commented 9 years ago
Hi Nils,

I am trying to import XML file (Exported by KeyPass v.2.19) but I can't see any 
update there. I have checked the teampass/files and I can see the uploaded file 
is there but the import script can't move. 

Please refer to the attached file.

Thanks
Monowar

Original comment by mhos...@gmail.com on 18 Jun 2012 at 9:16

Attachments:

GoogleCodeExporter commented 9 years ago
I struggled with this problem for a couple of hours, so I decided to tell you 
what I found out:

in TeamPass 2.1.7 you can't import KeePass XML because... the action is 
commented in the code! See line 542 of load.php (or search for ImportKEEPASS). 
When the action is uncommented, import works. This typo is persent in the 
current master branch on GitHub as of today.

Original comment by jeka...@gmail.com on 17 Jul 2012 at 12:07

GoogleCodeExporter commented 9 years ago
At first I'm getting a I/O error. So I tried the above solution, when I edit 
the load.php & uncomment the //ImportKeepass function. The whole site becomes 
unfunctional. So in both cases it's not working.

Original comment by yong...@gmail.com on 29 Aug 2012 at 12:13

Attachments: