Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.5
Author Message
shilohshepherd
Client



Joined: Oct 26, 2004
Posts: 15

PostPosted: Thu Nov 25, 2004 6:59 pm Reply with quote

Hello,

I made a number change in the config.php file. Now I cannot logout. Confused

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
 
View user's profile Send private message
TheosEleos
Life Cycles Becoming CPU Cycles



Joined: Sep 18, 2003
Posts: 960
Location: Missouri

PostPosted: Thu Nov 25, 2004 7:13 pm Reply with quote

I don't know what you mean by number change.

_________________
http://jamesdibben.com 
View user's profile Send private message Visit poster's website AIM Address ICQ Number
sixonetonoffun
Spouse Contemplates Divorce



Joined: Jan 02, 2003
Posts: 2496

PostPosted: Thu Nov 25, 2004 7:28 pm Reply with quote

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.
[ Only registered users can see links on this board! Get registered or login! ]

_________________
[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 
View user's profile Send private message
chatserv
Member Emeritus



Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico

PostPosted: Thu Nov 25, 2004 9:11 pm Reply with quote

Might also be a good idea to check all files mentioned in the error messages for blank spaces after the ending ?>
 
View user's profile Send private message Visit poster's website
shilohshepherd







PostPosted: Thu Nov 25, 2004 9:12 pm Reply with quote

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 [ Only registered users can see links on this board! Get registered or login! ] */
/* */
/* 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







PostPosted: Thu Nov 25, 2004 9:33 pm Reply with quote

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







PostPosted: Thu Nov 25, 2004 10:20 pm Reply with quote

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

PostPosted: Sun Feb 06, 2005 3:19 pm Reply with quote

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.
 
View user's profile Send private message Visit poster's website ICQ Number
sixonetonoffun







PostPosted: Sun Feb 06, 2005 3:40 pm Reply with quote

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







PostPosted: Sun Feb 06, 2005 5:04 pm Reply with quote

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







PostPosted: Sun Feb 06, 2005 8:28 pm Reply with quote

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







PostPosted: Sun Feb 06, 2005 8:30 pm Reply with quote

Seems to be connecting now so I assume you got it running ok?
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.5

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©