Author Topic: FO 3.1 beta errors  (Read 5946 times)

marsian

  • Freshman
  • *
  • Posts: 39
    • View Profile
FO 3.1 beta errors
« on: 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:
Quote
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
Quote
#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,

MiKonst

  • Freshman
  • *
  • Posts: 41
    • View Profile
Re: FO 3.1 beta errors
« Reply #1 on: February 25, 2015, 07:00:07 am »
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.
« Last Edit: February 27, 2015, 07:54:31 am by MiKonst »

marsian

  • Freshman
  • *
  • Posts: 39
    • View Profile
Re: FO 3.1 beta errors
« Reply #2 on: February 25, 2015, 04:21:35 pm »
Update: both Errors still happen with the 3.1 release Version as well.

bukbr

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
Re: FO 3.1 beta errors
« Reply #3 on: February 26, 2015, 08:40:12 pm »
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.

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: FO 3.1 beta errors
« Reply #4 on: March 19, 2015, 04:53:03 pm »
Hmm are you still experiencing these problems in the 3.1.2.2 version? Or not anymore?

Best,
Francisco
Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!

marsian

  • Freshman
  • *
  • Posts: 39
    • View Profile
Re: FO 3.1 beta errors
« Reply #5 on: March 19, 2015, 05:40:43 pm »
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,

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: FO 3.1 beta errors
« Reply #6 on: March 20, 2015, 11:03:34 am »
Hi, thanks for your response!

Took note of it and passed it on to our Dev Team for further analysis.

Best regards,
Francisco
Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!

toyman

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: FO 3.1 beta errors
« Reply #7 on: April 08, 2015, 10:13:12 am »
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)

Dan

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: FO 3.1 beta errors
« Reply #8 on: April 08, 2015, 10:56:15 am »
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?

marsian

  • Freshman
  • *
  • Posts: 39
    • View Profile
Re: FO 3.1 beta errors
« Reply #9 on: April 08, 2015, 03:36:16 pm »
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.
« Last Edit: April 08, 2015, 06:47:11 pm by marsian »