PHP 5.3.0 and Frog SVN

Feed 3 posts, 2 voices

Avatar
0 posts

Hi,

is Frog compatible with PHP 5.3.0?

when i try to save settings returns this:

Warning: Parameter 1 to comment_display_moderatable_count() expected to be a reference, value given in C:\wamp\www\frog_svn\frog\Framework.php on line 820

and a notice about set_magic_quotes_runtime().

tks. Lucas

 
Avatar
1 posts

I think it is probably compatible with PHP 5.3.0. (I am using 5.3.1)
Is that you turn the DEBUG mode on? otherwise you wont see those warnings.

Anyway, there are some ways to clear the warning. Just if you need to.

1. set_magic_quotes_runtime()

set_magic_quotes_runtime(0) -> ini_set(“magic_quotes_runtime”, 0) Coz PHP dont want us using this and it wont be available in > 6.x.

2. comment_display_moderatable_count()

At Framework.php on line 820:

call_user_func_array($callback, $args) -> @call_user_func_array($callback, $args) Then the warnings wont show.

Good luck, lmsaud.