Install Problem on Step 7

thomas_bahu

Joined: 2005-01-02
Posts: 3
Posted: Sun, 2005-01-02 17:05

Hello, i have a Problem with the installer on Step 7, allways came this message:

Parse error: parse error, unexpected T_STRING, expecting '(' in /home/bahuch/public_html/gallery2/modules/core/classes/GalleryCoreApi.class on line 2028

i hope you can help me, (sorry my English is very bad)
Thanks and a good start in 2005...

[url]www.bahu.ch[/url]

Gallery URL (optional): www.
Gallery version:
Webserver (with version):
Datatabase (with version): 4.0.20-standard
PHP version (eg 4.2.1): 5.0.1
phpinfo URL (optional):
Graphics Toolkit(s): image magic
Operating system:Linux
Web browser/version: IE6

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sun, 2005-01-02 18:38

Which version is this? Try the latest nightly snapshot from http://galleryupdates.jpmullan.com

 
thomas_bahu

Joined: 2005-01-02
Posts: 3
Posted: Mon, 2005-01-03 15:58

Hello, thanks for the fast helping,

I have download the new Version but its allways the same error.

See the Problem on

http://www.bahu.ch/allenspach/main.php

Thanks.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2005-01-04 05:45

Line 2074 of your copy of GalleryCoreApi.class is broken. It looks like this:

function dele yById($id) {

It should look like this:

function deleteEntityById($id) {

That substring "teEntit" is replaced by spaces in two places in that file. The interesting thing is that if you squint at that word fragment, it looks like it might be porn related. Is it possible that your upload process gets run through some kind of porn filter? I've never seen that happen before, but I can't explain it any other way...

 
thomas_bahu

Joined: 2005-01-02
Posts: 3
Posted: Wed, 2005-01-05 20:57

Thanks, it was only by Cybersitter. Now its running. Great.