[SOLVED]Help. new host. only errors

Support for IntegraMOD 140

Moderator: Integra Moderator

[SOLVED]Help. new host. only errors

PostAuthor: MadUser » Tue Sep 26, 2006 11:59 am

Hi.
i changed a host from unix to NT.
moved all files. dumped the DB.
gave permissions(i am not sure all correct).
when i load my home page, i get lots of errors.

this are the errors:
------------------------------------------

Warning: Cannot modify header information - headers already sent by (output started at C:vhostspcrage.orghttpdocsim140includestemplate.php:4749) in C:vhostspcrage.orghttpdocsim140includessessions.php on line 412

Warning: Cannot modify header information - headers already sent by (output started at C:vhostspcrage.orghttpdocsim140includestemplate.php:4749) in C:vhostspcrage.orghttpdocsim140includessessions.php on line 414

Warning: Cannot modify header information - headers already sent by (output started at C:vhostspcrage.orghttpdocsim140includestemplate.php:4749) in C:vhostspcrage.orghttpdocsim140includespage_header.php on line 1761

Warning: Cannot modify header information - headers already sent by (output started at C:vhostspcrage.orghttpdocsim140includestemplate.php:4749) in C:vhostspcrage.orghttpdocsim140includespage_header.php on line 1765

Warning: Cannot modify header information - headers already sent by (output started at C:vhostspcrage.orghttpdocsim140includestemplate.php:4749) in C:vhostspcrage.orghttpdocsim140includespage_header.php on line 1767

---------------------- then ---------------------------

Could not read list informations

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND pa.pic_cat_id = 0)' at line 3

SELECT pa.*, (pa.pic_id) AS _list_key, (pa.pic_title) AS _list_txt, (pa.pic_id) AS _list_img
FROM (phpbb_album AS pa)
WHERE (pa.pic_user_id = AND pa.pic_cat_id = 0)



Line : 962
File : def_userfuncs.php

-------------------------------- then ----------------------

Critical Error!
message_die() was called multiple times.
Error #1
Could not read list informations

Line : 962
File : C:vhostspcrage.orghttpdocsim140profilcpdefdef_userfuncs.php
SQL :

SELECT pa.*, (pa.pic_id) AS _list_key, (pa.pic_title) AS _list_txt, (pa.pic_id) AS _list_img
FROM (phpbb_album AS pa)
WHERE (pa.pic_user_id = AND pa.pic_cat_id = 0)


Error #2


Line : 262
File : C:vhostspcrage.orghttpdocsim140includesfunctions_jr_admin.php
SQL : SELECT * FROM phpbb_jr_admin_users WHERE user_id =
Please, contact the webmaster. Thank you.

------------------------------------

what is going on???

you can see it for yourself: http://www.pcrage.org/im140
Last edited by MadUser on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]My hebrew web site[/url]
User avatar
MadUser
Integra Member
Integra Member
 
Posts: 113
Likes: 0 post
Liked in: 0 post
Joined: Tue Jul 11, 2006 12:26 am
Cash on hand: 0.00

PostAuthor: computerz » Tue Sep 26, 2006 4:30 pm

did you edit your sessions.php file recently? If so, I would replace it with a clean copy of the same version. That error is saying that the page heard is bein called twice.
Last edited by computerz on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

computerz
Members
Members
 
Posts: 84
Likes: 0 post
Liked in: 0 post
Joined: Sun Aug 27, 2006 2:21 pm
Cash on hand: 0.00

Re: Help. new host. only errors

PostAuthor: MadUser » Tue Sep 26, 2006 11:32 pm

i did not made any changes.
its the same site on a different server.
i dont know what did i forgot to do.
maybe it got somthing to do with the php version?
or the mysql version?

idont know the php new host ver. but the mysql is 4.18-nt.
Last edited by MadUser on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]My hebrew web site[/url]
User avatar
MadUser
Integra Member
Integra Member
 
Posts: 113
Likes: 0 post
Liked in: 0 post
Joined: Tue Jul 11, 2006 12:26 am
Cash on hand: 0.00

Re: Help. new host. only errors

PostAuthor: Helter » Wed Sep 27, 2006 1:04 am

Any text (including blank lines) placed after ?> at the end of a page will result in 'Header already sent'

check includes/page_header.php and template.php
make sure they are properly closed with ?>
also be sure there is no code following the php close symbol ?>
If your unsure, and you have a stock forum, you can reupload those two files
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

PostAuthor: MadUser » Wed Sep 27, 2006 2:34 am

Thanks, i will try it and inform.

btw.
congratulations.
last time i saw you, you where blue!
Last edited by MadUser on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]My hebrew web site[/url]
User avatar
MadUser
Integra Member
Integra Member
 
Posts: 113
Likes: 0 post
Liked in: 0 post
Joined: Tue Jul 11, 2006 12:26 am
Cash on hand: 0.00

Re: Help. new host. only errors

PostAuthor: MadUser » Sat Oct 07, 2006 6:58 am

well I had a lot of it but it fix my problem.
i dont get this but if I have (and i had) empty lines after the closing tag (?>
) it throws this error. so I deleted them all.

thanks!!
Last edited by MadUser on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]My hebrew web site[/url]
User avatar
MadUser
Integra Member
Integra Member
 
Posts: 113
Likes: 0 post
Liked in: 0 post
Joined: Tue Jul 11, 2006 12:26 am
Cash on hand: 0.00

Re: Help. new host. only errors

PostAuthor: Teelk » Sat Oct 07, 2006 6:59 pm

Blank spaces after the ?> is the most common reason for getting the dreaded "headers already sent" error. It can sometimes occur if you compress your files using a compression utility such as winzip or transfering the files from one OS to another(such as your Unix to WinNT move).
Last edited by Teelk on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 6:25 pm
Cash on hand: 0.00
Location: Canada


Return to IntegraMOD 140

Who is online

Registered users: App360MonitorBot, Bing [Bot]