Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '

naranja / 2013-07-03 12:04:13   

When I write in my browser mysite.com/ndxzstudio/…, this is what I get : Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homez.113/jessicac/www/ndxzstudio/lang/index.php on line 14

Vaska A / 2013-07-03 12:15:43   

Reupload the files at /ndxzstudio/lang/index.php

It appears that it was not fully uploaded.

naranja / 2013-07-03 13:36:20   

I have, and uploaded all the rest again, and it didn't work.
So I also tried another trick recommanded by my host, which is rewrite a .htaccess file saying SetEnv PHP_VER 5_4
to turn the php 5 on and it didn't work either.
it now says :
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homez.113/jessicac/www/ndxzstudio/install.php on line 25

Please Help!

arsondpi / 2013-07-03 16:10:32   

Ask your host to enable php5 in your server.

naranja / 2013-07-03 16:18:30   

I have & they told me to rewrite a .htaccess file saying SetEnv PHP_VER 5_4 to enable php5.
So I did it and it didn't change a thing :-(

arsondpi / 2013-07-03 16:53:24   

Then they're either not doing something right or you're not doing something right.
;-)
The .htaccess that ships with Indexhibit has some other rules as well, so I guess you need to paste the command above before everything else.

naranja / 2013-07-04 13:23:14   

It still doesn't work!
Please Help!

lava / 2013-07-05 01:21:07   

Hello,
same problem here...
just get

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /www/htdocs/w0087939/ndxzstudio/install.php on line 25

any ideas?

arsondpi / 2013-07-05 06:42:36   

Guys from a simple search (indexhibit.org/forum/search/) you need to ask your host to get PHP5 working in your server.
If you can't do this or it's not working then ask help from your host. You're paying them for this kind of simple service)

This thread has been closed, thank you.