Adobe Dreamweaver Forums



Last 10 THreads :         Re: Nested Movie Clips (Last Post : Damo1954 - Replies : 0 - Views : 1 )           »          Flash line feed email issue (Last Post : Kirst- - Replies : 2 - Views : 3 )           »          My Stop Actions Are NOT working (Last Post : Rothrock - Replies : 9 - Views : 10 )           »          loadMovie hebrew file (Last Post : udikeren - Replies : 0 - Views : 1 )           »          moviecliploader (Last Post : David Stiller - Replies : 3 - Views : 4 )           »          Flash to PHP mail (Last Post : GumpsterF - Replies : 4 - Views : 5 )           »          UIScrollbar size problem (Last Post : jjsand28 - Replies : 4 - Views : 5 )           »          Interactive CD-Rom Catalog search (Last Post : poirier.yann - Replies : 0 - Views : 1 )           »          loadMovie() & XML.onLoad query(AS2) (Last Post : thybluefox - Replies : 3 - Views : 4 )           »          Dynamically calling Movieclips (Last Post : thybluefox - Replies : 2 - Views : 3 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Macromedia Dreamweaver: Main > Dreamweaver Toolkit
 
Tags: , , ,



Reply
  #1 (permalink)  
Old 09-28-2008, 01:57 AM
Iain_MacDonald@adobeforums.com
 
Posts: n/a
Diggs:
Default File Upload - Internal error?

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.


Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 09-28-2008, 01:57 AM
shane_mosier@adobeforums.com
 
Posts: n/a
Diggs:
Default Re: File Upload - Internal error?

Iain,

If I had to guess, I would say it's a problem with the PHP settings on the server conflicting with the ADDT settings. Could be php.ini file size limits or maybe permission problems.

Shane
Reply With Quote
  #3 (permalink)  
Old 09-28-2008, 01:57 AM
Iain_MacDonald@adobeforums.com
 
Posts: n/a
Diggs:
Default Re: File Upload - Internal error?

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!
Reply With Quote


Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 05:24 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Cheap Car Insurance - Compare Motor Insurance
Endsleigh Car Insurance Natwest Car Insurance
More Than Car Insurance Norwich Union Car Insurance
Prudential Car Insurance Zurich Car Insurance
Inactive Reminders By Mished.co.uk