Welcome to Geeklog, Anonymous Tuesday, January 14 2025 @ 02:18 am EST

Geeklog Forums

File MGMT: failed to poen stream


sinergyinaction

Anonymous
confused
Hi
I receive the following error message when a file icon is clicked upon for downloading

An error has occurred:
2 - fopen(/home/moviments/permacultura-es/public_html/logs/access.log) [function.fopen]: failed to open stream: Permission denied @ /home/moviments/permacultura-es/public_html/lib-common.php line 1801

array(7) {
["logentry"]=>
string(128) "Visit.php => Download File: La%20Esencia%20de%20la%20PermaCultura-%20vers2.pdf, User ID is: 152, Remote address is: 172.16.10.21"
["_CONF"]=>
&array(170) {
["path"]=>
string(44) "/home/moviments/permacultura-es/public_html/"
["path_html"]=>
string(44) "/home/m

Any idea what might be causing this?
sinergyinaction
Any help would be appreciated
Thanks
sinergyinaction
 Quote

ironmax

Anonymous
Its exactly what it means. You need to allow read/write access to the /logs directory. Re-read the install manual and it says this
Text Formatted Code


chmod -R 775 logs
chmod -R 775 data
chmod -R 775 backups
chmod -R 775 public_html/backend
chmod -R 775 public_html/images/articles
chmod -R 775 public_html/images/topics
chmod -R 775 public_html/images/userphotos
 
Michael
 Quote

sinergyinaction

Anonymous
angry
I think I fixed the previos privileges problem, but now this new problerm arises
any ideas?


An error has occurred:
2 - move_uploaded_file(/public_html/filemgmt_data/files/tmp/DHW0yh8ZUJ.pdf) [function.move-uploaded-file]: failed to open stream: No such file or directory @ /home/moviments/permacultura-es/public_html/filemgmt/submit.php line 123

all thebest
sinergyinaction
 Quote

sinergyinaction

Anonymous
I mean the problem occurs when I try to upload a new file
Cheers

sia
 Quote

ironmax

Anonymous
Quote by: sinergyinaction

I think I fixed the previos privileges problem, but now this new problerm arises
any ideas?


An error has occurred:
2 - move_uploaded_file(/public_html/filemgmt_data/files/tmp/DHW0yh8ZUJ.pdf) [function.move-uploaded-file]: failed to open stream: No such file or directory @ /home/moviments/permacultura-es/public_html/filemgmt/submit.php line 123

all thebest
sinergyinaction



Sounds like a permission problem again. Verify you have chmod -R 775 the directory where you store your files for downloads.

Michael
 Quote

sinergyinaction

Anonymous
Hi Michael
now all of the directories related with this plugin have 777 o 775permission
but I still get errors like these when try to upload a file

An error has occurred:
2 - move_uploaded_file(/home/moviments/permacultura-es/public_html/filemgmt_data/files/La Esencia de la PC Español.pdf) [function.move-uploaded-file]: failed to open stream: Permission denied @ /home/moviments/permacultura-es/public_html/admin/plugins/filemgmt/index.php line 776

or

An error has occurred:
2 - move_uploaded_file(/home/moviments/permacultura-es/public_html/filemgmt_data/files/tmp/VsxAn1O9JH) [function.move-uploaded-file]: failed to open stream: Permission denied @ /home/moviments/permacultura-es/public_html/filemgmt/submit.php line 93

cheers
 Quote

All times are EST. The time is now 02:18 am.

  • 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