Author Topic: Feng Office 2.0.0.8 - Stable -NEW INSTALL PROBLEM  (Read 8192 times)

cooltop

  • Newbie
  • *
  • Posts: 2
    • View Profile
Feng Office 2.0.0.8 - Stable -NEW INSTALL PROBLEM
« on: March 28, 2012, 09:02:22 am »
When I try to setup Feng office 2.0.0 Stable  I get
Failed to import initial data. MySQL said: Data truncated for column 'type' at row 7


This is from a clean install of Apache, MySql and PHP all updated versions.



1.7.5 version installs with no problems.

piter

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Feng Office 2.0.0.8 - Stable -NEW INSTALL PROBLEM
« Reply #1 on: March 31, 2012, 08:01:29 am »
I've got similar problem, but I'm upgrading from 1.7.5 to 2.0.0.8.
My error is:
Failed to execute DB schema transformations. MySQL said: Data truncated for column 'type' at row 7

Version 1.7.5 is working without any problems.

Angelos

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Feng Office 2.0.0.8 - Stable -NEW INSTALL PROBLEM
« Reply #2 on: April 01, 2012, 04:05:20 am »
I've got similar problem, but I'm upgrading from 1.7.5 to 2.0.0.8.
My error is:
Failed to execute DB schema transformations. MySQL said: Data truncated for column 'type' at row 7

Version 1.7.5 is working without any problems.

Yeap we to have the same problems with the upgrade from 1.7.5 and we did change the db table prefix to fo_ but with the same results!

Any help will be greatly appreciated!

bgbearcatfan

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Re: Feng Office 2.0.0.8 - Stable -NEW INSTALL PROBLEM
« Reply #3 on: April 06, 2012, 01:32:39 pm »
Has anyone come up with a resolution for this error?  We are experiencing the same issue and have been unable to solve it.

bgbearcatfan

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Re: Feng Office 2.0.0.8 - Stable -NEW INSTALL PROBLEM
« Reply #4 on: April 06, 2012, 02:32:25 pm »
In case it helps anyone...

If i mainly configure the config.php file as well as manually run the two mysql scripts found in the installation folder, it works.  However now i'm greeted with an error message when logging in saying i need to manually create the workspace first.  SO getting closer....

palenholik

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
Re: Feng Office 2.0.0.8 - Stable -NEW INSTALL PROBLEM
« Reply #5 on: April 20, 2012, 09:31:25 am »
I resolved the issue by changing MYSQL mode in my.ini, like this.
1. Open my.ini and find "sql-mode"
2. Comment current settings by putting # key in fornt
3. Set new mode "sql-mode=MYSQL40"
4. Save and Restart MYSQL server,
5. finish Feng Office installation and return previous MYSQL mode.

All works fine...

pkjha30

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Feng Office 2.0.0.8 - Stable -NEW INSTALL PROBLEM
« Reply #6 on: February 06, 2013, 03:45:02 pm »
Had a similar problem with Version 2.2.3 beta  and previous version. The solution suggested above actually worked..

I did as suggested


# Set the SQL mode to strict For fengoffice Installation change mode
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

#sql-mode="MYSQL40"

Thanks  But developer should really find the issue here. It was not there in Version 1.7.5 . Perhaps related to mysql  4 and 5.

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: Feng Office 2.0.0.8 - Stable -NEW INSTALL PROBLEM
« Reply #7 on: February 06, 2013, 05:46:05 pm »
Hello there!
Which OS are you using? Which MySQL version?

Thanks!

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

HansDeV

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Feng Office 2.0.0.8 - Stable -NEW INSTALL PROBLEM
« Reply #8 on: March 29, 2013, 12:18:57 pm »
the problem is located in the field type of the table fo_object_types
the field  type is defined as

enum('content_object','dimension_object','dimension_group', 'located', 'comment')

This should be :

enum('content_object','dimension_object','dimension_group', 'located', 'comment','')

An empty string should be allowed as a possible value, as the field contains '' for 2 of the records in version 1.7.5

in version 2.2.4 , it can be found in
public/install/installation/templates/sql/sql_schema.php , line 140