sheme Posted September 21, 2006 Posted September 21, 2006 Hello I'm french so excuse me if i do mistakes. I've installed this contrtibution on my store. Everything is ok for admin and post. My problem is : when the forum is on public mode (no registration needed to post, guest) i can post and reply. But when i change it to registered mode, i click on the "new post" button, i get this message error : Warning: Cannot modify header information - headers already sent by (output started at /mnt/116/free.fr/2/5/sheme/Dehorslespetits/catalog/modules.php:28) in /mnt/116/free.fr/2/5/sheme/Dehorslespetits/catalog/includes/functions/general.php on line 33 In general.php lign 33 : [code]CODE header('Location: ' . $url); Here is my module.php file in catalog/ which was included in the phpbb installation (moddified with french contribution for boxes template) : <?php /* $Id: privacy.php,v 1.19 2002/07/21 23:38:57 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerceReleased under the GNU General Public License Integrate PHPBB206 INTO OSC 2.2 oscphpbb2 Copyright © 2003/09/10 version: 1.0 author: Oldpa web site: http://oscphpbb2.ecart.com.tw http://oldpa.adsldns.org http://www.oldpa.com.tw */ require('includes/application_top.php'); require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_BB_INDEX); $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_BBMODULES, 'op=modload&name=phpbb2&file=index.php', 'NONSSL')); switch($op){ case"modload": if (( $mode != 'smilies' ) & ( $mode != 'topicreview' ) & ( $mode != 'searchuser' )) { define('SHOW_HEAD_FOOT', true); ?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <base href="<?php echo (getenv('HTTPS') == 'on' ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <link rel="stylesheet" type="text/css" href="<? echo THEMA_STYLE;?>"> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="3" cellpadding="3"> <tr> <? /* <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- left_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> <!-- left_navigation_eof //--> </table></td> */ ?> <!-- body_text //--> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="3" cellpadding="3"> <tr> <?php } include(DIR_WS_MODULES."$name/$file"); //Footer data em page_tail break; default: die("Sorry file does't exist."); break; exit; } ?> Infos :- i've checked for blank space before and after the <?php and ?> symbols in ALL php files of my store- i've ms2 version- i've change the the create account and sql database parameters so the users can create an account only with firstname, email, city, state and password. Others original fields aren't needed anymore.- I've recheck for correct installation (files in right folders, text added or modified). I hope i've been clear !!! Please just try to say things simply because i don't understand everything :blush: Thanks thanks thanks Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.