My event LS asked me to slot a dkp system onto their in-development website, so I grabbed a copy of EQDKP Plus and installed it. After finishing the installation and getting to the point where I should be logging in, I get this error:
Parse error: parse error, unexpected T_STRING, expecting '{' in /var/www/intolerancels/dkp/pluskernel/cache/cache_none.class.php on line 29
Now, generally speaking, I don't have any issues with those errors, normally. Though I've pulled up this file, and I can't find anything wrong with it, so I resorted to simply sticking random "{" in places around Line 29. I've found that if I add a "{" to the start of Line 29, I get the same error, but this time it's on Line 30, so that doesn't really seem to be doing much >_>
The contents of /pluskernel/cache/cache_none.class.php are:
<?php
/*
* Project: EQdkp-Plus
* License: Creative Commons - Attribution-Noncommercial-Share Alike 3.0 Unported
* Link: http://creativecommons.org/licenses/by-nc-sa/3.0/
* -----------------------------------------------------------------------
* Began: 2007
* Date: $Date: 2009-06-11 16:32:38 +0200 (Do, 11 Jun 2009) $
* -----------------------------------------------------------------------
* @author $Author: sz3 $
* @copyright 2007-2008 sz3
* @link http://eqdkp-plus.com
* @package eqdkp-plus
* @version $Rev: 5051 $
*
* $Id: cache_mysql_sq.class.php 5051 2009-06-11 14:32:38Z sz3 $
*/
if ( !defined('EQDKP_INC') )
{
die('Do not access this file directly.');
}
if ( !interface_exists( "plus_datacache" ) ) {
require_once($eqdkp_root_path . 'pluskernel/cache/cache.iface.php');
}
if ( !class_exists( "cache_none" ) ) {
class cache_none implements plus_datacache{
function init($params_array){
}
function put($key, $value, $ttl=' '){
return false;
}
function get($key){
return null;
}
function del($key){
return null;
}
function del_prefix($prefix){
return null;
}
function del_suffix($suffix){
return null;
}
function cleanup(){
return null;
}
function flush(){
return null;
}
function listing(){
return null;
}
}//end class
}//end if
?>
Anyone have any ideas what the problem could be? I've googled around for a few hours and got nothing that works ; ; (Bolded Line 29)
Thanks for any help!~
-Hit