PHP 5.6 experiments

Filed under PHP 5.6

Saturday
6.
December 2014

Removing this errors and warnings messages by patching following files in Flatpress 1.0.3.

fp-includes/smarty/Smart_Compiler.class.php

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in …/fp-includes/smarty/Smarty_Compiler.class.php on line 270

Using solution from here:
http://www.modified-shop.org/forum/index.php?topic=27558.0

fp-includes/smarty/SmartyValidate.class.php

Error message Strict standards: Non-static method should not be called statically in php

fp-includes/core/core.fpdb.class.php

Strict Standards: Only variables should be passed by reference in …/fp-includes/core/core.fpdb.class.php on line 303

fp-includes/smarty/plugins/function.list_categories.php

Strict Standards: Only variables should be passed by reference in …/fp-includes/smarty/plugins/function.list_categories.php on line 35

login.php

Warning: Illegal string offset ‘logout’ in …/fp-content/cache/e93fccb09cf8b04111b9595da102f3f4^%%52^522^5225B40D%%login_success.tpl.php on line 3

Now Flatpress 1.0.3 will running on PHP 5.6 and you can use it like you want.

But beware

If you use user contributed Flatpress plugins, it is possible that these plugins won’t work with PHP 5.6!

Helpful Internet links

» http://www.modified- … ex.php?topic=27558.0
» http://www.nightswat … y:entry131111-232827
» http://heinrich-beck … y:entry140925-231731
» http://flatpress.org … 1-0-and-php-5-4-7/p1
» http://flatpress.org … 3/comments-errors/p1

Calendar

  • December 2014
    SunMonTueWedThuFriSat
     123456
    78910111213
    14151617181920
    21222324252627
    28293031 

Admin area

 

Top of Page