soaivu / clipbucket

Automatically exported from code.google.com/p/clipbucket
0 stars 0 forks source link

Default template are not supported to PHP 5.4.19 #426

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

installed new fresh copy of clipbucket on PHP 5.4.19 Server

What is the expected output? What do you see instead?

its start showing on main website as well admin area

Strict Standards: Non-static method CBTemplate::assign() should not be called 
statically in /home/domain.com/public_html/includes/functions.php on line 166

Strict Standards: Non-static method CBTemplate::create() should not be called 
statically in /home/domain.com/public_html/includes/classes/template.class.php 
on line 45

Strict Standards: Non-static method CBTemplate::display() should not be called 
statically in /home/domain.com/public_html/includes/functions.php on line 152

What version of the product are you using? On what operating system?

script version latest stable 2.6/ centos 6.4 / apache 2.2.25 / PHP 5.4.19 CLI

Please provide any additional information below.

Overall clipbucket 2.6 version are totally break on PHP 5.4.19 cli version. as 
well most of its function stop. and showing above strickt standard errors. its 
not detect php on correct php path as well correct ffmpeg path.

Original issue reported on code.google.com by Intasark...@gmail.com on 8 Sep 2013 at 3:47

GoogleCodeExporter commented 8 years ago
I have exactly the same problem!!! Is there a solution?

Original comment by zshi8%wi...@gtempaccount.com on 27 Oct 2013 at 9:50

GoogleCodeExporter commented 8 years ago
Only one solution is, Revert back to 5.3 PHP. because clipbucket required 
SourceGuardian loader which is not available in PHP 5.4 if you want to install 
plugin.

if you don't want Any plugin install so you can Hide this warning via 
clipbucket file.

here is one solution from one member which hide this Warnings.

Edit common.php in the includes directory -  around line 86 change the code to 
look like:

                case 2:
                default:
                {

                        if(phpversion() >= '5.3.0')
                        {
                                error_reporting(E_ALL ^E_NOTICE ^E_DEPRECATED ^E_STRICT);
                                ini_set('display_errors', '1');
                        }
                        else
                        {
                                error_reporting(E_ALL ^E_NOTICE ^E_STRICT);
                                ini_set('display_errors', '1');
                        }
                }

This disables strict messages.

link: http://code.google.com/p/clipbucket/issues/detail?id=327

Original comment by Intasark...@gmail.com on 28 Oct 2013 at 3:56

GoogleCodeExporter commented 8 years ago
the file look like this code but the error still appear!!!!!

Original comment by nourie....@gmail.com on 6 May 2014 at 2:35

GoogleCodeExporter commented 8 years ago
upgrade to 2.7, its fixed

Original comment by arslan...@gmail.com on 24 Feb 2015 at 9:53