Welcome to Geeklog, Anonymous Thursday, April 17 2025 @ 01:57 pm EDT

Geeklog Forums

Can\'t log out error on line 701 and 703


Curve

Anonymous
I edited the source a little to try to make a better profile section. I am however getting this error now when trying to log out of the site: Warning: fopen(/home2/clanini/geeklog-1.3.8/logs/access.log): failed to open stream: Permission denied in /home2/clanini/public_html/lib-common.php on line 1614 Warning: fputs(): supplied argument is not a valid stream resource in /home2/clanini/public_html/lib-common.php on line 1619 Warning: Cannot modify header information - headers already sent by (output started at /home2/clanini/public_html/lib-common.php:1614) in /home2/clanini/public_html/users.php on line 701 Warning: Cannot modify header information - headers already sent by (output started at /home2/clanini/public_html/lib-common.php:1614) in /home2/clanini/public_html/users.php on line 703 Here\'s what the code looks like on those lines: } setcookie ($_CONF[\'cookie_session\'], \'\', time() - 10000, $_CONF[\'cookie_path\'], $_CONF[\'cookiedomain\'], $_CONF[\'cookiesecure\']); setcookie ($_CONF[\'cookie_name\'], \'\', time() - 10000, $_CONF[\'cookie_path\'], $_CONF[\'cookiedomain\'], $_CONF[\'cookiesecure\']); $display = COM_refresh($_CONF[\'site_url\'] . \'/index.php?msg=8\'); break; Any help on what I may be over looking would be greatly appreciated because I\'d hate to undo all the work I just did. Thanks Smile
 Quote

Curve

Anonymous
If you wish to see the page it is located here temporarily: http://66.98.130.81/~clanini/index.php
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by Curve:Warning: fopen(/home2/clanini/geeklog-1.3.8/logs/access.log): failed to open stream: Permission denied in /home2/clanini/public_html/lib-common.php on line 1614
You haven\'t set the permissions on this file properly. Please refer to the installation instructions.
Quote by Curve:Warning: Cannot modify header information - headers already sent by (output started at /home2/clanini/public_html/lib-common.php:1614) in /home2/clanini/public_html/users.php on line 701
Note that it says \"output started at lib-common.php:1614\", so the problem is there, not in users.php.
Quote by Curve: I edited the source a little to try to make a better profile section.
Geeklog 1.3.8 has new functions in the Plugin API that allow you to extend the user profile without having to change the core code. Why not use those? bye, Dirk
 Quote

Curve

Anonymous
Not even chmodding lib-common.php to 777 did the trick. Changing the permissions of the lib-common.php isn\'t in the installation documentation either. Any other ideas? As you can probably tell, I\'m new to the whole thing and was unaware of the API even though it was in plain view on new additions. I will give that a look over. Thanks for all your help, Jon Mossie
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by Curve: Not even chmodding lib-common.php to 777 did the trick.
No wonder - you\'re supposed to chmod access.log (and maybe the logs directory, if you haven\'t done that already). If you still have your install directory, run the check.php script that\'s in there, it will check all your permissions and tell you which files and directories need to be fixed. bye, Dirk
 Quote

All times are EDT. The time is now 01:57 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