Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
EDC:
Download extensions for Elxis CMS
.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
Technical support
»
Error in uploading site from local to server
« previous
next »
Print
Pages: [
1
]
Author
Topic: Error in uploading site from local to server (Read 9082 times)
c8620p
Full Member
Posts: 119
ΝΙΨΟΝΑΝΟΜΗΜΑΤΑΜΗΜΟΝΑΝΟΨΙΝ
Error in uploading site from local to server
«
on:
October 08, 2008, 10:19:54 »
I did everything (I believe) the Greek book writes for transfering my work but I get this msg:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/theotran/public_html/includes/floodblocker.class.php on line 43
This file has this in line 43:
// The directory where log files will be saved. Must have permissions to write.
public $logs_path;
What have I done wrong?
Is it in my Dbase or with the permisions of the files
Folders: 755
Files: 644
/tmpr:777 (only index)
/cache:777 (only index)
Thanks in advance.
P.S. I have never activated Floodblocker in local setup!
«
Last Edit: October 08, 2008, 10:23:12 by c8620p
»
Logged
On Earth my weight is 70 kgr but on Aries my weight is 27 kgr.
I think I live in wrong planet!
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Error in uploading site from local to server
«
Reply #1 on:
October 08, 2008, 13:10:32 »
I think you have PHP4. Elxis 2008.1 requires PHP 5.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
c8620p
Full Member
Posts: 119
ΝΙΨΟΝΑΝΟΜΗΜΑΤΑΜΗΜΟΝΑΝΟΨΙΝ
Re: Error in uploading site from local to server
«
Reply #2 on:
October 09, 2008, 00:14:22 »
Is there something I can do or must I contact with my hosting manager?
Logged
On Earth my weight is 70 kgr but on Aries my weight is 27 kgr.
I think I live in wrong planet!
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Error in uploading site from local to server
«
Reply #3 on:
October 09, 2008, 00:18:25 »
You should contact your hosting provider and tell him to install PHP 5 (if it is not already installed) and enable PHP 5 on your site (this can be done with an htaccess file). PHP 5 can co-exist with PHP 4 on the same server.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
c8620p
Full Member
Posts: 119
ΝΙΨΟΝΑΝΟΜΗΜΑΤΑΜΗΜΟΝΑΝΟΨΙΝ
Re: Error in uploading site from local to server
«
Reply #4 on:
October 09, 2008, 00:19:37 »
Can I send you pm now?
Logged
On Earth my weight is 70 kgr but on Aries my weight is 27 kgr.
I think I live in wrong planet!
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Error in uploading site from local to server
«
Reply #5 on:
October 09, 2008, 00:45:45 »
I already answered you, check your messages!
Here is how to tell the web server (Apache) to run php5 instead of php4 if php4 co-exists with php5 on the same server and php4 has been set as default:
Edit your existing .htaccess file, or create one if not exists, and add at the top if it one of these lines (ONLY ONE):
AddHandler application/x-httpd-php5 .php
AddHandler cgi-php5 .php
AddType x-mapp-php5 .php
The first one is suitable if PHP has been installed as an apache module
The second one is suitable if PHP runs under CGI mode.
The last one is for xmapp
Check them one-by-one till you find the one that works on your system.
PHP5 installation or php4 upgrade to php5 is very easy and if you have a control panel like cpanel this is a piece of cake. On cpanel just update apache from within WHM. To manually install php5 check the hundreds of guides exists on the internet like this one:
http://forums.deftechgroup.com/showthread.php?t=2103
(I did nt check if it is a good enough, this is just a sample).
«
Last Edit: October 09, 2008, 00:57:06 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
c8620p
Full Member
Posts: 119
ΝΙΨΟΝΑΝΟΜΗΜΑΤΑΜΗΜΟΝΑΝΟΨΙΝ
Re: Error in uploading site from local to server
«
Reply #6 on:
October 09, 2008, 01:03:15 »
I saw your message and I was trying to configure my htaccess.txt file with your details.
Nothing!
So I wend to cpanel and I get the image (see the attachment) and my pure brain tells me that my server does not have PHP5 installed!
Am I right?
And if so this means that I can not setup the new ELXIS?
I also attach the htaccess.txt file with any change as I have it in my root of ELXIS on my server.
[attachment deleted by admin]
Logged
On Earth my weight is 70 kgr but on Aries my weight is 27 kgr.
I think I live in wrong planet!
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Error in uploading site from local to server
«
Reply #7 on:
October 09, 2008, 01:12:09 »
I know you have PHP4, I understood this from the error message on your first post. PHP4 can not handle
private
,
public
and
protected
visibility declarations as well as the
static
keyword, this is the reason of the error message. So, unless php5 is installed on your server you can not run Elxis 2008.1 and any of the extensions that are published at elxis-downloads.com that are for php5.
Once php5 is installed just add
AddHandler application/x-httpd-php5 .php
on the top of your .htaccess file and Elxis 2008.1 will run just fine. If you have php4 you should stay at Elxis 2008.0.
«
Last Edit: October 09, 2008, 01:15:42 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
c8620p
Full Member
Posts: 119
ΝΙΨΟΝΑΝΟΜΗΜΑΤΑΜΗΜΟΝΑΝΟΨΙΝ
Re: Error in uploading site from local to server
«
Reply #8 on:
October 09, 2008, 01:18:46 »
Thanks for your time.
I'm sending an email to my "server manager"
P.S. I will inform the community what happened.
Logged
On Earth my weight is 70 kgr but on Aries my weight is 27 kgr.
I think I live in wrong planet!
c8620p
Full Member
Posts: 119
ΝΙΨΟΝΑΝΟΜΗΜΑΤΑΜΗΜΟΝΑΝΟΨΙΝ
Re: Error in uploading site from local to server
«
Reply #9 on:
October 10, 2008, 10:37:08 »
...Working now on ELXIS 2008 and not 2008.1 (for the moment)...
Logged
On Earth my weight is 70 kgr but on Aries my weight is 27 kgr.
I think I live in wrong planet!
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
Technical support
»
Error in uploading site from local to server