Webmastersite.net
Register Log In

Having trouble uploading...
Getting the following error messages...

Comments on Having trouble uploading...

sno543
Beginner

Usergroup: Member
Joined: Jan 23, 2005
Location: ca

Total Topics: 1
Total Comments: 3
sno543
Posted Jan 23, 2005 - 6:29 PM:

Warning: move_uploaded_file(/dh/cgi-system/attachments/sherri1.jpg): failed to open stream: No such file or directory in /home/.ladadryer/message/sherri-in-mycity.com/mydirectory/functions.php on line 401

Warning: move_uploaded_file(): Unable to move '/tmp/phpnPr7PQ' to '/dh/cgi-system/attachments/sherri1.jpg' in /home/.ladadryer/message/sherri-in-mycity.com/mydirectory/functions.php on line 401

I bought the script today. Uploaded it to my server. Went to upload a photo and got the following message. I searched the forums for an answer and I did try changing the chmod on the attachments directory from 777 to 755 with no luck. Any other suggestions? Thanks.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jan 27, 2005 - 6:57 PM:

Your attachments directory file path is off. What you've specified in settings->general config isn't right.

It should probably be /home/.ladadryer/message/sherri-in-mycity.com/mydirectory/attachments/
sno543
Beginner

Usergroup: Member
Joined: Jan 23, 2005
Location: ca

Total Topics: 1
Total Comments: 3
sno543
Posted Jan 27, 2005 - 9:21 PM:

If I need to change the path, where would I change this at? Thanks.
Damir
Forum Regular

Usergroup: Customer
Joined: Jan 25, 2005
Location: Croatia

Total Topics: 46
Total Comments: 136
Damir
Posted Jan 28, 2005 - 10:54 AM:

In the admin panel

Settings/System configuration

File Upload Path:

Enter this there
/home/.ladadryer/message/sherri-in-mycity.com/mydirectory/attachments/


and it should work

Regards
sno543
Beginner

Usergroup: Member
Joined: Jan 23, 2005
Location: ca

Total Topics: 1
Total Comments: 3
sno543
Posted Jan 28, 2005 - 11:48 AM:

Thank you, it is working now. smiling face
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.