Page 1 of 1
[SOLVED] Getting Warning Errors on Profile page.

Posted:
Tue May 22, 2007 4:01 pm
Author: .QUACK.Major.Pain
Your phpBB Version: 2.0.
phpBB Type: Integramod 141
MODs: No
Your knowledge: Beginner
Board URL: http://www.aaquacks.com PHP Version: MySQL Version: What was done before the problem appeared? What was done to try to solve the problem? De.scription and MessageGetting the following errors on profile page. Started after removing captcha, but was getting CT error. When trying to debug the error, I was uploading the file and got a socket error on my FTP program and had too shut it down and restart it. I then re-uploaded the file.
I am not sure at what point or what has caused the errors. I have put the captcha back but still getting the errors. The captcha also frigged. Only shows small box with red x.
Warning: Cannot modify header information - headers already sent by (output started at /home/k1jon/public_html/forum/profile.php:1) in /home/k1jon/public_html/forum/includes/page_header.php on line 1171
Warning: Cannot modify header information - headers already sent by (output started at /home/k1jon/public_html/forum/profile.php:1) in /home/k1jon/public_html/forum/includes/page_header.php on line 1173
Warning: Cannot modify header information - headers already sent by (output started at /home/k1jon/public_html/forum/profile.php:1) in /home/k1jon/public_html/forum/includes/page_header.php on line 1174
Re: Getting Warning Errors on Profile page.

Posted:
Tue May 22, 2007 4:01 pm
Author: .QUACK.Major.Pain
Also, I checked and I get the error on all themes.
Re: Getting Warning Errors on Profile page.

Posted:
Tue May 22, 2007 4:17 pm
Author: Helter
check page_header.php for any text or space after the php close tag ?>
Re: Getting Warning Errors on Profile page.

Posted:
Tue May 22, 2007 5:32 pm
Author: .QUACK.Major.Pain
page_header in /includes?
I check it and was ok. I checked with that file on my pc and the size was different.
I uploaded it to replace it and didn't fix the problem.
Diff file size may have been changed when I installed game mod - i'll worry about that later.
Re: Getting Warning Errors on Profile page.

Posted:
Tue May 22, 2007 7:59 pm
Author: Helter
upload an unedited page_header and add the game mod edits very carefully. Youll find that is where the error is coming from. Do not use the 140 premod files as they will be different
Re: Getting Warning Errors on Profile page.

Posted:
Wed May 23, 2007 4:21 pm
Author: .QUACK.Major.Pain
I uploaded the file and redid the activity mod. Still getting errors on profile page and privite meesages screens.
The only other mod I had installed was the googlebot detector, so I went to check it, and when I checked the post for googlebot detector, the link to download is not good anymore. So I'm unable to double check that. I checked in ACP at the gogglebot detector, and it's not working either.
Getting this error:
General Error
Could not obtain detect information
DEBUG MODE
SQL Error : 1146 Table 'k1jon_forum.GOOGLE_BOT_DETECTOR_TABLE' doesn't exist
SELECT * FROM GOOGLE_BOT_DETECTOR_TABLE ORDER BY detect_time DESC
Line : 41
File : admin_google_bot_detector.php
I checked phpmyadmin, And the table exists in that database. (phpbb_google_bot_detector)
Not sure, but could these warnings also be linked to my captcha pics not showing anymore?
That's another problem that started exactly at the same time. Nobody is able to register at the moment because of this.

Posted:
Wed May 23, 2007 8:10 pm
Author: nGAGE
I went to your site... (surprised that you still got that tune running <img> )... tried to register and already when clicking register I get errors... all in that same area of the page_header.php!
I don't think the fault is there though!
The first error was reportet at line 205 of the
includes/functions.php- Code: Select all
setcookie($base_name . '_lastvisit', intval($board_config['guest_lastvisit']), $current_time + 31536000, $board_config['cookie_path'], $board_config['cookie_domain'], $board_config['cookie_secure']);
Refering to your cookies?
Perhaps I was guessing correct in the other topic after all? Try (make a database backup to make sure you can reset your cookie-settings should it cause problems) to set the cookies_domain and the cookies_path to the same as your server_domain and the .script_path
I think that might cure it. Don't know why this would suddenly show up though. I know you're right that about never having to change them before... but don't forget that any other edits like the ones we've made for CrackerTracker may have had effect on it. But i'm no expert.
Re: Getting Warning Errors on Profile page.

Posted:
Wed May 23, 2007 8:38 pm
Author: .QUACK.Major.Pain
Haven't been able to use the database backup - always says it fails and from what I have been reading, others have the same problem.
I posted about it but never got a solution to that problem.
I don't know enough to start screwing around with stuff and digging myself deeper.
I just removed the captcha for now because nobody can register.

