Author Topic: Document: images are sometime not displayed  (Read 5365 times)

Pacana

  • Newbie
  • *
  • Posts: 1
    • View Profile
Document: images are sometime not displayed
« on: May 06, 2012, 04:28:10 pm »
Hi all,

We are currently testing Feng Office 2 for my company. I'm facing a strange problem (bug?) which can be a showstopper in our choice. Images inside a Feng Office documents are, sometimes, not displayed into this document.

We are not allowed to use hosted solution, so I downloaded Feng Office Community Edition to evaluate Feng Office.

Our configuration:
  - OpenVZ environnement
  - Debian 6 up to date
  - 2 GHz cpu / 512 MB RAM / 132 MB Swap
  - Ext3 filesystem
  - lighttpd / mysql 5.1
  - https URL
  - No warning when Feng Office is installed

Description of the problem #1:
   - Create a new document
   - Insert an image using CKEditor
   - Save the document
   - Edit the document
   - Insert a new image
   - Save the document
   - Go back to document list
   - Display the document previously created
   - The second image is not displayed

Description of the problem #2:
   - Edit a document containing one ghost image
   - Reupload the image using CKEditor
   - Save document
   - Display again the document: the newly uploaded image is still not dispalyed

I tried to find what happend.

I didn't find any usefull information on Google.

I saw in tmp that, sometimes, images upload stay into tmp directory. When they are moved in upload directory, they sometimes "disappear" from the database.

I tried to use a fresh install of Feng Office with a brand new database. Same problem.

I have no idea about what happend. I never faced such problem.

My only tip is what is displayed into cache/log.php

-------------------------------------------------------------------------------

Session "default" started at 2012-05-06T18:37:59+0000
#1 FATAL: exception 'FileDnxError' with message 'File '/home/www/html/fg/application/views/files/download_image.php' doesn't exists' in /home/www/html/fg/environment/classes/controller/PageController.class.php:308
    Stack trace:
    #0 /home/www/html/fg/environment/classes/controller/PageController.class.php(90): PageController->getTemplatePath()
    #1 /home/www/html/fg/environment/classes/controller/PageController.class.php(63): PageController->render()
    #2 /home/www/html/fg/environment/classes/Env.class.php(163): PageController->execute('download_image')
    #3 /home/www/html/fg/init.php(164): Env::executeAction('files', 'download_image')
    #4 /home/www/html/fg/index.php(9): require('/home/www/html/...')
    #5 {main}
Time since start: 0.090753078460693 seconds
-------------------------------------------------------------------------------

A 'ls /home/www/html/fg/application/views/files/" shows that /home/www/html/fg/application/views/files/download_image.php doesn't exist. Is this normal?

$ ls /home/www/html/fg/application/views/files/
add_document.php
add_file.php
add_file_revision.php
add_folder.php
add_presentation.php
add_spreadsheet.php
download_file.php
empty.php
fckImagesBrowser.php
file_details_content.php
file_details.php
index.php
order_and_pagination.php
quick_add_files.php
slideshow.php
text_edit.php

Does someone faced a similar problem? Does someone have any tips to solve this problem? I didn't find anything in this forum except an old message (2 years ago).


PS: Sorry for my bad english: this is not my mother tongue

gilles

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Document: images are sometime not displayed
« Reply #1 on: May 15, 2012, 02:49:53 am »
Same problem here with the latest Community Edition.

It worked well for a week then started throwing this error in some situations.
Seems to be linked to user permissions (maybe something to do with Super Administrator), but it is not easy to detect a clear pattern. ???

It's a stopper for me too if I cannot get it to work.

alessio

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Document: images are sometime not displayed
« Reply #2 on: June 21, 2012, 07:01:07 am »
Same problem here. Only "Super Administrator" is able to display inline images.

conrado

  • Administrator
  • Hero Member
  • *****
  • Posts: 998
  • Conrado
    • View Profile
    • Feng Office
    • Email
Re: Document: images are sometime not displayed
« Reply #3 on: June 21, 2012, 12:30:12 pm »
Is the bug reported on the issue tracking system?

Have you tried this on 2.1 RC?

@Pacana, if you are evaluating Feng Office for a company, I recommend you try the Professional Edition rather than the Community Edition.

The Professional Edition can also be hosted on your own Servers.

Saludos!
Get Official Support for your Feng Office. Support the development team. Sign up for a Free Trial here.

alvarotm01

  • Administrator
  • Sr. Member
  • *****
  • Posts: 335
    • View Profile
    • Email
Re: Document: images are sometime not displayed
« Reply #4 on: June 21, 2012, 02:43:24 pm »
This issue has been fixed for next release.
regards