cotonti.com : PFS Problem https://www.cotonti.com Laatste forum onderwerpen Cotonti en Thu, 29 Jan 2026 08:11:42 -0000 dervan
this bug is fixed]]>
Za, 14 Feb 2009 19:27:08 -0000
patriotfan # dervan : thank you

this is something strange


UPD

patriotfan, this error may be due to your current settings
PFS max size for a single file: 2147483647
Max size of all PFS files together: 2147483647

please go to
Administration panel / Users

and select your group, and reduce this settings
PFS max size for a single file: 10000
Max size of all PFS files together: 500000

and try to upload test_57.zip
Thanks, it works now]]>
Za, 14 Feb 2009 12:45:58 -0000
dervan
this is something strange


UPD

patriotfan, this error may be due to your current settings
PFS max size for a single file: 2147483647
Max size of all PFS files together: 2147483647

please go to
Administration panel / Users

and select your group, and reduce this settings
PFS max size for a single file: 10000
Max size of all PFS files together: 500000

and try to upload test_57.zip]]>
Za, 14 Feb 2009 11:08:55 -0000
patriotfan
I tried uploading the test zip, but same result]]>
Za, 14 Feb 2009 10:38:59 -0000
dervan patriotfan, please help me to understand the cause of errors

what browser are you using?
what version of browser?

please do some more experiments
1) try to upload with PFS this small zip with the same signature
test_57.zip
and then report results
2) extract script test.php from this zip, copy it to your site, open it with browser like this
http://yoursite/test.php
and then report results too]]>
Za, 14 Feb 2009 10:33:14 -0000
patriotfan # Kilandor : Try the file here
http://trac.cotonti.com/export/544/branches/minor/system/mimetype.php

Its the same thing, but maybe something was done wrong in your file. Because i was able to sucessfully upload your file here.
I uploaded the file and still no go
I guess I will work on a plugin to upload files instead of using the PFS]]>
Za, 14 Feb 2009 09:39:34 -0000
Kilandor http://trac.cotonti.com/export/544/branches/minor/system/mimetype.php

Its the same thing, but maybe something was done wrong in your file. Because i was able to sucessfully upload your file here.]]>
Thu, 12 Feb 2009 17:34:24 -0000
patriotfan
]]>
Thu, 12 Feb 2009 09:28:25 -0000
dervan patriotfan, yes it's the same signature

your system/mimetype.php is corrected now, and i don't understand why you can't download zip

please do this again:
1) extract original file system/mimetype.php from Cotonti disiributive
2) search in this file for string
$mime_type['zip'][]		= array('application/zip', '504B03041400', '1', '0', '6', '0');
and replace with
$mime_type['zip'][0]	= array('application/zip', '504B03041400', '1', '0', '6', '0');
$mime_type['zip'][1]	= array('application/zip', '504B03040A00', '1', '0', '6', '0');
3) upload this corrected file to host (overwrite old system/mimetype.php)
4) try again to upload with PFS your problem's zip[/]]]>
Thu, 12 Feb 2009 08:12:17 -0000
patriotfan # Kilandor : Sorry my message was more directed to patriotfan.

But thanks for the info, i see what your referring too, I'll add that check to the core.

But it appears to not have fixed it for patriotfan, so a copy of his file would still be usefull.
The file is here: http://philterprojects.com/downloads/gnextop_theme.zip
@dervan: 50 4B 03 04 0A 00 and here is the screenshot of it]]>
Thu, 12 Feb 2009 06:41:17 -0000
Kilandor Wo, 11 Feb 2009 03:06:43 -0000 Antar http://rapidshare.com/files/196427433/mass_import.zip.html]]> Wo, 11 Feb 2009 00:51:26 -0000 Kilandor
But thanks for the info, i see what your referring too, I'll add that check to the core.

But it appears to not have fixed it for patriotfan, so a copy of his file would still be usefull.]]>
Di, 10 Feb 2009 18:51:47 -0000
dervan Kilandor, i use 7-Zip or Info-ZIP (zip -r out.zip *) to create zip which contains subdirectories, and stably get signature 50 4B 03 04 0A 00

for example, you can download AkelPad-4.1.5-bin-eng.zip from this page, and you will see signature 50 4B 03 04 0A 00]]>
Di, 10 Feb 2009 18:07:06 -0000
Kilandor
Also what program was the zip created with, I compared many files for each type from different sources, when I made the mimetype list. Then, I can test and create multiple files with it to confirm a pattern, and we can likely add it to the list then.

Also this feature can be bypassed and turned off through Admin > Config > Personal File Space Though it is not recomended, as there are some possible security risks for allowing un-filtered uploads.]]>
Di, 10 Feb 2009 14:26:34 -0000
dervan HxD - freeware Hex Editor for Windows

install HxD (or extract portable version), drag-and-drop zip file to HxD window, and you can see in HxD window the first 6 bytes in hex, like this: 50 4B 03 04 0A 00]]>
Di, 10 Feb 2009 11:05:43 -0000
patriotfan # dervan : patriotfan, please show the first 6 bytes of zip file (in hex)
I do not understand what you want me to do, but...
The fisrt 6 bytes of it are 203581 and converted to hex is ?? (i dont know about that)]]>
Di, 10 Feb 2009 10:08:48 -0000
dervan patriotfan, please show the first 6 bytes of zip file (in hex)]]> Di, 10 Feb 2009 09:52:38 -0000 patriotfan # Brock : Are you trying files that are allowed in the extension types?
Yes, zips are allowed

@drvan: I did that, but I still get the error message. Also, here is a screenshot of my code]]>
Di, 10 Feb 2009 09:41:31 -0000
dervan
if you need to upload zip with subdirectories, then search in file system/mimetype.php for string
$mime_type['zip'][]		= array('application/zip', '504B03041400', '1', '0', '6', '0');
and replace with
$mime_type['zip'][0]	= array('application/zip', '504B03041400', '1', '0', '6', '0');
$mime_type['zip'][1]	= array('application/zip', '504B03040A00', '1', '0', '6', '0');
[/]]]>
Di, 10 Feb 2009 09:39:07 -0000
Brock Di, 10 Feb 2009 07:44:34 -0000 patriotfan I installed Cotonti for a little project of mine.
I am having a problem with PFS.
I will upload a file (.zip) and I get this:
"gnextop_theme.zip : This is not a valid zip file."
I have tried other files, and I get the same thing. I even reran the sql for the site and still no luck. It uploads images, but not zips.]]>
Ma, 09 Feb 2009 09:57:25 -0000