Posted:
Wed May 23, 2007 11:22 pm
Author: nGAGE
you can make backups with phpMyAdmin, unless you don't have access to that. should you need help on that, i can guide you through it, but if you don't have the access to it, never mind... don't want to cause a mess <img>
Re: Getting Warning Errors on Profile page.

Posted:
Thu May 24, 2007 4:45 am
Author: .QUACK.Major.Pain
I have access
Re: Getting Warning Errors on Profile page.

Posted:
Thu May 24, 2007 5:51 am
Author: found it
Also a good program to make a database backup is mysqldumper which you can find [url=http]HERE[/url]
very easy to install and very secure....
I use it on all my sites.....and it it comes under the GNU-GPL License....


Posted:
Thu May 24, 2007 11:44 am
Author: nGAGE
Ok then... just in case:
Here are three screenshots with some notes I hope you will understand! If not, please ask about what you don't understand before doing anything.
[url=http]Screenshot 1[/url]
[url=http]Screenshot 2[/url]
[url=http]Screebshot 3[/url]
The whole idea is:
Look up the details (but you should already know them) of:
server_name
server_path
and use the same details in:
cookie_domain
cookie_path
so:
server_name =[equals]=> cookie_domain
server_path =[equals]=> cookie_path
NOTE: Jot down the original values of cookie_domain & cookie_path.
Should this not solve the problem or cause issues, you can use phpMyAdmin again to restore them the same way you've now edited them.
Hope it helps!
Pls do ask when you're not sure about something!
Re: Getting Warning Errors on Profile page.

Posted:
Thu May 24, 2007 2:02 pm
Author: .QUACK.Major.Pain
What editor do you use to find the line #'s?
Don't think you actually count 1 line at a time. lol

Posted:
Thu May 24, 2007 2:16 pm
Author: nGAGE
Editor? Those screenshots are taken from phpMyAdmin. Don't need no editor for that, or what are your refering to?
Re: Getting Warning Errors on Profile page.

Posted:
Thu May 24, 2007 3:14 pm
Author: .QUACK.Major.Pain
Error on line 205 - did you count the lines until you got to 205?
Or do you use an editor other than notepad or wordpad to search for line 205.

Posted:
Thu May 24, 2007 5:12 pm
Author: nGAGE
hehe... yeah... sure I count <img>
No... jokin... I use an old program (notepad replacement) and adjusted the colors a bit.
Program is called Crimson Editor
http://www.crimsoneditor.com/My Text-Colors file [url=http]
here[/url]
If you wanna try it, just copy the file in the .rar into the sub folder "schemes" after installing Crimson.
There are more advanced programs I guess... but gotten used to it.
Re: Getting Warning Errors on Profile page.

Posted:
Thu May 24, 2007 5:52 pm
Author: .QUACK.Major.Pain
I thought there must be something available to either show lines by number or at least lookup by line number. Kind of a bitch if the error is on line 1513. Loose count or off by 1 or 2 and your trying to fix the wrong thing. lol

Posted:
Thu May 24, 2007 7:29 pm
Author: nGAGE
Just play arround with it a little, or google for other tools... there's is really tons of notepad replacements out there <img>
Re: Getting Warning Errors on Profile page.

Posted:
Fri May 25, 2007 2:58 pm
Author: .QUACK.Major.Pain
Got it fixed - couldn't be bothered screwing around with something I didn't know, so got my host to do a restore and everything looking good so far.
Re: [SOLVED] Getting Warning Errors on Profile page.

Posted:
Sun May 27, 2007 4:28 am
Author: TheJT
[code] Warning]
i got the same problem but i was not able to solve it...please help
Re: [SOLVED] Getting Warning Errors on Profile page.

Posted:
Sun May 27, 2007 7:25 am
Author: Helter
check for any information after the php close symbol ?>
sometime just empty spaces can cause this
Re: [SOLVED] Getting Warning Errors on Profile page.

Posted:
Sun May 27, 2007 7:35 am
Author: .QUACK.Major.Pain
You could always do like I did and get your host to restore back before the problem began.
Re: [SOLVED] Getting Warning Errors on Profile page.

Posted:
Sun May 27, 2007 8:12 am
Author: TheJT
@HelterSkelter i did...but that didnt solve it
@.=QUACK=.Major.Pain thats not a good idea i think...i hope there is another way to fix this
Re: [SOLVED] Getting Warning Errors on Profile page.

Posted:
Sun May 27, 2007 8:44 am
Author: .QUACK.Major.Pain
I spent almost a week trying things with no result.
I gave up and did the restore and it worked. I lost 3-4 days of posts and other stuff, but was worth it to get rid of the problem.
Re: [SOLVED] Getting Warning Errors on Profile page.

Posted:
Sun May 27, 2007 9:47 am
Author: TheJT
well ok thanks for the information.i will ask for a backup.hope this problem will not apear again
Re: [SOLVED] Getting Warning Errors on Profile page.

Posted:
Sun May 27, 2007 10:07 am
Author: Helter
what mods have you installed?