Results 1 to 6 of 6

Thread: Patch 4.2.0 b doesn't work for me

  1. #1
    matey is offline Sugar Community Member
    Join Date
    Apr 2006
    Posts
    10

    Default Patch 4.2.0 b doesn't work for me

    I have installed patch 4.2.0 b but after doing it the following error appears when I try to compose an e-mail:

    "Attachments may fail: No value for "upload_tmp_dir" was detected. Please correct this in your php.ini file."

    Please advise how can I fix this or better how do I uninstall the patch.

    I couldn't post under announcments
    Last edited by matey; 2006-05-18 at 02:51 PM.

  2. #2
    malcolmh's Avatar
    malcolmh is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Aug 2004
    Posts
    1,712

    Default Re: Patch 4.2.0 b doesn't work for me

    I can confirm the same message, what needs to be done to resolve this issue, cannot find anything on the php site about upload_tmp_dir?
    Cheers Malcolm

    Genius4U Limited - Ingenious simple IT solutions for you / Genial einfache IT Lösungen für Sie
    http://www.genius4u.com or http://www.genius4u.de

  3. #3
    daryll is offline Sugar Community Member
    Join Date
    Dec 2005
    Posts
    22

    Default Re: Patch 4.2.0 b doesn't work for me

    Quote Originally Posted by matey
    I have installed patch 4.2.0 b but after doing it the following error appears when I try to compose an e-mail:

    "Attachments may fail: No value for "upload_tmp_dir" was detected. Please correct this in your php.ini file."

    Please advise how can I fix this or better how do I uninstall the patch.

    I couldn't post under announcments
    Your system should have an /etc/php.ini file. My install (about half way down the file) said:

    ; Temporary directory for HTTP uploaded files (will use system default if not
    ; specified).
    ;upload_tmp_dir =

    If you change it to say

    upload_tmp_dir = /tmp

    That gets rid of the problem.

    I'd probably argue that Sugar is wrong in requiring that you set this. PHP has a default location even if this isn't set, so I'd think Sugar would just use that directory without making you set the variable.

    I haven't tried the attachments, I just know it got rid of the error message.

    - |Daryll

  4. #4
    matey is offline Sugar Community Member
    Join Date
    Apr 2006
    Posts
    10

    Default Re: Patch 4.2.0 b doesn't work for me

    Well I have bad experience patching by myself (was doing for self-service portal which works great with 4.2.0a now), because when you patch something, another bug appears lalter, so I'm waiting for stable patch, till then I will use 4.2.0a and we use .htaccess to prevent access outside company, so I think those secuirty issues fix can wait.

    I installed 4.2.0a again, because I coldn't find how to uninstall the patch. Do you know how?

  5. #5
    warmzone is offline Member
    Join Date
    Dec 2005
    Posts
    7

    Default Re: Patch 4.2.0 b doesn't work for me

    I am getting the same message. I added the /tmp to my php.ini file and still get the message.

    I patched to fix the attachment issues. I guess at least it tells me it's not going to work now. =)

  6. #6
    warmzone is offline Member
    Join Date
    Dec 2005
    Posts
    7

    Default Re: Patch 4.2.0 b doesn't work for me

    So after restarting apache this did get rid of the message. However, now it simple has no message and still won;t send attachments. If anyone has any success here please let us know.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •