Johann Groder
|
Posted: 02/15/2004, 4:35 AM |
|
Hi
If i try to Upload any File i get this massage return: Warning: Unknown modifier '.' in /home/f-famos/htdocs/Admintool_2_00_Grund/admin/Classes.php on line 1114
In the list of file masks allowed to upload, i have: *.jpg;*.tif;*.png;
i try also like this: jpg;tif;png; put it is the same.
My Config:
WinXp Pro - Sp1 with all updates
CCS 2.2.3.60
MySql 3.23.41
PHP 4.0.6
The Database and PHP runs under LInux
I hope someone can help me!
thx
Johann Groder
p.S. sorry about my english!
|
|
|
peterr
Posts: 5971
|
Posted: 02/15/2004, 12:43 PM |
|
Johann,
I'm not familiar with such error (which is probably good since it wasn't reported yet), but I'm suspecting that maybe the last semicolon (;) is the problem. Please try: *.jpg;*.tif;*.png
Also, avoid any spaces in this string.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
Johann Groder
|
Posted: 02/15/2004, 12:58 PM |
|
Dank you peterr,
i have try with out the last semicolon, put is the same error...
thanks
johann
|
|
|
Johann Groder
|
Posted: 02/15/2004, 1:02 PM |
|
Peterr,
i'm also set the string with out any spaces and the fild "forbidden extension" is emty.
thanks
Johann
|
|
|
peterr
Posts: 5971
|
Posted: 02/15/2004, 1:35 PM |
|
In this case I recommend that you contat CodeCharge Support at http://support.codecharge.com
and paste the code from lines 1113-1115 in your Classes.php.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
Joerg v. Roos
|
Posted: 07/30/2004, 5:47 AM |
|
I had the same problem with new CCS version.
I use a php-preg_match-command regular expression as the file mask WITH quotation marks! i.e.:
"\.(pdf|doc|jpg|gif|png)$"
This one allows *.pdf,*.doc,*.jpg,*.gif,*.png
$ means end of string;
. means any character;
\. means a single dot (escaped)
| means OR
Joerg
|
|
|
peterr
Posts: 5971
|
Posted: 08/02/2004, 1:45 AM |
|
The latest couple versions of CCS require the use of syntax like: "*.pdf;*.doc;*.jpg;*.gif;*.png"
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
Damian
|
Posted: 08/02/2004, 11:05 PM |
|
Yes! I have just realised this too! It used to be the extension only.
"peterr" <peterr@forum.codecharge> wrote in message
news:5410dff222a6b7@news.codecharge.com...
> The latest couple versions of CCS require the use of syntax like:
> "*.pdf;*.doc;*.jpg;*.gif;*.png"
> _________________
> Peter R.
> YesSoftware Support Representative
> http://support.codecharge.com
> Warning: I use Google
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|