Page 1 of 1

Attachments

Posted: Thu Nov 10, 2011 12:34 pm
by Jonnyreggae
Script URL: 2.3
Version of script: http://10.0.1.149/design&artwork
Hosting company: Me
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: Cannot attach files

Write your message below:

Ok, I'm having some issues in where I can't attach files in the Help desk, I've checked my server root path settings and all this is correct. I've installed the path.php and it's all good.

Now, I have also run a script in the attachments.inc.php file which should tell me whether the attachments folder has the correct permissions. My result is below.

DEBUG:

FILES:
Array
(
[attachment] => Array
(
[name] => Array
(
[1] => 25mm.gif
[2] =>
[3] =>
[4] =>
[5] =>
)

[type] => Array
(
[1] => image/gif
[2] =>
[3] =>
[4] =>
[5] =>
)

[tmp_name] => Array
(
[1] => C:\wamp\tmp\phpB472.tmp
[2] =>
[3] =>
[4] =>
[5] =>
)

[error] => Array
(
[1] => 0
[2] => 4
[3] => 4
[4] => 4
[5] => 4
)

[size] => Array
(
[1] => 6947
[2] => 0
[3] => 0
[4] => 0
[5] => 0
)

)

)


COPY TO: C:/wamp/www/Design&Artwork/attachments/T13-67L-AV99_948a5f7cf17bbbe168b2fea411283c51.gif

IS WRITEABLE: NO

As you can see above, it says writeable 'NO'. I have changed the permissions for the ATTACHMENTS folder and I can't for the life of me to get this to say 'YES'. Can someone point me in the right direction please.

Cheers,

Jonny

Re: Attachments

Posted: Thu Nov 10, 2011 12:44 pm
by Klemen
Try removing "&" from your folder name (for example rename it to "design_artwork" and update settings appropriately) in case that's causing problems with the path.

Re: Attachments

Posted: Thu Nov 10, 2011 12:56 pm
by Jonnyreggae
Bang on the Money!!!! Nice one Klemen, cheers!! It was the & :oops:

Cheers,

Jonny

Re: Attachments

Posted: Thu Nov 10, 2011 4:43 pm
by Klemen
I'm glad this fixed it because I didn't know what else to suggest if it didn't work :mrgreen: