Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Installing prob


Go to End


6 Posts   4446 Views

Avatar
Daisuke

Community Member, 8 Posts

9 October 2006 at 8:48pm

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/blah/public_html/blah/install.php on line 31

Also for the forum, http://www.silverstripe.com/Security/lostpassword
retrieving password link is not working properly.

Avatar
Sam

Administrator, 690 Posts

10 October 2006 at 12:01am

Thanks for the info, Daisuke. We'll get onto this this week.

Once we've released an update, we'll post about it on the blog, and reply to your post here.

Avatar
Daisuke

Community Member, 8 Posts

10 October 2006 at 12:18pm

Actually I contacted my webhost last night. Asmallorange(webhosting service - they have cool live chat support!)
They said that my shared hosting plan doesn't support one of your requirements.. fast CGI or something i can't remember.. I got to try my other webhosting.

Avatar
Sam

Administrator, 690 Posts

10 October 2006 at 1:08pm

From the looks of things your host doesn't support PHP 5. And I've accidentally put PHP 5 syntax in the installer.

Yeah, not everyone supports PHP 5 sadly - it's a pain; it's been out for 2 1/2 years already!

Avatar
Daisuke

Community Member, 8 Posts

10 October 2006 at 2:30pm

The server supports

Software Versions

* Linux 2.6
* Apache 1.3
* PHP 4.4 with Zend Optimizer
* PHP 5.1
* MySQL 4.1
* Ruby on Rails 1.1
* Perl 5.8
* Python 2.4

Avatar
Simon

Community Member, 27 Posts

29 November 2006 at 10:56am

Edited: 29/11/2006 11:49am

We're running Debian Sarge 3.1r2 with 2.6 Linux Kernel

# Apache 2.2.3
# PHP5.1.6
# MySQL 5.0.20

I'd say its probably the old apache support.

Drew mentioned also that some server config's don't run php5 files by default.. Try adding the following to your .htaccess file

AddType x-mapp-php5 .php
AddHandler application/x-httpd-php5 .php