SQL Error

Support for the IM Portal Project

Moderator: Integra Moderator

SQL Error

PostAuthor: Blue-Blood » Mon Jan 08, 2007 8:21 pm

Your phpBB Version: 2.0.22
phpBB Type: phpbb / IMPortal
MODs: No
Your knowledge: Basic Knowledge
Board URL: [url]http://[/url]

PHP Version:
MySQL Version:


What was done before the problem appeared?



What was done to try to solve the problem?




Description and Message

PHPBB 2.0.22
IM Portal 1.20

I just installed IM portal, I have checked and rechecked all the changes made from the install.txt
also imported the SQL Tables 4 time and still get the same error every time


// // IM Portal http://www.integramod.com // define('BLOCKS_TABLE', $table_prefix.'blocks'); define('BLOCK_POSITION_TABLE', $table_prefix.'block_position'); define ('LAYOUT_TABLE',$table_prefix.'layout'); define ('PORTAL_CONFIG_TABLE',$table_prefix.'portal_config'); define ('BLOCK_VARIABLE_TABLE',$table_prefix.'block_variable');
Warning: Cannot modify header information - headers already sent by (output started at C:Program Filesxampphtdocsqf4uincludesconstants.php:191) in C:Program Filesxampphtdocsqf4uincludessessions.php on line 366

Warning: Cannot modify header information - headers already sent by (output started at C:Program Filesxampphtdocsqf4uincludesconstants.php:191) in C:Program Filesxampphtdocsqf4uincludessessions.php on line 367
phpBB : Critical Error

Could not query portal config table

DEBUG MODE

SQL Error : 1146 Table 'jfg1197_qf4u.portal_config_table' doesn't exist

SELECT * FROM PORTAL_CONFIG_TABLE

Line : 47
File : functions_portal.php
Last edited by Blue-Blood on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Blue-Blood
Integra Member
Integra Member
 
Posts: 102
Likes: 0 post
Liked in: 0 post
Joined: Tue Jul 04, 2006 8:46 pm
Cash on hand: 0.00
Location: Louisville KY

Re: SQL Error

PostAuthor: Helter » Mon Jan 08, 2007 11:07 pm

Headers already sent generally means you have a corrupted file, either missing the php open tag <php>

You will also get that error if there is ANY "open" code outside of those tags. Dont even leave an empty line after the close tag
Last edited by Helter on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4168
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 187.60
Location: Seattle Wa
IntegraMOD version: IM 3

Re: SQL Error

PostAuthor: Whisky » Tue Jan 09, 2007 2:49 am

I don't understand this:
why does it display those lines from the constant.php:
Code: Select all
define('BLOCKS_TABLE', $table_prefix.'blocks'); define('BLOCK_POSITION_TABLE', $table_prefix.'block_position'); define ('LAYOUT_TABLE',$table_prefix.'layout'); define ('PORTAL_CONFIG_TABLE',$table_prefix.'portal_config'); define ('BLOCK_VARIABLE_TABLE',$table_prefix.'block_variable');

???
They do not seem to be in error and it does even not display them in the same order they appear in th php file <img>
We can see from the debug lines that the constant PORTAL_CONFIG_TABLE hasn't been correctly initialized but why?

I guess you board is not yet online, if it is could you provide us with a link?
Last edited by Whisky on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
I am the Lizard King, I can do anything

Whisky
Sr Integra Member
Sr Integra Member
 
Posts: 256
Likes: 0 post
Liked in: 0 post
Joined: Thu May 18, 2006 1:28 am
Cash on hand: 0.00
Location: Brussels

Re: SQL Error

PostAuthor: Blue-Blood » Tue Jan 09, 2007 1:45 pm

Thanks, this was my problem.

"HelterSkelter";p="19267" wrote:Headers already sent generally means you have a corrupted file, either missing the php open tag <php>

You will also get that error if there is ANY "open" code outside of those tags. Dont even leave an empty line after the close tag
Last edited by Blue-Blood on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Blue-Blood
Integra Member
Integra Member
 
Posts: 102
Likes: 0 post
Liked in: 0 post
Joined: Tue Jul 04, 2006 8:46 pm
Cash on hand: 0.00
Location: Louisville KY


Return to IM Portal Support Forum

Who is online

Registered users: Majestic-12 [Bot]