Forums | Mahara Community

Support /
Can't see some images in a journal


Juan Ezeiza's profile picture
Posts: 35

23 October 2011, 5:03

Hi,

We are new at Mahara. We have started working with it this course. In the first journal that one of our students has published we can't see some of the pictures. We only see the pictures contained in the first and last entries:

The same happens with the spanish version of the journal:

I have verified the CHMOD permissions and everything seems to be alright. When right clicking on the link of a disappeared image to view it, we are asked to log in. After login, the image can be seen.

Any ideas about what is happening?

Thank you,

Juan Ezeiza

http://www.axular.eu

Juan Ezeiza's profile picture
Posts: 35

23 October 2011, 6:18

Sorry! I forgot to say that we are running Mahara 1.4 in a server with Ubuntu 11.04, Apache, PHP 5.3 and MySQL 5.1. Embarassed

anonymous profile picture
Account deleted
Posts: 214

23 October 2011, 9:20

Hi Juan, My initial suspicion would be that cron isn't running. Failing that, check your apache error log (/var/log/apache2/error.log) to see if there's any problems cropping up when you access the files, and when the cron runs. Andrew
Juan Ezeiza's profile picture
Posts: 35

23 October 2011, 11:16

Thank you for your answer, Andrew.

Having a look at the apache error log I've realised that there was a problem with a non standard artefact (MyLearning).  I've uninstalled the artefact. However, I can't see the images. In the admin page the cron seems to run properly, but when I've run it manually I've obtained this error log:

[Sun Oct 23 18:01:42 2011] [error] [client 88.13.186.23] [DBG] 69 (lib/cron.php:45) ---------- cron running Sun, 23 Oct 2011 18:01:42 +0200 ----------
[Sun Oct 23 18:01:42 2011] [error] [client 88.13.186.23] [DBG] 69 (lib/cron.php:168) ---------- cron finished Sun, 23 Oct 2011 18:01:42 +0200 ----------

Any ideas of what's happening?

Best regards,

Juan

Kristina Hoeppner's profile picture
Posts: 4770

23 October 2011, 19:01

Hello Juan,

How were the images included in the blog? Were they attached to the post or was their URL copied from the files area? If the latter is the case, the image won't have the correct permissions attached to it. An internal image needs to be attached to a blog post first and then you can choose it from the image picker in the editor.

Cheers

Kristina

Juan Ezeiza's profile picture
Posts: 35

24 October 2011, 9:49

Hello Kristina,

You are right. The student was copying the URL instead of attaching the images. I should have explained better the procedure to my students.

Thank you, Kristina, I was becoming crazy.

Cheers,

 

Juan

Kristina Hoeppner's profile picture
Posts: 4770

24 October 2011, 14:04

Hello Juan,

This is a common problem with the journal entry editor. Glad that it is not a permissions or cron problem.

Cheers

Kristina

Juan Ezeiza's profile picture
Posts: 35

25 October 2011, 10:20

Hi again,

I thought the problem was solved after having attached the images to the journal entries, but it's here again Yell

Permissions, cron? Any ideas???

Juan

Iñaki Arenaza's profile picture
Posts: 253

29 October 2011, 15:16

After talking with Juan and doing a bit of debugging, we've discoverd it's a bug in Mahara (present in 1.4 and master, at least).

I'll open a bug and submit a fix for review in a couple of days or so.

Saludos.
Iñaki. 

Iñaki Arenaza's profile picture
Posts: 253

05 November 2011, 10:54

This is Bug #886581

Saludos.
Iñaki

13 results