Welcome to Geeklog, Anonymous Friday, November 29 2024 @ 04:37 am EST
Geeklog Forums
Having problems with log-in and getting error
Anonymous
Anonymous
Hi , on my website , I cant login on the admin usernames (the standard ones) , and even if I could , I have no clue were to change any of these things (the sections by example) , and I also seem to get a error on top of the page (above the geeklog link on this site) wich is :
Warning: Cannot add header information - headers already sent by (output started at c:\program files\Apache Group\Apache\htdocs\geek\config.php:558) in c:\program files\Apache Group\Apache\htdocs\geek\system\lib-sessions.php on line 133
Warning: Cannot add header information - headers already sent by (output started at c:\my\path\to\geek\geek\config.php:558) in c:\my\path\to\geek\geek\system\lib-sessions.php on line 145
Can someone help me with this ? thanks alot
5
14
Quote
atkind
Anonymous
I'm having the same exact problems. The system is:
Windows 2000 Pro
Apache 1.3.22
PHP 4.1.1
MySql Ver 11.15 Distrib 3.23.47
And here's config.php:
==================
<?php
/* Reminder: always indent with 4 spaces (no tabs). */
// +---------------------------------------------------------------------------+
// | Geeklog 1.3 |
// +---------------------------------------------------------------------------+
// | config.php |
// | Geeklog configuration file. |
// | |
// +---------------------------------------------------------------------------+
// | Copyright (C) 2001 by the following authors: |
// | |
// | Authors: Tony Bibbs - tony@tonybibbs.com |
// +---------------------------------------------------------------------------+
// | |
// | This program is free software; you can redistribute it and/or |
// | modify it under the terms of the GNU General Public License |
// | as published by the Free Software Foundation; either version 2 |
// | of the License, or (at your option) any later version. |
// | |
// | This program is distributed in the hope that it will be useful, |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
// | GNU General Public License for more details. |
// | |
// | You should have received a copy of the GNU General Public License |
// | along with this program; if not, write to the Free Software Foundation, |
// | Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
// | |
// +---------------------------------------------------------------------------+
// | See the INSTALL.HTML file for more information on configuration |
// | information |
// +---------------------------------------------------------------------------+
// +---------------------------------------------------------------------------+
// | SERVER SETTINGS |
// | |
// | All paths must have a trailing slash ('/'). The 'path' value signifies |
// | where the config.php (this file) resides |
// +---------------------------------------------------------------------------+
$_CONF['path'] = 'c:\geeklog-1.3.1/';
$_CONF['path_system'] = 'c:\geeklog-1.3.1/system/';
$_CONF['path_html'] = 'c:\geeklog-1.3.1/public_html/';
$_CONF['path_log'] = 'c:\geeklog-1.3.1/logs/';
$_CONF['path_language'] = 'c:\geeklog-1.3.1/language/';
$_CONF['rdf_file'] = 'c:\geeklog-1.3.1/public_html/backend/geeklog.rdf';
// +---------------------------------------------------------------------------+
// | SITE SETTINGS |
// | |
// | These settings help define your Geeklog site. |
// +---------------------------------------------------------------------------+
$_CONF['site_name'] = "Atkind Zone";
$_CONF['site_slogan'] = "U.S. Computer Science Classes";
$_CONF['site_mail'] = 'ratkind@packer.edu';
$_CONF['site_url'] = 'http://lw-ratkind';
$_CONF['theme'] = 'Digital_Monochrome';
$_CONF['layout_url'] = 'http://lw-ratkind/layout/Digital_Monochrome';
$_CONF['path_themes'] = 'c:\geeklog-1.3.1/public_html/layout/';
$_CONF['path_layout'] = 'c:\geeklog-1.3.1/public_html/layout/Digital_Monochrome/';
$_CONF['allow_user_themes'] = '1';
// +---------------------------------------------------------------------------+
// | LOCALE SETTINGS |
// +---------------------------------------------------------------------------+
$_CONF['language'] = 'english';
$_CONF['locale'] = 'en-us';
$_CONF['date'] = '%A, %B %d %Y @ %I:%M %p %Z';
$_CONF['daytime'] = '%m/%d %I:%M%p';
$_CONF['shortdate'] = '%x';
// +---------------------------------------------------------------------------+
// | SESSION SETTINGS |
// | |
// | cookie_ip will store md5(remoteip + randomnum) as the session ID in the |
// | cookie. This is more secure but will more than likely require dialed up |
// | users to login each and every time. If ipbasedsessid is turned off |
// | (which it is by default) it will just store a random number as the |
// | session ID in the cookie. |
// | |
// | default_perm_cookie_timeout is how long you want the permanent cookie |
// | to persist for. This can be overridden by the user in their user prefs |
// | if they want. If you don't want to allow permanent cookies set the |
// | value to an empty string ''. |
// | |
// | session_cookie_time is how long you want the session cookie to persist |
// | for. Only really useful in scenarios where you don't want to allow |
// | permanent cookies |
// +---------------------------------------------------------------------------+
$_CONF['cookie_ip'] = '0';
$_CONF['default_perm_cookie_timeout'] = '604800';
$_CONF['session_cookie_timeout'] = '7200';
$_CONF['cookie_session'] = 'atkind_session';
$_CONF['cookie_name'] = 'atkind';
$_CONF['cookie_path'] = '/';
// +---------------------------------------------------------------------------+
// | PLUGIN SETTINGS |
// | |
// | You can have only one of the following two lines uncommented. The |
// | first one is for *nix users and assumes you are using tar. |
// | The second entry is for windows users and this is configured to work with |
// | FilZip. You can get FilZip from http://www.filzip.com. Make sure |
// | you add the FilZip directory to your path OR fully qualify the path |
// | here. Regardless of OS, make sure you leave a trailing space at the end. |
// | |
// | If you know what you are doing you can also modify these lines to fit |
// | your servers needs (such as if you have a different compression package) |
// | *nix user be sure that the tar binary is in the /bin directory...if not |
// | change change accordingly. |
// | |
// +---------------------------------------------------------------------------+
$_CONF['unzipcommand'] = 'filzip.exe -e -r c:\geeklog-1.3.1/plugins/';
// +---------------------------------------------------------------------------+
// | Command needed to remove a directory recursively and quietly |
// | First one is typical for *nix boxes and the second is for |
// | windows machines. |
// +---------------------------------------------------------------------------+
$_CONF['rmcommand'] = 'rmdir /S /Q';
// +---------------------------------------------------------------------------+
// | This is really redundant but I am including this as a reminder that those |
// | people writing Geeklog Plug-ins that are OS dependent should check either |
// | the $_CONF variable below or PHP_OS directly. If you are writing an |
// | addon that is OS specific your addon should check the system is using the |
// | right OS. If not, be sure to show a friendly message that says their GL |
// | distro isn't running the right OS. Do not modify this value |
// +---------------------------------------------------------------------------+
$_CONF['ostype'] = PHP_OS;
// +---------------------------------------------------------------------------+
// | MISCELLANEOUS SETTINGS |
// | |
// | These are other various Geeklog settings. The defaults should work OK |
// | for most situations. |
// +---------------------------------------------------------------------------+
// Submission Settings
$_CONF['loginrequired'] = '1';
$_CONF['postmode'] = 'plaintext'; // can be plaintext or html
$_CONF['speedlimit'] = '300'; // in seconds
// Topic Settings
// Topics can be assigned a sort number so that you can control what order they
// appear in the 'Sections' block on the homepage. If you prefer you can also
// have this sort alphabetically by changing the value to 'alpha' (default is
// by 'sortnum'
$_CONF['sortmethod'] = 'sortnum';
// Show the number of stories in a topic in Section Block
$_CONF['showstorycount'] = '1';
// Show the number of story submissions for a topic in Section Block
$_CONF['showsubmissioncount'] = '1';
// Show any new articles, comments and links
$_CONF['whatsnewbox'] = '1';
// Show Who's online block
$_CONF['whosonline'] = '1';
// How long an anonymous (guest) user session is good for
$_CONF['whosonline_threshold'] = '300'; // in seconds
// Let users get stories emailed to them
// Requires cron and the use of php as a shell script
$_CONF['emailstories'] = '0';
// Following times are in seconds
$_CONF['newstoriesinterval'] = '604800';
$_CONF['newcommentsinterval'] = '1209600';
$_CONF['newlinksinterval'] = '2678400';
// Calendar Settings
//$_CONF['enablecalendar'] = '1'; // NOT IMPLEMENTED YET
$_CONF['personalcalendars'] = '0';
$_CONF['showupcomingevents'] = '1';
$_CONF['event_types'] = 'Anniversary,Appointment,Birthday,Business,Education,Holiday,Meeting,Miscellaneous,Personal,Phone Call,Special Occasion,Travel,Vacation';
// Story Settings
$_CONF['pagetitle'] = '';
$_CONF['backend'] = '0';
$_CONF['limitnews'] = '10';
$_CONF['minnews'] = '10'; // minimum number of stories per page
$_CONF['olderstuff'] = '1';
$_CONF['contributedbyline'] = '1'; // If 1, show contributed by line
$_CONF['article_image_align'] = 'right'; // Options are left or right.
// Comment Settings
$_CONF['commentspeedlimit'] = '45';
$_CONF['commentsloginrequired'] = 'on';
$_CONF['comment_limit'] = '100'; // Default Number of Comments under Story
$_CONF['comment_mode'] = 'nested'; // Default Comment Mode; from 'threaded','nestde','nocomments',and 'flat'
// Poll Settings
$_CONF['maxanswers'] = '10';
$_CONF['pollcookietime'] = '86400';
$_CONF['polladdresstime'] = '604800';
// Parameters for checking words and HTML tags
$_CONF['allowablehtml'] = '<p>,<b>,<i>,<a>,<em>,<br>,<tt>,<hr>,<li>,<ol>,<div>,<ul>';
$_CONF['parsemode'] = '';
$_CONF['censormode'] = '1';
$_CONF['censorreplace'] = "*censored*";
$_CONF['censorlist'] = array("*censored*","*censored*","*censored*","*censored*","*censored*","*censored*","*censored*","*censored*","*censored*","*censored*","*censored*","*censored*","*censored*","*censored*"
// Define a few useful things for GL
define('LB',"\n"
define('VERSION', '1.3.1');
//$_CONF['default_state_cde'] = 'IA'; // NOT IMPLEMENTED
$_STATES = array(
'AL'=>'Alabama',
'AK'=>'Alaska',
'AZ'=>'Arizona',
'AR'=>'Arkansas',
'CA'=>'California',
'CO'=>'Colorado',
'CT'=>'Connecticut',
'DE'=>'Delaware',
'DC'=>'District of Columbia',
'FL'=>'Florida',
'GA'=>'Georgia',
'HI'=>'Hawaii',
'ID'=>'Idaho',
'IL'=>'Illinois',
'IN'=>'Indiana',
'IA'=>'Iowa',
'KS'=>'Kansas',
'KY'=>'Kentucky',
'LA'=>'Louisiana',
'ME'=>'Maine',
'MD'=>'Maryland',
'MA'=>'Massachusetts',
'MI'=>'Michigan',
'MN'=>'Minnesota',
'MS'=>'Mississippi',
'MO'=>'Missouri',
'MT'=>'Montana',
'NE'=>'Nebraska',
'NV'=>'Nevada',
'NH'=>'New Hampshire',
'NJ'=>'New Jersy',
'NM'=>'New Mexico',
'NY'=>'New York',
'NC'=>'North Carolina',
'ND'=>'North Dakota',
'OH'=>'Ohio',
'OK'=>'Oklahoma',
'OR'=>'Oregon',
'PA'=>'Pennsylvania',
'RI'=>'Rhode Island',
'SC'=>'South Carolina',
'SD'=>'South Dakota',
'TN'=>'Tennessee',
'TX'=>'Texas',
'UT'=>'Utah',
'VT'=>'Vermont',
'VA'=>'Virginia',
'WA'=>'Washington',
'WV'=>'West Viginia',
'WI'=>'Wisconsin',
'WY'=>'Wyoming'
);
?>
13
11
Quote
Anonymous
Anonymous
try changing the path slashes from \ to / ie c:/
20
18
Quote
Anonymous
Anonymous
I can't login at all. When I go to my main index.php it says:
Warning: Cannot add header information - headers already sent by (output started at /home/mrush/config.php:275) in /home/mrush/system/lib-sessions.php on line 150
Warning: Cannot add header information - headers already sent by (output started at /home/mrush/config.php:275) in /home/mrush/system/lib-sessions.php on line 162
Warning: Cannot add header information - headers already sent by (output started at /home/mrush/config.php:275) in /home/mrush/system/lib-sessions.php on line 263
Warning: Cannot add header information - headers already sent by (output started at /home/mrush/config.php:275) in /home/mrush/public_html/users.php on line 398
And when I try to login it says:
Warning: Cannot add header information - headers already sent by (output started at /home/mrush/config.php:275) in /home/mrush/system/lib-sessions.php on line 150
Warning: Cannot add header information - headers already sent by (output started at /home/mrush/config.php:275) in /home/mrush/system/lib-sessions.php on line 162
Warning: Cannot add header information - headers already sent by (output started at /home/mrush/config.php:275) in /home/mrush/system/lib-sessions.php on line 263
Warning: Cannot add header information - headers already sent by (output started at /home/mrush/config.php:275) in /home/mrush/public_html/users.php on line 398
Warning: Cannot add header information - headers already sent by (output started at /home/mrush/config.php:275) in /home/mrush/public_html/users.php on line 399
Warning: Cannot add header information - headers already sent by (output started at /home/mrush/config.php:275) in /home/mrush/public_html/users.php on line 419
Anyone know what could be causing this?
10
20
Quote
All times are EST. The time is now 04:37 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