Error in DB.inc causing problem [message #160036] |
Sun, 19 July 2009 12:55 |
slowmo
Messages: 22 Registered: July 2009
Karma: 0
|
Junior Member |
|
|
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/myuserwebsite/fudforum/include/theme/default/db.inc on line 14
whener i run nntp.php i get this error. I have run it manually as well as by cron. same problem.
I am using SQLite
|
|
|
|
Re: Error in DB.inc causing problem [message #160038 is a reply to message #160036] |
Sun, 19 July 2009 13:27 |
slowmo
Messages: 22 Registered: July 2009
Karma: 0
|
Junior Member |
|
|
<?php
/**
* copyright : (C) 2001-2009 Advanced Internet Designs Inc.
* email : forum(at)prohost(dot)org
* $Id: db.inc,v 1.36 2009/05/16 17:43:02 frank Exp $
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; version 2 of the License.
**/
# define('forum_debug', 1);
class db { public static $db, $ar, $res, $buf; }
if (!defined('fud_sql_lnk')) {
Line 14 is between class db and if lines.
I downloaded the latest stable release today. Fresh new install. The release date was 21st May 2009. 2.8.1
Output of php -v
PHP 4.4.9 (cli) (built: Sep 17 2008 12:02:18)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies
thank you very much
|
|
|
|
|
|
|
|
|
|
|