Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Download Elxis CMS:
Elxis 5.5 Hermes
.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
Installation
»
Installation error [SOLVED]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Installation error [SOLVED] (Read 5407 times)
Bozik
Newbie
Posts: 3
Installation error [SOLVED]
«
on:
July 20, 2010, 21:55:06 »
Hi there,
ok i have a problem with the installation of Elxis on my server.
I downloaded and uploaded the files on my FTP,
then i go to
www.mysite.com
, and i get this error message :
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homez.323/timeofpa/www/includes/floodblocker.class.php on line 43
The code of the page floodlocker.class.php is :
// Errors and warnings
define ( 'FLOOD_TMP_DIR', 'Incorrect temprorary directory specified.' );
define ( 'FLOOD_IP_ADDR', 'Incorrect IP address specified.' );
define ( 'FLOOD_LOG_FILE', 'Log file access error! Check permissions to write.' );
define ( 'FLOOD_CRON_FNAME', 'The name of cron file must begin with dot.' );
define ( 'FLOOD_CRON_FILE', 'Cron file access error! Check permissions to write.' );
define ( 'FLOOD_CRON_JOB', 'Unable to perform the cron job.' );
// Class definition
class FloodBlocker {
// The directory where log files will be saved. Must have permissions to write.
public $logs_path; (line 43)
// IP address of current connection. REMOTE_ADDR will be used by default.
public $ip_addr;
// An associative array of [$interval=>$limit] format, where $limit is the
// number of possible requests during $interval seconds.
public $rules;
// The name of the cron file. Must begin with dot. Default filename is '.time'.
public $cron_file;
// Cron execution interval in seconds. 1800 secs (30 mins) by default.
public $cron_interval;
// After how many of seconds to consider a file as old? By default the files
// will consider as old after 7200 secs (2 hours).
public $logs_timeout;
//Floodblocker is enabled or not
public $floodblock_enabled = 0;
//If error found during initialization flood blocker is disabled
public $init_error = 0;
what is the error ?
P.S : its an Ovh server
«
Last Edit: July 21, 2010, 14:36:01 by datahell
»
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Installation error
«
Reply #1 on:
July 20, 2010, 22:56:39 »
You have PHP 4.x, Elxis requires PHP 5.x
You must update your PHP installation, it is too old.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Bozik
Newbie
Posts: 3
Re: Installation error
«
Reply #2 on:
July 21, 2010, 10:57:47 »
Ok, i create an
.htaccess
file and i wrote it :
SetEnv PHP_VER 5_TEST
now, let see if it works
Logged
Bozik
Newbie
Posts: 3
Re: Installation error
«
Reply #3 on:
July 21, 2010, 11:44:56 »
Ok, it works pretty well, thanks alot for help
Logged
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
Installation
»
Installation error [SOLVED]