Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 12:48 pm EDT

Geeklog Forums

File Management


Status: offline

ShdwRulr

Forum User
Regular Poster
Registered: 09/13/03
Posts: 78
Is there a way to have file management direct the user to a file? So instead of uploading the file, I just input the url or path to it.
Bla bla bla
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Upload a small file that does an HTML redirect to the actual downloadable file (adjust the size information for the HTML file manually, as to reflect the size of the actual file).

That's an old trick, btw, I'm sure it's documented somewhere ...

bye, Dirk
 Quote

Status: offline

ShdwRulr

Forum User
Regular Poster
Registered: 09/13/03
Posts: 78
Thanks I found it somewhere, but when I upload a file,
I get this across the top

Warning: move_uploaded_file(/var/www/data/filemgmt_data/files/worldwide.html): failed to open stream: No such file or directory in /home/shadowru/public_html/geeklog/public_html/admin/plugins/filemgmt/index.php on line 776

Warning: move_uploaded_file(): Unable to move '/var/tmp/phpDOJCx9' to '/var/www/data/filemgmt_data/files/worldwide.html' in /home/shadowru/public_html/geeklog/public_html/admin/plugins/filemgmt/index.php on line 776

And I get this in the body of the page

Shadow Rulers Error

Error Code: 1106


ERROR: Upload Add Error: The new file was not created. Check error.log
Bla bla bla
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
You may want to re-check the directory permissions to make sure the web server process owner has access to write to the directories.
Geeklog components by PortalParts -- www.portalparts.com
 Quote

Status: offline

ShdwRulr

Forum User
Regular Poster
Registered: 09/13/03
Posts: 78
I figured that geeklog didn't save the setting. But when I tried to save the real settings, I got a page with this at the top.


Warning: fopen(/home/shadowru/public_html/geeklog/plugins/filemgmt/filemgmt.php): failed to open stream: Permission denied in /home/shadowru/public_html/geeklog/public_html/admin/plugins/filemgmt/index.php on line 1169

Warning: fwrite(): supplied argument is not a valid stream resource in /home/shadowru/public_html/geeklog/public_html/admin/plugins/filemgmt/index.php on line 1194

Warning: fclose(): supplied argument is not a valid stream resource in /home/shadowru/public_html/geeklog/public_html/admin/plugins/filemgmt/index.php on line 1195

After it did that, the page quickly reloaded and it was gone. I have checked my CHMOD settings and it is 777 for that file and I am still unable to get access. What should I do?
Bla bla bla
 Quote

Status: offline

ShdwRulr

Forum User
Regular Poster
Registered: 09/13/03
Posts: 78
I have somehow fixed most of the problem. My Site
But if you go to the download area and try to download the file, I can't get anything. My computer can not find the domain name. I know it is there and I know the url is correct but I just can not get the file to download. If you don't know what to do, then do you know who I can contact?
Bla bla bla
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
curious
You can always contant the author of the plugin - I hear he is a helpfull guy Rolling Eyes

He just likes a little patience and some more detail. Maybe the URL to the site will help to see the problem.

You may also want to describe what you did to fix your last problem as others may find it helpfull as they review these posts.

It would appear to have been permissions or directory name issue.
Geeklog components by PortalParts -- www.portalparts.com
 Quote

Status: offline

xspace

Forum User
Regular Poster
Registered: 03/04/03
Posts: 100
Try to chmod the directory, and apply all chmod to subfolders and files .. all 777 ... I done it and it was fine .. Smile
Die young, stay Pretty
 Quote

Status: offline

ShdwRulr

Forum User
Regular Poster
Registered: 09/13/03
Posts: 78
they are CHMOD and I'm still having problems.
Bla bla bla
 Quote

Status: offline

ShdwRulr

Forum User
Regular Poster
Registered: 09/13/03
Posts: 78
The problem is now fixed. I had http://shadowrulers.com instead on http://www.shadowrulers.com
Bla bla bla
 Quote

Status: offline

xspace

Forum User
Regular Poster
Registered: 03/04/03
Posts: 100
Quote by ShdwRulr: The problem is now fixed. I had http://shadowrulers.com instead on http://www.shadowrulers.com


That's a painful error ...
Die young, stay Pretty
 Quote

Allison

Anonymous
Okay - I read this.. I researched on the internet.. I looked through the forum - and this is the closet I got to solving the same exact problem.. however it is not solved.

WHICH folders for FILE MANGEMENT should I chmd to 777, and should I still keep the other ones 754 (for things to be uploaded??) or should these also be chmded to 777?

Thanks.
 Quote

Allison

Anonymous
.. and yes I read the directions.. and chmded the files to what they said to chmd them too - however I am still having problems uploading. So I appreciate that the assumption is not made that I haven't read the directions.. I have.
 Quote

Allison

Anonymous
.. feeling like a moron. The problem is..



Warning: move_uploaded_file(/home/clayaike/public_html/filemgmt_data/files/bloodwillneverloseitspower.mp3): failed to open stream: No such file or directory in /home/clayaike/public_html/geek/admin/plugins/filemgmt/index.php on line 1238

Warning: move_uploaded_file(): Unable to move '/var/tmp/phpopJDTu' to '/home/clayaike/public_html/filemgmt_data/files/bloodwillneverloseitspower.mp3' in /home/clayaike/public_html/geek/admin/plugins/filemgmt/index.php on line 1238


ClayAikenOnline.com Error

Error Code: 1106


ERROR: Upload Add Error: The new file was not created. Check error.log



Tue Nov 30 05:33:19 2004 - AddNewFileShot - Upload filename is /home/clayaike/public_html/filemgmt_data/files/bloodwillneverloseitspower.mp3
Tue Nov 30 05:33:19 2004 - Filemgmt File add by admin error: New file could not be created: /var/tmp/phpopJDTu to bloodwillneverloseitspower.mp3
 Quote

All times are EDT. The time is now 12:48 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content