[SR-Users] OpenBiz error signing into Siremis 4.1
Elena-Ramona Modroiu
ramona at asipto.com
Thu Dec 4 21:06:43 CET 2014
Can someone test using newer php versions and the latest git version of
siremis from git hub?
- https://github.com/asipto/siremis
It includes a newer smarty framework and seems to work ok with php 5.5
(on ubuntu trusty/linux mint 17).
Regarding the error with database, maybe php 5.6 has different api for
PDO or other new restrictions. I couldn't test with this version, if
anyone can confirm the error is still there with latest siremis git, I
will try to investigate more.
Ramona
On 04/12/14 19:45, Peter Villeneuve wrote:
> To reiterate. The issues seem to only popup on PHP versions greater
> than 5.4.
> Everything below 5.5 (like your 5.3) should work as expected.
>
> On Thu, Dec 4, 2014 at 5:42 PM, Virmantas Variakojis
> <virmantas.variakojis at lamoda.ru
> <mailto:virmantas.variakojis at lamoda.ru>> wrote:
>
> Works fine for me with php 5.3
>
> 2014 gruod. 4 18:26 "Peter Villeneuve" <petervnv1 at gmail.com
> <mailto:petervnv1 at gmail.com>> ras(e.:
>
> I can confirm there are issues with siremis and newer php
> versions.
> I have seen problems with Siremis and PHP > 5.4.
> In fact I reported that back in May in the sr-dev list but got
> no response.
> http://lists.sip-router.org/pipermail/sr-dev/2014-May/024183.html
>
> My errors were popping up with 5.5. I guess that with 5.6 it
> gets even worse.
>
> It seems that siremis needs to be updated to work with php
> greater then 5.4
>
> Cheers,
>
> Peter
>
> On Thu, Dec 4, 2014 at 3:29 PM, Daniel Shoemaker
> <dancoe77 at gmail.com <mailto:dancoe77 at gmail.com>> wrote:
>
> It's all working. Thanks for your help. Apparently there
> is an issue with php 5.6. When I got rid of it and
> installed php 5.4 it worked instantly.
>
> Dan
>
> On Thu, Dec 4, 2014 at 6:27 AM, Daniel Shoemaker
> <dancoe77 at gmail.com <mailto:dancoe77 at gmail.com>> wrote:
>
> When I try to sign into Siremis 4.1 using admin and
> the default password it gives me a pop-up saying that
> Openbiz has encountered an error:
>
> [{"target":"ERROR","content":"
> \n[2014-11-17 11:51:15 (GMT)] An exception occurred
> while executing this script:
> \nError message: #8192, Non-static method
> BizSystem::dbConnection() should not be called
> statically, assuming $this from incompatible
> context<\/font>
> \nScript name and line number of error:
> \/var\/www\/siremis-4.1.0\/openbiz\/bin\/data\/BizDataObj_Abstract.php:423<\/font>
> \n
>
> *function:<\/b> errorHandler ( 8192, \"Non-static
> method BizSystem::dbConnection() should not be
> called...\",
> \"\/var\/www\/siremis-4.1.0\/openbiz\/bin\/data\/BizDataObj_Abstract.php\",
> 423, Array(0) ) @
> \/var\/www\/siremis-4.1.0\/openbiz\/bin\/sysheader.inc
> 117\n
> *function:<\/b> userErrorHandler ( 8192, \"Non-static
> method BizSystem::dbConnection() should not be
> called...\",
> \"\/var\/www\/siremis-4.1.0\/openbiz\/bin\/data\/BizDataObj_Abstract.php\",
> 423, Array(0) ) @
> \/var\/www\/siremis-4.1.0\/openbiz\/bin\/data\/BizDataObj_Abstract.php
> 423\n
> *function:<\/b> getDBConnection ( ) @
> \/var\/www\/siremis-4.1.0\/openbiz\/bin\/data\/BizDataObj_Lite.php
> 406\n
> *function:<\/b> _run_search ( Array(2) ) @
> \/var\/www\/siremis-4.1.0\/openbiz\/bin\/data\/BizDataObj_Lite.php
> 345\n
> *function:<\/b> fetchRecords ( \"[username]='admin'
> and status='1'\", Array(0), 1 ) @
> \/var\/www\/siremis-4.1.0\/siremis\/modules\/service\/authService.php
> 98\n
> *function:<\/b> authDBUser ( \"admin\", \"admin\" ) @
> \/var\/www\/siremis-4.1.0\/siremis\/modules\/service\/authService.php
> 66\n
> *function:<\/b> authenticateUser ( \"admin\",
> \"admin\" ) @
> \/var\/www\/siremis-4.1.0\/siremis\/modules\/user\/form\/LoginForm.php
> 92\n
> *function:<\/b> Login ( ) @
> \/var\/www\/siremis-4.1.0\/openbiz\/bin\/BizController.php
> 310\n
> *function:<\/b> invoke ( ) @
> \/var\/www\/siremis-4.1.0\/openbiz\/bin\/BizController.php
> 110\n
> *function:<\/b> dispatchRequest ( ) @
> \/var\/www\/siremis-4.1.0\/openbiz\/bin\/BizController.php
> 32\n
> *function:<\/b> include_once (
> \"\/var\/www\/siremis-4.1.0\/openbiz\/bin\/BizController.php\"
> ) @
> \/var\/www\/siremis-4.1.0\/siremis\/bin\/controller.php 6<\/div>\n
>
> ------------------------------------------------------------------------
> Please ask system administrator for help...<\/div>\n"}]
>
> ***********
> My web server is configured to use apache and I've
> checked the ownership on the files and folder. I did
> a chmod 775 starting at the siremis-4.1.0/ directory.
> I did a search and found that the openbiz folder needs
> to be right under the siremis-4.1.0/ folder which it
> is. I have tried reinstalling only to get the same
> result. I'm currently running CentOS 7, Kernel
> 3.10.0-123.9.3, php 5.6.2-3, mariadb 10.0.14-1, &
> httpd 2.4.6-18.
>
> Dan
>
>
> --
> Daniel Shoemaker
> 501 Claire Street
> Hagerstown, MD 21740
> (240) 527-7054 <tel:%28240%29%20527-7054>
> dancoe77 at gmail.com <mailto:dancoe77 at gmail.com>
> http://www.google.com/
>
>
>
>
> --
> Daniel Shoemaker
> 501 Claire Street
> Hagerstown, MD 21740
> (240) 527-7054 <tel:%28240%29%20527-7054>
> dancoe77 at gmail.com <mailto:dancoe77 at gmail.com>
> http://www.google.com/
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
> mailing list
> sr-users at lists.sip-router.org
> <mailto:sr-users at lists.sip-router.org>
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
> mailing list
> sr-users at lists.sip-router.org
> <mailto:sr-users at lists.sip-router.org>
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
> __________________________________________________________________________
> CONFIDENTIALITY NOTICE: The information contained in the present
> message (including any information contained in attachments
> herein) may be confidential and privileged. It may be read, copied
> and used only by the intended recipient. If you have received it
> in error please contact the sender (by return e-mail) immediately
> and delete this message. Any unauthorized use or dissemination of
> this message in whole or in parts is strictly prohibited. Print
> this message only if sharp necessary.
> ??????????? ? ??????????????????: ??????????, ???????????? ?
> ????????? ????????? (??????? ????? ????????) ????? ????
> ???????????????? ? ?????????? ??????????? ?????????????????.
> ????????? ????? ???? ?????????, ??????????? ? ????????????
> ????????????? ?????, ???????? ????????? ???????????????. ???? ??
> ???????? ????????? ????????? ?? ??????, ??????????,
> ??????????????? ???????? ?? ???? ??????????? (???????? ??????? ??
> ??????????? ?????). ????? ??????????????????? ????????????? ???
> ??????????????? ??????????, ???????????? ? ????????? ????????? ?
> ????? ??? ? ?????, ?????? ?????????. ?? ?????????????? ?????????
> ?????????, ???? ? ???? ??? ??????? ?????????????.
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
> list
> sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20141204/281f273e/attachment.html>
More information about the sr-users
mailing list