![]() |
![]() |
||||||
|
|||||||
| Tags: error, file, internal, upload |
![]() |
|
|||
|
Not sure what's going on here - a basic file upload :
//start Trigger_FileUpload trigger //remove this line if you want to edit the code by hand function Trigger_FileUpload(&$tNG) { $uploadObj = new tNG_FileUpload($tNG); $uploadObj->setFormFieldName("ImageMain"); $uploadObj->setDbFieldName("ImageMain"); $uploadObj->setFolder("../admin/"); $uploadObj->setMaxSize(1500); $uploadObj->setAllowedExtensions("pdf, txt, jpg, jpeg, gif"); $uploadObj->setRename("auto"); return $uploadObj->Execute(); } //end Trigger_FileUpload trigger But am getting the error message : File upload error. Internal error. But I've no idea what it means or how to fix it - any ideas? Cheers. |
| Sponsored Links |
|
|||
|
Thanks Shane - I've just been looking at it this afternoon - it was indeed a permissions issue. I'm sure that one caught me out last time. Unfortunately these sorts of things have to catch me out at least twice before they sink in!
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
- Contact Us
-|-
Adobe Dreamweaver Forums -|-
Archive -|-
Top -|-Rules/Disclaimer-|-Help/Support-|-Advertise