Functions.php appears to be full of syntax errors. At least the
syntax is incorrect for php5 and a lot of us are running php5
now.
Commenting out the previously reported error produces this
nex one.
PHP Parse error: syntax error, unexpected T_PUBLIC,
expecting ']' in
C:\apache2triad\htdocs\smgen\home\www\bookmark4u\inc\fu
nction.php on line 651
Is there not a simple equivalent in php5 or is this bit of
deprected code even needed?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yep, it's because the word 'public' s used without
precaution. It isn't a problem with php < 5, but in php5,
the word 'public' is reserved.
All you need to do is to replace all the [public] by
['public'].
I'va made these modifications and it's work fine on my php5
platform.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: NO
bk4u doesn't work yet with PHP 5
Logged In: YES
user_id=1028943
Functions.php appears to be full of syntax errors. At least the
syntax is incorrect for php5 and a lot of us are running php5
now.
Commenting out the previously reported error produces this
nex one.
PHP Parse error: syntax error, unexpected T_PUBLIC,
expecting ']' in
C:\apache2triad\htdocs\smgen\home\www\bookmark4u\inc\fu
nction.php on line 651
Is there not a simple equivalent in php5 or is this bit of
deprected code even needed?
Logged In: YES
user_id=1215833
Yep, it's because the word 'public' s used without
precaution. It isn't a problem with php < 5, but in php5,
the word 'public' is reserved.
All you need to do is to replace all the [public] by
['public'].
I'va made these modifications and it's work fine on my php5
platform.