Feng Forum

Support => How To's => : winhex May 30, 2011, 04:43:35 AM

: Problem after update to 1.7.4
: winhex May 30, 2011, 04:43:35 AM
Hi all, I update FengOffice from 1.7.3 to 1.7.4 version, and i have few problems:
1. after logging in Feng I always get the message:
"New version: New version of Feng Office is available. More details."
2. No one can save documents. When you save a document the user receives an error:
Error: An error occurred while saving the document
:(
Help me please to resolve this problems.

: Re: Problem after update to 1.7.4
: mmccarn May 30, 2011, 09:06:48 AM
Try the debugging (http://www.fengoffice.com/web/wiki/doku.php/debugging) suggestions in the wiki, and see if there's anything useful in the log file.
: Re: Problem after update to 1.7.4
: winhex May 31, 2011, 03:34:13 AM
Thank, mmccarn
I enable debugging and receive next error in log:

:
Session "default" started at 2011-05-31T06:21:15+0000
#1 ERROR: Error: fopen(/var/www/virtual/fo.dst.by/tmp/1592801210) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in '/var/www/virtual/fo.dst.by/application/controllers/FilesController.class.php' on line 723 (error code: 2)
#2 ERROR: Error: fputs(): supplied argument is not a valid stream resource in '/var/www/virtual/fo.dst.by/application/controllers/FilesController.class.php' on line 724 (error code: 2)
#3 ERROR: Error: fclose(): supplied argument is not a valid stream resource in '/var/www/virtual/fo.dst.by/application/controllers/FilesController.class.php' on line 725 (error code: 2)
#4 ERROR: Error: unlink(/var/www/virtual/fo.dst.by/tmp/1592801210) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in '/var/www/virtual/fo.dst.by/application/controllers/FilesController.class.php' on line 748 (error code: 2)
Time since start: 0.19774985313416 seconds
Who has ideas?
: Re: Problem after update to 1.7.4
: winhex June 02, 2011, 03:38:24 AM
bump
 ???
: Re: Problem after update to 1.7.4
: mmccarn June 02, 2011, 09:23:03 AM
Check your system's permissions for /var/www/virtual/fo.dst.by/tmp/:

- The account used to run the web server process needs read/write access to /var/www/virtual/fo.dst.by/tmp/

and/or

- the PHP "open_basedir" variable needs to include /var/www/virtual/fo.dst.by/tmp/

: Re: Problem after update to 1.7.4
: moorezilla June 02, 2011, 09:37:10 AM
Looks like it might be a file/directory permissions problem or an upload problem (in that perhaps not all files for the upgrade uploaded or overwrote the existing files). You could try chmod'ing it open a little more or uploading the files again.