FORUMS CLOSED DUE TO SPAM. YOU STILL CAN ADD POST!

Parse error: parse error in c:\programmi\easyphp1-8\www\frogcms\install\index.php on line 54

Feed 7 posts, 6 voices

Avatar
1 posts

I get this error when I go to mysite.com/frog/install/index.php. Can you please help me?

 
Avatar
343 posts

What’s you’re server configuration? Database connection and PHP version :)

 
Avatar
1 posts

I had the same problem, and it just fixed changing the PHP version. Frog only works with PHP5.

 
Avatar
15 posts

Hi

I’m having a similar error at one of the hosts I’m trying to install Frog on. This is what the error log says:

‘[error] PHP Parse error: syntax error, unexpected ‘{’ in /home/ordere00/public_html/frog/install/index.php on line 54’

The host says it’s running PHP 5.2.6 and MySQL 4.1.22.

I’ve installed successfully at a different host & locally, but would appreciate any help here.

Thx

 
Avatar
1 posts

im got the same problem as Dormston

 
Avatar
651 posts

dormston / classasa

1. What version of Frog are you using?
2. Please post lines 52-55 of your install’s /install/index.php file.

 
Avatar
15 posts

Hi

I’m using version 0.9.3 and here are lines 52-55 of the /install/index.php file:

——-

if (USE_PDO) { try { $PDO = new PDO;

——-

Thx for taking a look

 
Avatar
651 posts

strange… this shouldn’t be a problem. I’ve got PHP 5.2.6 running locally and online and Frog installs like a charm.

Also, this particular file hasn’t changed in SVN since august 13th.

Maybe the file got corrupted during transfer and the actual problem lies on another line?

Could you try and re-upload the file?