Author Topic: [SOLVED] 1.5.2 Mail Body not showing  (Read 4728 times)

fernando6

  • Newbie
  • *
  • Posts: 7
    • View Profile
[SOLVED] 1.5.2 Mail Body not showing
« on: August 20, 2009, 10:52:27 am »
When opening a mail the body is missing. I get the next log error:

Session "default" started at 2009-08-20T13:37:30+0000
#1 ERROR: Error: file_get_contents(/opengoo/tmp/1temp_mail_content.html) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: No such file or directory in 'C:\Inetpub\Apache\htdocs\opengoo\application\controllers\MailController.class.php' on line 725 (error code: 2)
Time since start: 0.16012597084045 seconds

The file 1temp_mail_content.html is created and inside is the mail body.

Apache 2
PHP 5
Firefox 3.5
« Last Edit: August 26, 2009, 09:06:08 am by fernando6 »

fernando6

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: 1.5.2 Mail Body not showing
« Reply #1 on: August 21, 2009, 11:59:39 am »
OK, I've posted 4 times but never had a reply, what`s the problem???

andy.hoyle

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: 1.5.2 Mail Body not showing
« Reply #2 on: August 21, 2009, 12:03:22 pm »
Did you upgrade since you received this email?

See post:

http://forums.opengoo.org/index.php?topic=2500.0

Quote
FIX HERE: Upgrade instructions did not advise to keep TMP directory which was needed for below operations. Thus upgrade instruction should say in para 3: but keeping these folders: config tmp upload

fernando6

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: 1.5.2 Mail Body not showing
« Reply #3 on: August 21, 2009, 03:56:48 pm »
I Upgraded first and then config the mail account. It happens with any mail i try to open

black12ch

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
Re: 1.5.2 Mail Body not showing
« Reply #4 on: August 23, 2009, 06:59:15 am »
Hello everybody

I have the same error - after an installation, no upgrade.

Thanks,
black12ch


alvarotm01

  • Administrator
  • Sr. Member
  • *****
  • Posts: 335
    • View Profile
    • Email
Re: 1.5.2 Mail Body not showing
« Reply #5 on: August 24, 2009, 10:52:43 am »
Hi,
to fix this bug you must replace line 718 of /application/controllers/MailController.class.php
with this one:
Code: [Select]
$filename = ROOT."/tmp/".$acc_id."temp_mail_content.html";

regards

black12ch

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
Re: 1.5.2 Mail Body not showing
« Reply #6 on: August 24, 2009, 11:13:01 am »
Thanks a lot for your solution, alvarotm01. It works perfectly  :D :D
Regards, black12ch


fernando6

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: 1.5.2 Mail Body not showing
« Reply #7 on: August 26, 2009, 09:04:48 am »
Thanks, it works.