Author Topic: Can't save HTML documents since update to 2.5.1  (Read 4787 times)

WillyW

  • Freshman
  • *
  • Posts: 15
    • View Profile
Can't save HTML documents since update to 2.5.1
« on: February 26, 2014, 10:39:30 am »
After the V 2.5.1 update it is not possible to create new HTML documents or save modified HTML documents anymore. Pressing the "save as ..." or "save with new name" buttons is doing nothing, not even an error message appears.
Does anyone have an idea how this can be fixed?


System:
OS: openSuse 12.3
FO: 2.5.1

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: Can't save HTML documents since update to 2.5.1
« Reply #1 on: February 28, 2014, 09:48:22 am »
Hello!

This should not be happening at all.

Have you looked into your error log file?
Are you 100% sure the filesystem permissions are ok?

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

WillyW

  • Freshman
  • *
  • Posts: 15
    • View Profile
Re: Can't save HTML documents since update to 2.5.1
« Reply #2 on: February 28, 2014, 01:26:59 pm »
I am not really 100% sure about the file permissions. In the error log I can't see anything related.
I did a fresh installation and copied over the config.php and the ldap.config.php as well as the content of the 'upload' folder.
Everything worked fine.
Then I connected to the original database and the same error happened again.
So I guess anything went wrong with the database during the update procedure.

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: Can't save HTML documents since update to 2.5.1
« Reply #3 on: March 04, 2014, 11:07:19 am »
You could look for information about the file system permissions in our Wiki.
Not sure either whether it is because of that or due to a corrupted database though.
Without having access to your data it would be blind guessing.

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

WillyW

  • Freshman
  • *
  • Posts: 15
    • View Profile
Re: Can't save HTML documents since update to 2.5.1
« Reply #4 on: March 05, 2014, 09:26:51 am »
Hi Francisco,
Do you have any idea what the update version 2.5.1.1 changes in the DB or with access to anything that is defined in the DB? I installed 2.5.0.1 again and it worked .... after upgrading to 2.5.1.1 the same error shows up again.

kkreutz

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Can't save HTML documents since update to 2.5.1
« Reply #5 on: March 12, 2014, 08:57:57 am »
Hello,

I just made the same experience with Ver. 2.5.1.1. Perhaps interesting to know: Creating a presentation is no problem. FO asks for the filename and saves the file.

Best regards
Klaus

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: Can't save HTML documents since update to 2.5.1
« Reply #6 on: March 17, 2014, 12:07:16 pm »
You may find the update SQL changes in the correspondent file in the source code.
Either way, last Friday the 2.5.1.2 version has been released. May be you could try it out and see how it goes.

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

WillyW

  • Freshman
  • *
  • Posts: 15
    • View Profile
Re: Can't save HTML documents since update to 2.5.1
« Reply #7 on: March 24, 2014, 12:27:36 pm »
It's the same with the latest version 2.5.1.2. It works as a fresh installation but as soon as I import the DB backup the buttons are disabled.

WillyW

  • Freshman
  • *
  • Posts: 15
    • View Profile
Re: Can't save HTML documents since update to 2.5.1
« Reply #8 on: April 07, 2014, 09:08:17 am »
User "kils" sent me the following message, which solved my problem:

i have same problem in my feng office.
my fix:

file - Code: [Select]
/public/assets/javascript/og/modules/addFileForm.js

this code:   Code: [Select]
var commentsRequired = (Ext.getDom(genid + "commentsRequired").value == 1) && (form.autosave.value == 0)
change to:  Code: [Select]
var commentsRequired = (Ext.getDom(genid + "commentsRequired").value == 1) && !form.autosave

it works for me )



I updated to version 2.5.1.3, implemented the above change and we are able to save documents again. ;D

bradleyj

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Can't save HTML documents since update to 2.5.1
« Reply #9 on: April 27, 2014, 06:03:11 pm »
I followed through with the code edit it auto saves when i switch tabs when im in the middle of a document but it doesnt Save As to where i can name the file..


 Need help.

sinan

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Can't save HTML documents since update to 2.5.1
« Reply #10 on: April 30, 2014, 06:58:39 am »
Hi,
Reply #8   is solved my problem.