Feng Forum

Support => Feng Office 2 => : WillyW February 26, 2014, 10:39:30 AM

: Can't save HTML documents since update to 2.5.1
: WillyW 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
: Re: Can't save HTML documents since update to 2.5.1
: franponce87 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
: Re: Can't save HTML documents since update to 2.5.1
: WillyW 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.
: Re: Can't save HTML documents since update to 2.5.1
: franponce87 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
: Re: Can't save HTML documents since update to 2.5.1
: WillyW 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.
: Re: Can't save HTML documents since update to 2.5.1
: kkreutz 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
: Re: Can't save HTML documents since update to 2.5.1
: franponce87 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
: Re: Can't save HTML documents since update to 2.5.1
: WillyW 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.
: Re: Can't save HTML documents since update to 2.5.1
: WillyW 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
: Re: Can't save HTML documents since update to 2.5.1
: bradleyj 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.
: Re: Can't save HTML documents since update to 2.5.1
: sinan April 30, 2014, 06:58:39 AM
Hi,
Reply #8   is solved my problem.