Loading...
 
Architecture / Installation

Architecture / Installation


[bogus] Installation of 4.0 beta: Show stopper at line 45 of tiki-install.php

posts: 1 Germany

Hi.

I tried to install 4.0 beta on a server:

Server: Apache/1.3 (Unix) mod_ssl/2.8.28 OpenSSL/0.9.8f AuthPG/1.3
Last-Modified: Tue, 10 Nov 2009 11:20:41 GMT
Etag: "1a78398-34cf-4af94c89"
Accept-Ranges: bytes
Content-Length: 13519
Content-Type: text/html"

  • downloaded bz2
  • unpacked
  • uploaded via ftp
  • created MySQL database on webserver
  • set upload directory as tiki.mydomain.de (via provider's web interface)
  • went to tiki.mydomain.de
  • redirect to tiki.mydomain.de/tiki-install.php
  • error message:


Parse error: syntax error, unexpected T_STRING, expecting '{' in /kunden/148118_53225/tiki/tiki-install.php on line 45

tiki-install.php:

Copy to clipboard
42 /** 43 * 44 */ 45 class InstallerDatabaseErrorHandler implements TikiDb_ErrorHandler 46 { 47 function handle(TikiDb $db, $query, $values, $result) { 48 } 49 }


Can anyone help? Would really like to install tikiwiki for a charity project.

Cheers

Andreas

posts: 1001 Canada
On which machine does that happen? Which PHP version is used?
posts: 1001 Canada
The author replied via email he was using PHP 4.

posts: 6 Sweden

Hi,

I have the same problem with tikiwiki 4.0. Weird thing is that I installed last week Tikiwiki 4.0beta on another webspace, but with the same provider. That was no problem at all.
So writing permissions are set right. But with this new installation of 4.0, I can not get beyond the install script. Even if I set the local.php manually and make the database entries manually.

Any suggestions?

/Christoph


posts: 1

not sure if this helps but it solved the problem for me

my webhoster supports php4 and php5 and to support php5 i had to add some lines to the .htaccess file

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

after that it worked just fine

please note: 2 of those lines are already in your .htaccess file, you'll have to uncomment them (remove #)

hope this helps



Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting