| Author |
Topic Search Topic Options
|
Jesper kick
Newbie
Joined: 10 December 2007
Status: Offline
Points: 21
|
Post Options
Thanks(0)
Quote Reply
Topic: Error uploading image, wrong file type Posted: 02 March 2011 at 6:23am |
|
Hi Web Wiz Forum
Normally there is no problems with uploading images of the file type .jpg, but some times I get the error message "wrong file types". I can see no clear connection with when I get the error message and the image files I try to upload.
The messages I get is:
Const strTxtErrorUploadingImage = "Error uploading image!!" Const strTxtImageOfTheWrongFileType = "The image uploaded is of the wrong file type"
I think is due to the variable "blnExtensionOK" is set to false, but as far as I can see it is not set in the "Function fileExtension".
I am using ASP Upload.
Edited by Jesper kick - 02 March 2011 at 7:45pm
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 03 March 2011 at 7:26am |
What version of Web Wiz Forums are you using?
There is a known issue with older versions where images created and edited in newer Adobe software can cause the security filters to reject the image as Adobe now hides hidden XML within the images source code which can fire a false positive with the forums security filters scanning for malicious content hidden in the image source code.
|
|
|
 |
Jesper kick
Newbie
Joined: 10 December 2007
Status: Offline
Points: 21
|
Post Options
Thanks(0)
Quote Reply
Posted: 03 March 2011 at 7:11pm |
|
Hi Bruce I using version 9.50 of the Forum. Is there any specific files I have to user from ex version 9,7? But there is also problems with old jpg files from eg. 2003, so maybe it is another problem?
It seems that the wrong error is generated in section '*** Security check for MIME change **** in functions_upload.asp
Kind regards Jesper Kick
Edited by Jesper kick - 03 March 2011 at 8:43pm
|
 |
123Simples
Senior Member
Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
|
Post Options
Thanks(0)
Quote Reply
Posted: 03 March 2011 at 8:22pm |
|
The best bet would to be to upgrade your forum software - it would be safer and more secure to do so, even if it means ploughing through any modifications you may need to make
|
|
|
 |
Jesper kick
Newbie
Joined: 10 December 2007
Status: Offline
Points: 21
|
Post Options
Thanks(0)
Quote Reply
Posted: 03 March 2011 at 8:44pm |
|
Hi MrTWS A very good idea, but I have the usual error to many modifications
Edited by Jesper kick - 03 March 2011 at 8:57pm
|
 |
123Simples
Senior Member
Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
|
Post Options
Thanks(0)
Quote Reply
Posted: 04 March 2011 at 12:41pm |
|
Hi JK The differences between 9.50 and 9.70 are quite substantial, however, it is not an impossibility to actually make the jump. Providing you make a current BACKUP of the forum and database (as it is now), you could run the upgrade, and then work back in the modifications from there. Another alternative is to consider what another forum member did, when they asked me to run the new software on one of our test forums, work back in the modding they had done, and then we switched the software over that way for them. It was paid for (but it did not cost them a fortune), and now they have a upgraded software running without any issues, and best of it all, it still maintained nearly all of the characteristics they originally had, but with better security!
PM me if you might like to chat about this further
|
|
|
 |
Jesper kick
Newbie
Joined: 10 December 2007
Status: Offline
Points: 21
|
Post Options
Thanks(0)
Quote Reply
Posted: 04 March 2011 at 7:58pm |
|
Hi MrTWS Thanks for your suggestions, I will think about it and return ;o) Jesper Kick
|
 |
123Simples
Senior Member
Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
|
Post Options
Thanks(0)
Quote Reply
Posted: 05 March 2011 at 7:21pm |
|
You're welcome Jesper
|
|
|
 |