Open GoogleCodeExporter opened 9 years ago
Edit: It looks like the file upload does not work properly. CSV upload works
without any problems, XML-files dont apper in ../files
Original comment by Marker...@gmail.com
on 30 Nov 2011 at 3:10
Edit 2: Okay...I'm an idiot. It didn't upload because my apache server had an
upload limit set...
Now the upload seems to work (with IE9) but I get the following message:
Can't read the file! It must be a KeePass file.
I used KeePass 2.16. I know, that KeePass changed something with it's database
file with the last version (you cannot open 2.16 files with < 2.16). Maybe they
changed something with export too?
The apache error.log:
[Fri Dec 02 13:47:51 2011] [error] [client 172.30.96.53] PHP Notice: Undefined
variable: _SESSION in /var/www/cpassman/includes/settings.php on line 23
[Fri Dec 02 13:47:51 2011] [error] [client 172.30.96.53] PHP Notice:
date_default_timezone_set(): Timezone ID '' is invalid in
/var/www/cpassman/includes/settings.php on line 23
[Fri Dec 02 13:47:51 2011] [error] [client 172.30.96.53] PHP Notice: Undefined
index: type in /var/www/cpassman/includes/libraries/uploadify/uploadify.php on
line 64
First to entries seem to be a "standard" error. It occures as soon as you go to
cpassman.
Thank you,
Christoph
Original comment by Marker...@gmail.com
on 2 Dec 2011 at 12:52
I'd to check what has changed in the export format from keepass.
Thanks for reporting.
Nils
Original comment by nils.cpa...@gmail.com
on 2 Dec 2011 at 7:36
Thank you Nils, please let me know if I can help you testing.
Original comment by Marker...@gmail.com
on 5 Dec 2011 at 12:18
I've done several tests with 2.16 version and I've got no errors.
The XML is always the same.
Hum ... there must be something else! I'll check more deeply the errors you get
Nils
Original comment by nils.cpa...@gmail.com
on 5 Dec 2011 at 8:20
Can you check in settings.php file, if you have an @ in beginning of line 23
(=> @date_default_timezone_set($_SESSION['settings']['timezone']);)
In file includes\libraries\uploadify\uploadify.php at line 64, replace
if ( $_POST['type'] == "modification" ){
by
if ( isset($_POST['type']) && $_POST['type'] == "modification" ){
Please tell me if ok
Nils
Original comment by nils.cpa...@gmail.com
on 5 Dec 2011 at 8:23
Hi Nils,
no @. date_default_timezone_set($_SESSION['settings']['timezone']);
I added the @.
I replaced the line you pasted in uploadify.php.
New Error Messages:
[Mon Dec 05 21:31:06 2011] [error] [client 172.30.2.65] PHP Notice: Undefined
variable: _SESSION in
/var/www/cpassman/includes/libraries/uploadify/uploadify.php on line 39
[Mon Dec 05 21:31:06 2011] [error] [client 172.30.2.65] PHP Notice:
date_default_timezone_set(): Tim
ezone ID '' is
invalid in /var/www/cpassman/includes/libraries/uploadify/uploadify.php on line
39
Christoph
Original comment by Marker...@gmail.com
on 5 Dec 2011 at 8:33
EDIT: The first previous error messages appeared as soon as I launched teampass.
The new messages appear when I try to import a KeePass XML.
ALSO: Is it possible teampass has a problem parsing the xml file because it is
too huge? My file I try to import is about 284k lines long and 8MB in size.
Christoph
Original comment by Marker...@gmail.com
on 5 Dec 2011 at 8:38
Hi Nils,
I've tried it with another KeePass-File (a lot smaller than my main file; about
12k lines) and it works just fine. Do you have any known character
incompatibilities?
Christoph
Original comment by Marker...@gmail.com
on 9 Dec 2011 at 7:14
Hi Christoph,
As far as I know there should not be any unsupported characters but the problem
you're facing makes really think to such a problem ... damn!
I've got to do several tests.
Can you send me a list of special characters you may using in labels?
Thanks
Nils
Original comment by nils.cpa...@gmail.com
on 10 Dec 2011 at 9:13
Hi Nils,
I'll try to provide you with the information you need tomorrow.
Christoph
Original comment by Marker...@gmail.com
on 11 Dec 2011 at 4:50
Hi Nils,
I tried to make a list with all used characters but I don’t exactly know how
to do that. As far as I can see you can safely assume that we use every
possible character usually writable (including the German umlauts ä, ö, ü
and ß).
But I might have news for you. I have played a bit with my XML-File and noticed
something very odd. If I try to import a bunch of sub-folders in my main
customer folder it'll abort the import because it apparently does not look like
KeePass XML. But if I only export only one folder at a time it works (though i
don't think it's possible for me to import our folders one by one, because we
have a hundrets of them).
Christoph
Original comment by Marker...@gmail.com
on 13 Dec 2011 at 4:10
Original issue reported on code.google.com by
Marker...@gmail.com
on 28 Nov 2011 at 12:40