upload photo error

Warning: chmod() [function.chmod]: No such file or directory in /Library/WebServer/Documents/dolphin/uploadPhoto.php on line 328

when member adds a photo

whats missing???????

also

Warning: Cannot modify header information - headers already sent by (output started at /Library/WebServer/Documents/dolphin/uploadPhoto.php:328) in /Library/WebServer/Documents/dolphin/upload_media.php on line 188

not so crucial

Quote · 11 Jul 2009

its trying to chmod the uploaded image

but the image is not uploaded

$ext = moveUploadedImage( $_FILES, 'photo', $sMediaDir . $sFileName, $this -> aMediaConfig['max']['photoFile'], false );

the member dir is created but remains empty

Quote · 11 Jul 2009

been looking around thru a few files

anyhow the page that has the php function

move_uploaded_file( $_FILES[$fname]['tmp_name'], $path_and_name );

is images.inc.php

worth noting this page has a short tag at start i.e. <?

if your php.ini file does not enable short tags this file will not work for you...

unfortunately this is not my problem....

lookkkiiingggggggg

i use move_uploaded_file in other sites without a problem,

so it cant be a tmp or permissions problem for me

grrrrrrrrrrrrrrrrrrrrrrrrrrrrrr..................................

Quote · 11 Jul 2009

 

been looking around thru a few files

anyhow the page that has the php function

move_uploaded_file( $_FILES[$fname]['tmp_name'], $path_and_name );

is images.inc.php

worth noting this page has a short tag at start i.e. <?

if your php.ini file does not enable short tags this file will not work for you...

unfortunately this is not my problem....

lookkkiiingggggggg

i use move_uploaded_file in other sites without a problem,

so it cant be a tmp or permissions problem for me

grrrrrrrrrrrrrrrrrrrrrrrrrrrrrr..................................

 

 ROFLMAO...

 

I like this, I really like this.

 

Noting a filing is starting with short tag <? and if php.ini does not enable short tags it will not work.  ROFLMAO

 

Okay, how would you suggest that we start the .php files if it's not with a <? tag?

 

Would someone please contact all the programmers who have their doctorates and inform them of what JingJoMark has just discovered?  Please, we should all get Al Gores opinion on this too!

Quote · 12 Jul 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.