11 years ago
Topic

Always worked with my project SEBLOD via localhost. Today when I decided for the site up it had an error. Does anyone know what it means, or how can I solve it?

Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in ... /libraries/cms/cck/cck.php on line 26

Get a VIP membership
11 years ago
0
Level 1

Hi Raposa,

This error is due to PHP 5.2.
I guess that your localhost runs on PHP 5.3, and you moved your site to your host which is PHP 5.2

SEBLOD 3.x is compatible with both.. and the file is automatically replaced when you install/update SEBLOD.. on a PHP 5.2 environment.
But because you moved the site.. you must replaced the file manually.

Grab the file directly from the package: pkg_seblod_3.1.5/extensions/com_cck/admin/install/src/php5.2/libraries/cms/cck/cck.php
>> and upload it on your server: /libraries/cms/cck/cck.php

Regards,
Saba.

11 years ago
0
Level 1

Worked! Many thanks Saba.

Get a VIP membership