1
nixon
Import Prob with DMS mod
  • 2005/2/2 0:54

  • nixon

  • Just popping in

  • Posts: 35

  • Since: 2003/3/7 2


I am getting this error after trying to upload to the repository int he DMS mod

Error: Unable to move file.
SP:/var/tmp/upload/php009993
DP:/www/xoops/modules/dms/repository/1/1/1/700001.dat

I have read the previous thread on this but I am not using a trailing slash after the repostiory folder and the repository folder definately has read/write permissions. Is there any other possible problems holding me back?

2
rifraff
Re: Import Prob with DMS mod
  • 2005/2/2 13:48

  • rifraff

  • Just popping in

  • Posts: 67

  • Since: 2003/4/16


Hello,

1. Does Apache have read/write permissions to /var/tmp/upload?
2. Is the php.ini configured to accept uploads?
3. Are you able to upload smaller documents? If so, increase the upload file size in the php.ini file.
4. Is the repository path /www/xoops/modules/dms/repository? On my Linux boxes it is /var/www/xoops/modules/dms/repository. Double check this path.


Please let me know if any of these suggestions worked. I'll try to think of some more.

Regards,

Brian Reifsnyder

3
traysee
Re: Import Prob with DMS mod
  • 2005/2/5 1:35

  • traysee

  • Just popping in

  • Posts: 12

  • Since: 2005/2/5 1


Okay, a Windows version of the DMS module was available and I've read how to get it to work on in a Linux environment - but how do you get it to work on a Windows environment?

4
rifraff
Re: Import Prob with DMS mod
  • 2005/2/7 1:09

  • rifraff

  • Just popping in

  • Posts: 67

  • Since: 2003/4/16


Hello,

If you are using it in a Windows environment, the only thing you need to do is to set the path for the repository directory with the drive letter in addition to the directory path.

i.e. D:\www\xoops\modules\dms\repository


Regards,

Brian

5
cathiew
Re: Import Prob with DMS mod
  • 2005/2/7 17:54

  • cathiew

  • Just popping in

  • Posts: 1

  • Since: 2005/2/7 1


My issue is very similar to the one noted above.

Error: Unable to move file.
SP:/var/tmp/phpB2zBNi
DP:/var/www/documents/1/1/1/2500001.dat

I noted that I didn't have an html_public/tmp directory, so created it. I've also been trying various paths for the respository directory. From various posts, it is not clear to me if /var/www/repository is correct, or just /var/respository. I assume the path indicated should be from public_html.

Thanks for any more thoughts on this.

6
rifraff
Re: Import Prob with DMS mod
  • 2005/2/7 18:07

  • rifraff

  • Just popping in

  • Posts: 67

  • Since: 2003/4/16


Quote:

cathiew wrote:
My issue is very similar to the one noted above.

Error: Unable to move file.
SP:/var/tmp/phpB2zBNi
DP:/var/www/documents/1/1/1/2500001.dat

I noted that I didn't have an html_public/tmp directory, so created it. I've also been trying various paths for the respository directory. From various posts, it is not clear to me if /var/www/repository is correct, or just /var/respository. I assume the path indicated should be from public_html.

Thanks for any more thoughts on this.




Hello,

The most likely problem is the destination path (DP). Make sure that this path exists and that the web server has read/write access to it. What will most likely work is to find out the exact path of the repository directory in the DMS module (dms/repository) which may be something like /var/www/xoops/modules/dms/repository and use that.

Regards,

Brian

7
nixon
Re: Import Prob with DMS mod
  • 2005/2/15 12:03

  • nixon

  • Just popping in

  • Posts: 35

  • Since: 2003/3/7 2


Brian,
I appreciate all the work you are putting into replying here. Some updated info on my error problem.

1. I have tried a variety of paths including:
var/www/xoops/modules/dms/repository
www/xoops/modules/dms/repository
var/www/xoops/uploads

my full path from my mainfile.php
/webdocs/school-hosting/torresstraitislands/thurislashs/www/xoops/modules/dms/repository

and many others....

2. I definately have 777 permissions on the repository folder.

3. I can see a "1" folder inside the repository folder which may have been created or not - not sure.

4.I have these settings in my php.ini file (I have no control over this file)

file_uploads On On
upload_max_filesize 2M 2M
upload_tmp_dir /var/tmp/upload /var/tmp/upload

I have tried many different files or varying sizes.

I always get the same error:
Error: Unable to move file.
SP:/var/tmp/upload/php014426
DP:/webdocs/school-hosting/torresstraitislands/thurislashs/www/xoops/modules/dms/repository/1/1/1/400001.dat

You can substitute any path into that last error section depending on what I enter. Do you have any more ideas on this one as I think the mod would be perfect for my needs.
Cheers

PS. Can I check if apache has read write permissions to /var/tmp/upload without access to the server apart from phpinfo()???

Login

Who's Online

63 user(s) are online (34 user(s) are browsing Support Forums)


Members: 0


Guests: 63


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits