I turned on a weblinks mod and entered the weblinks and when I go to click on a link it displays a blank page in a seperate window.
My hosted site is running:
OS RedHat Linux 7.2
Apache version 1.3.27 (Unix)
PHP version 4.3.1
MySQL version 3.23.54
The error messages displayed are:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/rdoyle/public_html/config.php:130) in /home/rdoyle/public_html/open_session.php on line 3
Warning: Cannot modify header information - headers already sent by (output started at /home/rdoyle/public_html/config.php:130) in /home/rdoyle/public_html/mod/weblink/index.php on line 26
I suspect part of the problem is that my site has the newest version of PHP and the code needs to be altered.
I am learning about PHP but do not know how to alter this. I've pasted part of weblink/index.php below.
Thanks for your suggestions,
Robb
volunteer: webmaster(at)amtaga.org
/**
* The main control structure for the weblink module
*
* Contains operations control for the user and admin
*
* @author Steven Levin <steven@tux.appstate.edu>
* @module weblink
* @modulegroup core
* @package phpWebSite
*/
/* weblink files */
include("./mod/weblink/weblink.php");
include("./mod/weblink/weblink_functions.php");
/* phpwebsite core files */
include("./config.php");
if(!isset($mainfile)) include("./mainfile.php");
include("./open_session.php");
if($op=="visit_link") {
mysql_query("UPDATE " . $table_prefix . "mod_weblink_data SET hits=hits+1 WHERE lid='$lid'");
header("Location: $url");
exit();
}
session_register("current_link");
/* start of page */
include("header.php");