Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with PHP 5.6 #7

Closed
picsil opened this issue Sep 17, 2015 · 4 comments
Closed

Compatibility with PHP 5.6 #7

picsil opened this issue Sep 17, 2015 · 4 comments

Comments

@picsil
Copy link

picsil commented Sep 17, 2015

Newly Installed on Ubuntu 15.04 and PHP 5.6.4-4. After running the install wizard and trying to log in as admin I get an error popup. I have seen this posted by others to various forums as well.

[{"target":"ERROR","content":"
\n[2015-09-17 23:42:07 (GMT)] An exception occurred while executing this script:
\nError message: #8192, Non-static method BizSystem::getConfiguration() should not be called statically, assuming $this from incompatible context<\/font>
\nScript name and line number of error: \/var\/www\/siremis-4.2.0\/openbiz\/bin\/data\/BizDataObj_Abstract.php:268<\/font>
\n

function:<\/b> errorHandler ( 8192, \"Non-static method BizSystem::getConfiguration() should not be ca...\", \"\/var\/www\/siremis-4.2.0\/openbiz\/bin\/data\/BizDataObj_Abstract.php\", 268, Array(0) ) @ \/var\/www\/siremis-4.2.0\/openbiz\/bin\/sysheader.inc 117\n
function:<\/b> userErrorHandler ( 8192, \"Non-static method BizSystem::getConfiguration() should not be ca...\", \"\/var\/www\/siremis-4.2.0\/openbiz\/bin\/data\/BizDataObj_Abstract.php\", 268, Array(0) ) @ \/var\/www\/siremis-4.2.0\/openbiz\/bin\/data\/BizDataObj_Abstract.php 268\n
function:<\/b> setQuoteIdentifiers ( ) @ \/var\/www\/siremis-4.2.0\/openbiz\/bin\/data\/BizDataObj_Abstract.php 177\n
function:<\/b> __construct ( Array(1) ) @ \/var\/www\/siremis-4.2.0\/openbiz\/bin\/data\/BizDataObj.php 37\n
function:<\/b> __construct ( Array(1) ) @ \/var\/www\/siremis-4.2.0\/openbiz\/bin\/ObjectFactory.php 166\n
function:<\/b> constructObject ( \"system.do.UserDO\" ) @ \/var\/www\/siremis-4.2.0\/openbiz\/bin\/ObjectFactory.php 56\n
function:<\/b> getObject ( \"system.do.UserDO\", 0 ) @ \/var\/www\/siremis-4.2.0\/openbiz\/bin\/BizSystem.php 252\n
function:<\/b> getObject ( \"system.do.UserDO\" ) @ \/var\/www\/siremis-4.2.0\/siremis\/modules\/service\/authService.php 92\n
function:<\/b> authDBUser ( \"admin\", \"admin\" ) @ \/var\/www\/siremis-4.2.0\/siremis\/modules\/service\/authService.php 66\n
function:<\/b> authenticateUser ( \"admin\", \"admin\" ) @ \/var\/www\/siremis-4.2.0\/siremis\/modules\/user\/form\/LoginForm.php 92\n
function:<\/b> Login ( ) @ \/var\/www\/siremis-4.2.0\/openbiz\/bin\/BizController.php 310\n
function:<\/b> invoke ( ) @ \/var\/www\/siremis-4.2.0\/openbiz\/bin\/BizController.php 110\n
function:<\/b> dispatchRequest ( ) @ \/var\/www\/siremis-4.2.0\/openbiz\/bin\/BizController.php 32\n
function:<\/b> include_once ( \"\/var\/www\/siremis-4.2.0\/openbiz\/bin\/BizController.php\" ) @ \/var\/www\/siremis-4.2.0\/siremis\/bin\/controller.php 6<\/div>\n
Please ask system administrator for help...<\/div>\n"}]
@miconda
Copy link
Contributor

miconda commented Sep 18, 2015

Are you using the last version from git or the tarball of the last release? Recently there were some commits that should solve this issue.

@picsil
Copy link
Author

picsil commented Sep 18, 2015

I have tried both with the same result.

On Sep 18, 2015, at 3:17 AM, Daniel-Constantin Mierla notifications@github.com wrote:

Are you using the last version from git or the tarball of the last release? Recently there were some commits that should solve this issue.


Reply to this email directly or view it on GitHub #7 (comment).

@miconda
Copy link
Contributor

miconda commented Sep 18, 2015

It doesn't seem you run last git master branch, becasue the line has another content, it is no BizSystem::getConfiguration() there, see:

https://github.com/asipto/siremis/blob/master/openbiz/bin/data/BizDataObj_Abstract.php#L268

Make a clean clone of the git master.

@miconda miconda closed this as completed Oct 1, 2015
@sousdubois
Copy link

Hi,

I have the same issue.
What i use is
Operation System Linux Debian 8.3
PHP version 5.6.17-0+deb8u1
Openbiz Path /var/www/siremis-4.2.0/openbiz
Zend Framework Path /var/www/siremis-4.2.0/openbiz/others/
Zend Framework 1.9.7

This is the manual i used : http://kb.asipto.com/siremis:install42x:main

The error i get is

[{"target":"ERROR","content":"
\n[2016-03-02 10:17:43 (GMT)] An exception occurred while executing this script:
\nError message: #8192, Non-static method BizSystem::getConfiguration() should not be called statically, assuming $this from incompatible context</font>
\nScript name and line number of error: /var/www/siremis-4.2.0/openbiz/bin/data/BizDataObj_Abstract.php:268</font>
\n

function:</b> errorHandler ( 8192, "Non-static method BizSystem::getConfiguration() should not be ca...", "/var/www/siremis-4.2.0/openbiz/bin/data/BizDataObj_Abstract.php", 268, Array(0) ) @ /var/www/siremis-4.2.0/openbiz/bin/sysheader.inc 117\n
function:</b> userErrorHandler ( 8192, "Non-static method BizSystem::getConfiguration() should not be ca...", "/var/www/siremis-4.2.0/openbiz/bin/data/BizDataObj_Abstract.php", 268, Array(0) ) @ /var/www/siremis-4.2.0/openbiz/bin/data/BizDataObj_Abstract.php 268\n
function:</b> setQuoteIdentifiers ( ) @ /var/www/siremis-4.2.0/openbiz/bin/data/BizDataObj_Abstract.php 177\n
function:</b> __construct ( Array(1) ) @ /var/www/siremis-4.2.0/openbiz/bin/data/BizDataObj.php 37\n
function:</b> __construct ( Array(1) ) @ /var/www/siremis-4.2.0/openbiz/bin/ObjectFactory.php 166\n
function:</b> constructObject ( "system.do.UserDO" ) @ /var/www/siremis-4.2.0/openbiz/bin/ObjectFactory.php 56\n
function:</b> getObject ( "system.do.UserDO", 0 ) @ /var/www/siremis-4.2.0/openbiz/bin/BizSystem.php 252\n
function:</b> getObject ( "system.do.UserDO" ) @ /var/www/siremis-4.2.0/siremis/modules/service/authService.php 92\n
function:</b> authDBUser ( "admin", "admin" ) @ /var/www/siremis-4.2.0/siremis/modules/service/authService.php 66\n
function:</b> authenticateUser ( "admin", "admin" ) @ /var/www/siremis-4.2.0/siremis/modules/user/form/LoginForm.php 92\n
function:</b> Login ( ) @ /var/www/siremis-4.2.0/openbiz/bin/BizController.php 310\n
function:</b> invoke ( ) @ /var/www/siremis-4.2.0/openbiz/bin/BizController.php 110\n
function:</b> dispatchRequest ( ) @ /var/www/siremis-4.2.0/openbiz/bin/BizController.php 32\n
function:</b> include_once ( "/var/www/siremis-4.2.0/openbiz/bin/BizController.php" ) @ /var/www/siremis-4.2.0/siremis/bin/controller.php 6</div>\nPlease ask system administrator for help...</div>\n"}]

Please help.

Best Regards

Sous

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants