PDA

View Full Version : DFP2 problems and question


info321189
09-03-2009, 01:26 PM
Hello, when I upload small image sizes DFP2 works fine, when a user try to upload a picture from a digital camera the upload doesn't work, the debug message is this:

Status object: WA_UploadResult1
statusCode : 0
errorMessage : No file uploaded
clientFileName :
fileExtension :
serverFileName :
serverSimpleFileName :
serverDirectory :
contentType :
fileWasOverwritten :
fileWasSkipped :
fileWasRenamed :
fileSize : -1
isImage :
imageWidth : -1
imageHeight : -1
WA_UploadResult1_1:
clientFileName :
fileExtension :
serverFileName :
serverSimpleFileName :
serverDirectory :
contentType :
fileSize : -1
imageWidth : -1
imageHeight : -1
statusCode : 0
errorMessage : No file uploaded

on the page I get this error:

Notice: Undefined variable: firstFile in C:\htdocs\website\WA_DigitalFilePro\HelperPHP.php on line 334

I can configure the max file size somewhere ?
I alredy try to add the line code
<?php ini_set('memory_limit', '256M'); ?>
but doesn't work.

Jason Byrnes
09-03-2009, 03:21 PM
Try using the beta build of Digital File pro that is available in the beta builds section of the DFP Downloads page.

The memory_limit can be st in the php.ini file. If you dont have access to the ini file, you will need to use the ini_set function.

info321189
09-04-2009, 03:48 AM
Hello Jason.
I get the same thing with beta version. I also up to 1024M the amount of memory in the php.ini ... :-( what is wrong ?

info321189
09-04-2009, 04:07 AM
Solved! I'm stupid and I don't think to increase the filesize in .htaccess
:-)

Cologne
09-05-2009, 10:16 AM
why do you have to set the file size in the htaccess? what should people do how cant change their htaccess?

DFP1 was able to upload lage files, why DFP2 is not?

SOJO web
09-05-2009, 09:06 PM
meister,

your mixing up attributes... the htaccess file is a server issue... not an issue of Digital File Pro 2 or 1 for that matter. Digital File pro can handle any image size... but YOUR HOST for example may only allow 8MB uploads for example, if that's the case and you try to upload a file bigger than that, it won't work but not because of Digital File Pro 2, but rather because that is the parameter for limitation by your host.

Some people who control their own server decide to use htaccess files to set php parameters. I prefer just to use the php.ini file when possible. But, the earlier post of htaccess was because whoever was trying to upload a large file had previously had an htaccess file that was limiting the size of uploads - not DFP2.