Results 1 to 2 of 2

Thread: Forums module in 4.5.1 : error message

  1. #1
    mdemarest is offline Junior Member
    Join Date
    Jan 2007
    Posts
    3

    Default Forums module in 4.5.1 : error message

    Forums was working fine in the last release, but not working in 4.5.1

    installed successfully, but when I go to add a Topic i get:

    Fatal error: Only variables can be passed by reference in /home/mysite/public_html/sugarroot/modules/ForumTopics/Save.php on line 61

    PLEASE advise

    thanks!!

  2. #2
    kenlohwh is offline Sugar Community Member
    Join Date
    Oct 2006
    Posts
    24

    Default Re: Forums module in 4.5.1 : error message

    Similarly, when I upgrade from 4.5.0g to 4.5.1a, I've got the following similar error:
    Code:
    Fatal error: Only variables can be passed by reference in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\SugarSuite\include\Localization\Localization.php on line 540
    To circumvent this problem, I'm changing the code in the culprit line from:
    Code:
    array_key_exists($this->localeNameFormat{$i}, $names)
    to
    Code:
    array_key_exists($foo=$this->localeNameFormat{$i}, $names)
    as I have usually done for errors like this which occurs when codes were written for PHP4 but installed in PHP5.

    If anyone know of any other solution, maybe a more permanent ones, please do share it in this thread.

    Ken
    simplestrats.com
    Last edited by kenlohwh; 2007-03-14 at 06:18 AM. Reason: To make message more concise.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Module Builder
    By Olavo in forum Downloads
    Replies: 418
    Last Post: 2009-02-26, 06:36 AM
  2. Replies: 1
    Last Post: 2006-09-11, 03:38 PM
  3. 4.5 forums module
    By hubdigital in forum Help
    Replies: 2
    Last Post: 2006-09-08, 04:43 AM

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
  •