
Code: Select all
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homez.14/locaride/www/forum/includes/class_lastrss.php on line 28
Yes, I've downloaded the original files from your website two times and uploaded and my server two times.Smix wrote:Auden : Have you correctly uploaded the file includes/class_lastrss.php ???
Your fix is therephp.net wrote:Support for PHP 4 has been discontinued since 2007-12-31. Please consider upgrading to PHP 5.2. The release 4.4.9 is the last PHP 4 release.
Code: Select all
public $items_limit = 0;
public $strip_html = true; // (false option can be used when HTML posting is available)
public $date_format = 'U';
public $encoding = 'UTF-8';
public $cdata = 'strip'; // strip / nochange (nochange option can be used when HTML posting is available)
/**
* @ignore private variables
*/
private $channeltags = array ('title', 'link', 'description', 'language', 'copyright', 'managingEditor', 'webMaster', 'lastBuildDate', 'rating', 'docs');
private $itemtags = array('title', 'link', 'description', 'author', 'category', 'comments', 'enclosure', 'guid', 'pubDate', 'source');
private $imagetags = array('title', 'url', 'link', 'width', 'height');
private $textinputtags = array('title', 'description', 'name', 'link');
Code: Select all
var $items_limit = 0;
var $strip_html = true; // (false option can be used when HTML posting is available)
var $date_format = 'U';
var $encoding = 'UTF-8';
var $cdata = 'strip'; // strip / nochange (nochange option can be used when HTML posting is available)
/**
* @ignore private variables
*/
var $channeltags = array ('title', 'link', 'description', 'language', 'copyright', 'managingEditor', 'webMaster', 'lastBuildDate', 'rating', 'docs');
var $itemtags = array('title', 'link', 'description', 'author', 'category', 'comments', 'enclosure', 'guid', 'pubDate', 'source');
var $imagetags = array('title', 'url', 'link', 'width', 'height');
var $textinputtags = array('title', 'description', 'name', 'link');