Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 12:47 am EST

Geeklog Forums

error when first page loads up


Tom

Anonymous
This error appears right above Today's Feature article:

Warning: fopen(C:/Inetpub/DatingSitesReviews/logs/error.log): failed to open stream: Permission denied in C:InetpubDatingSitesReviewspublic_htmllib-common.php on line 1567


There is a logs directory and I added write permissons on the directory in iis and still no go. There is a error.log file that contains a Dummy record. No othere errors appear and the rest of the site seems to be working fine.

What am I missing??

Tom
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The error.log (and access.log) file also needs to be writable.

bye, Dirk
 Quote

Tom

Anonymous
Ok here is a dumb question:

How do I add permissions for the IIS user to access the logs directory (plus other dirs I notice once I ran the check.php file)?

I tried it through IIS by making the logs directory a virtual directory (since it does not fall in the scope of my current website under public_html dir) and it did not work. My OS is WIN XP Proffessional and I can't seem to figure out how to add permmisions to that directory for the IIS User.

Thanks for any Help

Tom
 Quote

Tom

Anonymous
SOlved my problem. I had Simple File Sharing checked on. That is why I could not see the security tab for folders.
 Quote

Status: offline

ismael

Forum User
Newbie
Registered: 06/27/03
Posts: 7
Quote by Tom: SOlved my problem. I had Simple File Sharing checked on. That is why I could not see the security tab for folders.


I have the same problem as you had. But i am still trying to solve it. I am from spain and i don`t aunderstand your solution. Where i can check on the file sharing?
 Quote

Status: offline

r_f_o_t

Forum User
Full Member
Registered: 07/30/03
Posts: 241
Location:Illinois
Quote by ismael:Where i can check on the file sharing?


IF you use XP, try here

It was the first link doing a google search for "windows Simple File Sharing".

HTH,

Chuck
Too many hands on my time.
 Quote

Status: offline

ismael

Forum User
Newbie
Registered: 06/27/03
Posts: 7
Ok r_f_o_t, thank you.

I have changed the write permissons but i still take this error message:

Warning: Cannot modify header information - headers already sent by (output started at c:inetpubwwwrootfernando-alonsodatanoticiaslanguagespanish.php:4366) in c:inetpubwwwrootfernando-alonsodatanoticiassystemlib-sessions.php on line 277

Warning: Cannot modify header information - headers already sent by (output started at c:inetpubwwwrootfernando-alonsodatanoticiaslanguagespanish.php:4366) in C:Inetpubwwwrootfernando-alonsohtmlusers.php on line 669

Warning: Cannot modify header information - headers already sent by (output started at c:inetpubwwwrootfernando-alonsodatanoticiaslanguagespanish.php:4366) in C:Inetpubwwwrootfernando-alonsohtmlusers.php on line 670

Warning: Cannot modify header information - headers already sent by (output started at c:inetpubwwwrootfernando-alonsodatanoticiaslanguagespanish.php:4366) in C:Inetpubwwwrootfernando-alonsohtmlusers.php on line 694
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by ismael: I have changed the write permissons but i still take this error message:

Warning: Cannot modify header information - headers already sent by (output started at ...

This has nothing to do with write permissions. Instead, it looks like a whitespace problem, although the line numbers are a bit high (the Spanish language file has only around 1000 lines, not 4000).

Did you edit the Spanish language file? If so, your editor probably added some blanks and/or empty lines at the end of the file. Try to remove them or revert to the original spanish.php file.

bye, Dirk
 Quote

Status: offline

ismael

Forum User
Newbie
Registered: 06/27/03
Posts: 7
Thank you Dirk, i have removed empty lines at the end of the file and now all works fine.
 Quote

All times are EST. The time is now 12:47 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