Author |
Message |
shilohshepherd
Client

Joined: Oct 26, 2004
Posts: 15
|
Posted:
Thu Nov 25, 2004 6:59 pm |
|
Hello,
I made a number change in the config.php file. Now I cannot logout.
It just affects my account.
The error code is:
Warning: Cannot modify header information - headers already sent by (output started at /home/rednatio/public_html/config.php:130) in /home/rednatio/public_html/modules/Your_Account/index.php on line 701
Warning: Cannot modify header information - headers already sent by (output started at /home/rednatio/public_html/config.php:130) in /home/rednatio/public_html/includes/sessions.php on line 224
Warning: Cannot modify header information - headers already sent by (output started at /home/rednatio/public_html/config.php:130) in /home/rednatio/public_html/includes/sessions.php on line 225
Warning: Cannot modify header information - headers already sent by (output started at /home/rednatio/public_html/config.php:130) in /home/rednatio/public_html/includes/page_header.php on line 494 Warning: Cannot modify header information - headers already sent by (output started at /home/rednatio/public_html/config.php:130) in /home/rednatio/public_html/includes/page_header.php on line 496 Warning: Cannot modify header information - headers already sent by (output started at /home/rednatio/public_html/config.php:130) in /home/rednatio/public_html/includes/page_header.php on line 497
How do I fix this?
Thanks.
Tony Matzke |
|
|
|
 |
TheosEleos
Life Cycles Becoming CPU Cycles

Joined: Sep 18, 2003
Posts: 960
Location: Missouri
|
Posted:
Thu Nov 25, 2004 7:13 pm |
|
I don't know what you mean by number change. |
_________________ Only registered users can see links on this board! Get registered or login! |
|
 |
 |
sixonetonoffun
Spouse Contemplates Divorce

Joined: Jan 02, 2003
Posts: 2496
|
Posted:
Thu Nov 25, 2004 7:28 pm |
|
Yes if you made some changes to config.php it might be easier for us to understand them if you posted the changes. Otherwise usually the headeroutput error can be resolved with some minor changes to htaccess or php.ini depending on the access you have to the server.
http://www.ravenphpscripts.com/faq-2-Nuke+.html-+Troubleshooting#17 |
_________________ [b][size=5]openSUSE 11.4-x86 | Linux 2.6.37.1-1.2desktop i686 | KDE: 4.6.41>=4.7 | XFCE 4.8 | AMD Athlon(tm) XP 3000+ | MSI K7N2 Delta-L | 3GB Black Diamond DDR
| GeForce 6200@433Mhz 512MB | Xorg 1.9.3 | NVIDIA 270.30[/size:2b8 |
|
|
 |
chatserv
Member Emeritus

Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico
|
Posted:
Thu Nov 25, 2004 9:11 pm |
|
Might also be a good idea to check all files mentioned in the error messages for blank spaces after the ending ?> |
|
|
|
 |
shilohshepherd

|
Posted:
Thu Nov 25, 2004 9:12 pm |
|
I changed the $gfx_chk = 0 to 7, back to 0.
-------------------------------------------------------------------------
#############################################################
# Database & System Config
#
# dbhost: SQL Database Hostname
# dbuname: SQL Username
# dbpass: SQL Password
# dbname: SQL Database Name
# $prefix: Your Database table's prefix
# $user_prefix: Your Users' Database table's prefix (To share it)
# $dbtype: Your Database Server type. Supported servers are:
# MySQL, mysql4, postgres, mssql, oracle, msaccess,
# db2 and mssql-odbc
# Be sure to write it exactly as above, case SeNsItIvE!
# $sitekey: Security Key. CHANGE it to whatever you want, as long
# as you want. Just don't use quotes.
# $gfx_chk: Set the graphic security code on every login screen,
# You need to have GD extension installed:
# 0: No check
# 1: Administrators login only
# 2: Users login only
# 3: New users registration only
# 4: Both, users login and new users registration only
# 5: Administrators and users login only
# 6: Administrators and new users registration only
# 7: Everywhere on all login options (Admins and Users)
# NOTE: If you aren't sure set this value to 0
# $subscription_url : If you manage subscriptions on your site, you
# must write here the url of the subscription
# information/renewal page. This will send by
# email if set.
######################################################################
$dbhost = "localhost";
$dbuname = "rednatio_rednati";
$dbpass = "xxxxxx";
$dbname = "rednatio_rednation";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
$sitekey = "SdFk*fa!!*28367-dm56w69.3a2fDS+e9";
$gfx_chk = 0;
$subscription_url = "";
/*********************************************************************/
/* You finished to configure the Database. Now you can change all */
/* you want in the Administration Section. To enter just launch */
/* you web browser pointing to http://yourdomain.com/admin.php */
/* */
/* Remeber to go to Settings section where you can configure your */
/* new site. In that menu you can change all you need to change. */
/* */
/* Congratulations! now you have an automated news portal! */
/* Thanks for choose PHP-Nuke: The Future of the Web */
/******************************************************************** |
|
|
|
 |
sixonetonoffun

|
Posted:
Thu Nov 25, 2004 9:33 pm |
|
IF that was the only change then yeah I'd check out chatservs suggestion with a good text editor. EditPad Lite or Crimson something like that. |
|
|
|
 |
shilohshepherd

|
Posted:
Thu Nov 25, 2004 10:20 pm |
|
Hi Chatserv,
It was extra lines in the config file. Thanks for your help.
With respect,
Tony
chatserv wrote: | Might also be a good idea to check all files mentioned in the error messages for blank spaces after the ending ?> |
|
|
|
|
 |
Donovan
Client

Joined: Oct 07, 2003
Posts: 735
Location: Ohio
|
Posted:
Sun Feb 06, 2005 3:19 pm |
|
Having the same issue here. I am installing into a subdomain to get all my mods installed and working and then move to the main site.
I get the
Quote: | There seems to be a problem with the MySQL server, sorry for the inconvenience.
We should be back shortly. |
|
|
|
 |
 |
sixonetonoffun

|
Posted:
Sun Feb 06, 2005 3:40 pm |
|
Ok again don't use the CPanel or whatever online filemanager to edit files.
Download the file edit it in a decent program then upload it again.
Make sure there are no line spaces after the ending ?> before saving. |
|
|
|
 |
Donovan

|
Posted:
Sun Feb 06, 2005 5:04 pm |
|
Doesn't seem to help. Still get the same message.
Would analyzer help in this example? I've heard that analyze.php is way outdated.
Here is what it says:
Could not connect to your MySQL Database, visit Nuke Cops for support..
MySQL Error: Access denied for user: 'thirdadm_admin@localhost' (Using password: YES)
hmmm.. I'm sure I set my config up correctly. |
|
|
|
 |
sixonetonoffun

|
Posted:
Sun Feb 06, 2005 8:28 pm |
|
For this problem analyzer is fine. Your problem seems to be with the config.php
It appears you have one on the database username.
thirdadm_admin
If you have permission to create a new user you might try creating a new user and giving it full permissions on this database or creating a new test database to work with.
But this is most certainly a simple connection issue. If you do create a new mysql user don't use the word admin as part of the name because some times that is forbidden at the server level but won't show any error when you create the name.
I won't be online long but if I can help I will. |
|
|
|
 |
sixonetonoffun

|
Posted:
Sun Feb 06, 2005 8:30 pm |
|
Seems to be connecting now so I assume you got it running ok? |
|
|
|
 |
|