Page 1 of 1

Error with attachments in Windows Server

Posted: Mon Jun 04, 2007 8:44 am
by valverde
Script URL: http://www.inspired.com.es/sat
Version of script:0.94
Hosting company: http://www.domitienda.com
URL of phpinfo.php: http://www.inspired.com.es/sat/phpinfo.zip
URL of session_test.php: http://www.inspired.com.es/sat/session_test.zip
What terms did you try when SEARCHING for a solution: attachments

Write your message below:

I have successfully upgraded to version 0.94, however I can't attach any file to my tickets. I have granted all permissions to all users in Windows Server using the Plesk control panel. However I always get the following error message:

PHP Warning: move_uploaded_file(/httpdocs/sat/attachments/4SUUWRQADM_6590_Inci_Agenda.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in C:\Inetpub\vhosts\inspired.com.es\httpdocs\sat\inc\attachments.inc.php on line 58 PHP Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'C:\WINDOWS\Temp\phpCBD4.tmp' to '/httpdocs/sat/attachments/4SUUWRQADM_6590_Inci_Agenda.jpg' in C:\Inetpub\vhosts\inspired.com.es\httpdocs\sat\inc\attachments.inc.php on line 58

Kind regards,
Antonio Valverde

Posted: Mon Jun 04, 2007 9:11 am
by Klemen
In the admin settings page see if the sytem/root path is set to:
C:\Inetpub\vhosts\inspired.com.es\httpdocs\sat

If not change it and try again.[/code]

Posted: Mon Jun 04, 2007 9:23 am
by valverde
Thanks. Now it works fine.

Regards,
Antonio Valverde