PortalParts.com Site

 Forum Index > Geeklog > Filemgmt Plugin Support New Topic Post Reply
 Install problems
 |  Printable Version
webdude
 May 09 2009 14:04 PM  
Forum Full Poster
Full Poster

Status: offline

Registered: 08/15/08
Posts: 10

I get the error when uploading a file and it is related to the directory path settings.

My server does not allow drive letters (I have asked support) and so I cannot have for example D:/home/........

I can use paths like ./home/......
or URL
http://domain/directories

I tried various paths under the directory settings and none of them work.

My error:
An error has occurred:
2 - move_uploaded_file(/home/thegiant/public_html/members/filemgmt_data/files/Convert.zip) [function.move-uploaded-file]: failed to open stream: No such file or directory @ /home/thegiant/public_html/members/admin/plugins/filemgmt/index.php line 1306

array(9) {
["newfile"]=>
string(66) "/home/thegiant/public_html/members/filemgmt_data/files/Convert.zip"
["directory"]=>
string(55) "/home/thegiant/public_html/members/filemgmt_data/files/"
["myts"]=>
&object(MyTextSanitizer)#5 (0) {
}
["eh"]=>
&object(ErrorHandler)#7 (0) {
}
["filemgmtDuplicatesAllowed"]=>
&NULL
["filemgmtFilePermissions"]=>
&int(493)
["name"]=>
string(11) "Convert.zip"
["tmp"]=>
string(14) "/tmp/phpixFEPY"
["logourl"]=>
string(11) "Convert.zip"
}

(This text is only displayed to users in the group 'Root')

Regards
Mark


 
Profile Email PM
Quote
webdude
 May 09 2009 14:14 PM  
Forum Full Poster
Full Poster

Status: offline

Registered: 08/15/08
Posts: 10

The D:/geeklog that the settings start with are obviously from the development box.

My only work around will be virtual or relative paths, not physical paths.

If there any way to edit this in the code?

Regards
Mark


 
Profile Email PM
Quote
webdude
 May 12 2009 07:51 AM  
Forum Full Poster
Full Poster

Status: offline

Registered: 08/15/08
Posts: 10

Never mind, I sorted it out by ensuring all paths are correct and chmod 777 and then for the directories instead of d:/directory I used /home/......

Works fine for small uploads but larger uploads timeout so I assume there is an upload limit.

Regards
Mark


 
Profile Email PM
Quote
tor
 July 22 2010 18:46 PM  
Forum Newbie
Newbie

Status: offline

Registered: 07/20/10
Posts: 1

so what is the correct path?


 
Profile Email PM
Quote
Content generated in: 0.16 seconds
New Topic Post Reply



 All times are CDT. The time is now 02:10 PM.
Normal Topic Normal Topic
Locked Topic Locked Topic
Sticky Topic Sticky Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content