Feng Forum
Support => Feng Office 3 => : marsian February 25, 2015, 03:56:56 AM
-
Hello,
we just did the upgrade to the recent FO 3.1 Beta Version, and noticed a few Errors in combination with PHP 5.6:
- upgrade script:
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /public/upgrade/library/classes/ScriptUpgrader.class.php on line 147
- error log
#1 ERROR: Error: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in '/environment/library/database/adapters/MysqlDBAdapter.class.php' on line 28 (error code: 8192)
#2 ERROR: Error: Non-static method BasePlugins::instance() should not be called statically, assuming $this from incompatible context in '/application/models/plugins/base/BasePlugin.class.php' on line 201 (error code: 8192)
#3 ERROR: Error: Non-static method BasePlugins::instance() should not be called statically, assuming $this from incompatible context in '/application/models/plugins/base/BasePlugin.class.php' on line 201 (error code: 8192)
#4 ERROR: Error: Non-static method BasePlugins::instance() should not be called statically, assuming $this from incompatible context in '/application/models/plugins/base/BasePlugin.class.php' on line 201 (error code: 8192)
#5 ERROR: Error: Non-static method BaseContacts::instance() should not be called statically, assuming $this from incompatible context in '/application/models/contacts/base/BaseContact.class.php' on line 637 (error code: 8192)
#6 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#7 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#8 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#9 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#10 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#11 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#12 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#13 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#14 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#15 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#16 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#17 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#18 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#19 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#20 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#21 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#22 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#23 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#24 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#25 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#26 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#27 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#28 ERROR: Error: Non-static method BaseObjects::instance() should not be called statically, assuming $this from incompatible context in '/application/models/objects/base/BaseObject.class.php' on line 266 (error code: 8192)
#29 ERROR: Error: Non-static method BaseContacts::findById() should not be called statically, assuming $this from incompatible context in '/application/models/ContentDataObject.class.php' on line 241 (error code: 8192)
#30 ERROR: Error: Non-static method BaseContacts::instance() should not be called statically, assuming $this from incompatible context in '/application/models/contacts/base/BaseContacts.class.php' on line 224 (error code: 8192)
#31 ERROR: Error: Non-static method BaseObjects::getColumns() should not be called statically, assuming $this from incompatible context in '/application/models/ContentDataObjects.class.php' on line 280 (error code: 8192)
#32 ERROR: Error: Non-static method BaseContacts::instance() should not be called statically, assuming $this from incompatible context in '/application/models/contacts/base/BaseContact.class.php' on line 637 (error code: 8192)
#33 ERROR: Error: Non-static method BaseObjects::instance() should not be called statically, assuming $this from incompatible context in '/application/models/objects/base/BaseObject.class.php' on line 266 (error code: 8192)
#34 ERROR: Error: Non-static method BaseObjects::findById() should not be called statically, assuming $this from incompatible context in '/application/models/ContentDataObjects.class.php' on line 327 (error code: 8192)
#35 ERROR: Error: Non-static method BaseObjects::instance() should not be called statically, assuming $this from incompatible context in '/application/models/objects/base/BaseObjects.class.php' on line 165 (error code: 8192)
#36 ERROR: Error: Non-static method BaseObjects::instance() should not be called statically, assuming $this from incompatible context in '/application/models/objects/base/BaseObject.class.php' on line 266 (error code: 8192)
#37 ERROR: Error: Non-static method BaseContacts::findById() should not be called statically, assuming $this from incompatible context in '/application/models/CompanyWebsite.class.php' on line 163 (error code: 8192)
#38 ERROR: Error: Non-static method BaseContacts::instance() should not be called statically, assuming $this from incompatible context in '/application/models/contacts/base/BaseContacts.class.php' on line 224 (error code: 8192)
#39 ERROR: Error: Non-static method BaseObjects::findById() should not be called statically, assuming $this from incompatible context in '/application/models/ContentDataObjects.class.php' on line 327 (error code: 8192)
#40 ERROR: Error: Non-static method BaseObjects::instance() should not be called statically, assuming $this from incompatible context in '/application/models/objects/base/BaseObjects.class.php' on line 165 (error code: 8192)
#41 ERROR: Error: Non-static method BaseDimensions::instance() should not be called statically, assuming $this from incompatible context in '/application/models/dimensions/base/BaseDimension.class.php' on line 249 (error code: 8192)
#42 ERROR: Error: Non-static method BaseDimensions::instance() should not be called statically, assuming $this from incompatible context in '/application/models/dimensions/base/BaseDimension.class.php' on line 249 (error code: 8192)
#43 ERROR: Error: Non-static method BaseContactConfigOptions::instance() should not be called statically, assuming $this from incompatible context in '/application/models/contact_config_options/base/BaseContactConfigOption.class.php' on line 199 (error code: 8192)
#44 ERROR: Error: Non-static method BaseContactConfigOptionValues::findById() should not be called statically, assuming $this from incompatible context in '/application/models/contact_config_options/ContactConfigOption.class.php' on line 77 (error code: 8192)
#45 ERROR: Error: Non-static method BaseContactConfigOptionValues::instance() should not be called statically, assuming $this from incompatible context in '/application/models/contact_config_options_values/base/BaseContactConfigOptionValues.class.php' on line 155 (error code: 8192)
#46 ERROR: Error: Non-static method BaseContactConfigOptionValues::instance() should not be called statically, assuming $this from incompatible context in '/application/models/contact_config_options_values/base/BaseContactConfigOptionValue.class.php' on line 110 (error code: 8192)
#47 ERROR: Error: Non-static method BasePlugins::instance() should not be called statically, assuming $this from incompatible context in '/environment/classes/localization/Localization.class.php' on line 179 (error code: 8192)
#48 ERROR: Error: Non-static method BaseConfigOptions::instance() should not be called statically, assuming $this from incompatible context in '/application/models/config_options/base/BaseConfigOption.class.php' on line 199 (error code: 8192)
#49 ERROR: Error: Non-static method ObjectReminders::getDueReminders() should not be called statically, assuming $this from incompatible context in '/application/controllers/ObjectController.class.php' on line 1810 (error code: 8192)
#50 ERROR: Error: Non-static method BaseObjectReminders::findAll() should not be called statically, assuming $this from incompatible context in '/application/models/object_reminders/ObjectReminders.class.php' on line 53 (error code: 8192)
#51 ERROR: Error: Non-static method BaseObjectReminders::instance() should not be called statically, assuming $this from incompatible context in '/application/models/object_reminders/base/BaseObjectReminders.class.php' on line 129 (error code: 8192)
#52 ERROR: Error: Non-static method BaseApplicationLogs::instance() should not be called statically, assuming $this from incompatible context in '/application/controllers/ObjectController.class.php' on line 1921 (error code: 8192)
Probably the Team wants to address that?
Thanks,
-
The same problem
-------------------------------------------
To send an email:
----------------------------------------
-------------------------------------------------------------------------------
Session "default" started at 2015-02-25T09:47:00+0000
#1 DEBUG: Die E-Mail-Adresse ist erforderlich!
#2 DEBUG: SQL ERROR: Query failed with message 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1' - SELECT * FROM `fo_members` WHERE id IN (276,)
Time since start: 0.13500809669495 seconds
-------------------------------------------------------------------------------
Thank you for quick troubleshooting
-------------------------------------------------------------------------------
Problem is solved:
- It happens (only in 3.-) if the e-mail account is not assigned to any workspace.
-
Update: both Errors still happen with the 3.1 release Version as well.
-
Update: both Errors still happen with the 3.1 release Version as well.
Yes, I agree... there's a lot of errors. In my case, all after upgrading from 3.0.6 or 3.0.7.
-
Hmm are you still experiencing these problems in the 3.1.2.2 version? Or not anymore?
Best,
Francisco
-
Hi, nope - the Errors are still generated within the logfile with 3.1.2.2, i think they came after we've upgraded to PHP 5.6 (came from 5.2).
Best regards,
-
Hi, thanks for your response!
Took note of it and passed it on to our Dev Team for further analysis.
Best regards,
Francisco
-
Same problem here.
We have tested FengOffice on:
- Windows 8.1, IIS 8.5, PHP 5.6 and MySQL 5.6
- Windows Server 2012 R2, IIS 8.5, PHP 5.6 and MySQL 5.6
on both environments we found similar error in log.php (after two days of using FengOffice - log file grown to about 450 MB). All errors says the same:
ERROR: Error: Non-static method BasePlugins::instance() should not be called statically, assuming $this from incompatible context in 'C:\inetpub\wwwroot\fengoffice\application\models\plugins\base\BasePlugin.class.php' on line 201 (error code: 8192)
-
Having the same error message. It occurs always when I try to save changes of user preferences or permissions.
#1 ERROR: Error: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in '/environment/library/database/adapters/MysqlDBAdapter.class.php' on line 28 (error code: 8192)
line 28 is: @mysql_pconnect($host, $user, $pass) :
- Running FengOffice 3.1.2.2 on Synology DS
- Server Version: MariaDB 5.5.41
- Apache Webserver
Any ideas how to fix this?
-
The error started to happen in our case after we've upgraded to PHP 5.6, probably there's a functional change in it that is triggered by the FO code?
Update: the just-released 3.1.3 still has the same issue. It created just 14k lines of error message reporting within <2hrs on a rarely used FO instance.