Please describe the issue you're having
If you accept the answer, please mark the topic as [SOLVED] by clicking the tick.

Moderators: RussH, cptr13

Forum rules: Just please remember to play nicely once you walk through the door. You can disagree with us, or any other commenters in this forum, but respect our space and keep your comments directed to the topic at hand.
By myshabi
#2809
Dear All:

At first, my installation is perfectly working in a shared web hosting in cpanel but lately when i check there is a bug (might be) and I need some help.

Strict Standards: Non-static method DateUtility::getWeekNumber() should not be called statically, assuming $this from incompatible context in /home/vvvvv/public_html/open/modules/calendar/CalendarUI.php on line 102

Strict Standards: Non-static method DateUtility::addDaysToDate() should not be called statically, assuming $this from incompatible context in /home/vvvvv/public_html/open/lib/DateUtility.php on line 338

Strict Standards: Non-static method DateUtility::getWeekNumber() should not be called statically, assuming $this from incompatible context in /home/vvvvv/public_html/open/modules/calendar/CalendarUI.php on line 102

Strict Standards: Non-static method DateUtility::addDaysToDate() should not be called statically, assuming $this from incompatible context in /home/vvvvv/public_html/open/lib/DateUtility.php on line 338

I tried to check but im afraid to modify the line codes. PLease help.

Mysh
User avatar
By RussH
#2810
Hi,

can you confirm what version you're running (allot of 'strict standards' errors were rectified in versions 0.9.2 and 0.9.3)

Otherwise, disable error reporting in the GUI by updating your php config in php.ini.. it will still log a warning to syslog, but it's warning level only, not an error.
User avatar
By cptr13
#2811
Also, sounds like something changed in your environment if it was working fine and then you started getting errors. Can you check your php version? Maybe your host updated it?
By myshabi
#2812
RussH wrote:Hi,

can you confirm what version you're running (allot of 'strict standards' errors were rectified in versions 0.9.2 and 0.9.3)

Otherwise, disable error reporting in the GUI by updating your php config in php.ini.. it will still log a warning to syslog, but it's warning level only, not an error.
Dear Sir:

This is the info of our webserver

Database server:
Server: Localhost via UNIX socket
Server type: MySQL
Server version: 5.6.35 - MySQL Community Server (GPL)
Protocol version: 10
User: xxxxx@localhost
Server charset: UTF-8 Unicode (utf8)

Web server:
cpsrvd 11.62.0.17
Database client version: libmysql - 5.1.73
PHP extension: mysqli

I'm running the 0.9.3-3 full which has a travis folder that i downloaded last November of 2016 (41.2MB) but when I re-download the version at opencats site, the size is different which is 20.2 MB.

Thank you for your help

Regards,
Mysh
By myshabi
#2813
cptr13 wrote:Also, sounds like something changed in your environment if it was working fine and then you started getting errors. Can you check your php version? Maybe your host updated it?
Sir:

This is the info
PHP Version 5.4.45
MySQL Version 5.6.35

Thank you for helping out

Regards,
Mysh
By myshabi
#2814
Dear Sirs:

Even the activities got some error

Strict Standards: Non-static method DateUtility::subtractDaysFromDate() should not be called statically, assuming $this from incompatible context in /home/vvvv/public_html/open/modules/activity/ActivityUI.php on line 283

Strict Standards: Non-static method DateUtility::addDaysToDate() should not be called statically, assuming $this from incompatible context in /home/vvvv/public_html/open/lib/DateUtility.php on line 282

I tried to disable the error reporting but to no avail.

Please help.

Regards,
Mysh
By myshabi
#2825
cptr13 wrote:When you reinstalled...did you follow the documentation and use composer?
Sir:

Yes, step by step that I followed the tutorials in installing and it was perfectly working for how many months, our hosting provider did not upgrade anything to our server. Hope you can figure out.

Thank you.

Regards,
Mysh
User avatar
By cptr13
#2828
Wait....stop

Php 5.4 doesn't work with composer.


Please confirm that you're running php 5.45

If that is correct You need to switch php on your webhost to 5.6

If you tell me your webhost I can help you do that.

I think these errors are a result of not running composer during the install process.

It's essential to keep these synchronized to ensur[…]

Export part in Job Order order search

Same problem as mine. Maybe you're right, I'll che[…]

The error message you're encountering indicates th[…]

Errors restoring mysqldump backup

doesnot work for me