Results 1 to 2 of 2

Thread: Can't edit or create user

  1. #1
    CapnKirk's Avatar
    CapnKirk is offline Member
    Join Date
    May 2009
    Posts
    10

    Default Can't edit or create user [SOLVED]

    System: sugarcrm 6.1.5, php 5.3.6

    I can view users just fine, but when I try to edit a user or create a new user, I get a blank page. I mean, the sugarcrm header is still there, but no edit form.

    Checking the apache error_log, I find the following:

    PHP Fatal error: Call to undefined function json_encode() in /var/www/localhost/htdocs/sugarcrm/modules/Users/EditView.php on line 389, referer: http://[website deleted]/sugarcrm/index.php?module=Users&action=EditView&return_modu le=Users&return_action=DetailView

    Is a php file missing or corrupted? Or a bug?

    Thanks!

    Kirk
    Last edited by CapnKirk; 2011-05-25 at 11:31 PM.

  2. #2
    CapnKirk's Avatar
    CapnKirk is offline Member
    Join Date
    May 2009
    Posts
    10

    Default Re: Can't edit or create user [SOLVED]

    I traced the problem to my build of php 5.3.6.

    My server is an up-to-date Gentoo AMD box. Although I had the USE flag set with "+json", equery showed json support NOT enabled for php.

    I recompiled, watching the build carefully to make sure that json support was indeed being compiled into php. After the build was finished, I restarted Apache, checked with equery which now shows php with json support.

    In sugarcrm I can now edit and create users.

    I don't understand how it happened that json USE was enabled, but not compiled in. [sigh] Gremlins.

    Kirk

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Save button not working in Create/Edit User page
    By avisamsetty in forum Developer Help
    Replies: 3
    Last Post: 2011-11-13, 06:44 AM
  2. Can't Add/Edit an email on the Create/Edit Lead pages
    By work77 in forum Developer Help
    Replies: 2
    Last Post: 2010-11-04, 11:40 AM
  3. Create but not Edit
    By maturs in forum Developer Help
    Replies: 1
    Last Post: 2008-11-18, 06:00 AM
  4. Replies: 3
    Last Post: 2008-08-06, 12:31 AM
  5. Edit Account / Create User Problem
    By adrianleevbs in forum Help
    Replies: 4
    Last Post: 2006-04-28, 07:36 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
  •