We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3241
    • 8 Posts
    Hello good people of the MODx community

    I have a error with a fresh install of 2.0.5, I installed and then created 4 new contexts. Now when I click the contexts in the document tree I get logged out of the manager. I also get logged out when I go to system->contexts and update a context.

    Any idea what could be causing this?

    This is the entire contents of my error log:
    [2010-12-09 12:28:24] (ERROR @ /connectors/context/index.php) modManagerLog: Attempt to set NOT NULL field item to NULL
    [2010-12-09 12:28:37] (ERROR @ /connectors/context/index.php) modManagerLog: Attempt to set NOT NULL field item to NULL
    [2010-12-09 12:29:27] (ERROR @ /connectors/context/index.php) modManagerLog: Attempt to set NOT NULL field item to NULL
    [2010-12-09 12:29:45] (ERROR @ /connectors/context/index.php) modManagerLog: Attempt to set NOT NULL field item to NULL
    [2010-12-09 12:30:13] (ERROR @ /connectors/context/index.php) modManagerLog: Attempt to set NOT NULL field item to NULL
    [2010-12-09 12:32:15] (ERROR @ /connectors/context/setting.php) Error 42S02 executing statement: 
    Array
    (
        [0] => 42S02
        [1] => 1146
        [2] => Table 'db106118_gingermangroup.modx_lexicon_topics' doesn't exist
    )
    


    I cant seem to copy and paste my environment info, so here’s a summary

    MODx: 2.0.5pl - traditional
    MySQL: 5.1.26
    PHP: 5.2.14
    PDO is installed
    System: Linux n23 2.6.33.1mtv2 #1 SMP Tue Jul 20 21:31:39 PDT 2010 i686
    Server API: CGI/FastCGI
    allow_call_time_pass_reference On On
    allow_url_fopen On On
    allow_url_include Off Off
    always_populate_raw_post_data Off Off
    arg_separator.input & &
    arg_separator.output & &
    asp_tags Off Off
    auto_append_file no value no value
    auto_globals_jit On On
    auto_prepend_file no value no value
    browscap no value no value
    default_charset no value no value
    default_mimetype text/html text/html
    define_syslog_variables Off Off
    disable_classes no value no value
    disable_functions no value no value
    display_errors On On
    display_startup_errors Off Off
    doc_root no value no value
    docref_ext no value no value
    docref_root no value no value
    enable_dl On On
    error_append_string no value no value
    error_log no value no value
    error_prepend_string no value no value
    error_reporting 6135 no value
    expose_php On On
    extension_dir /usr/local/php-5.2.14-2/lib/php/20060613 /usr/local/php-5.2.14-2/lib/php/20060613
    file_uploads On On
    highlight.bg #FFFFFF #FFFFFF
    highlight.comment #FF8000 #FF8000
    highlight.default #0000BB #0000BB
    highlight.html #000000 #000000
    highlight.keyword #007700 #007700
    highlight.string #DD0000 #DD0000
    html_errors On On
    ignore_repeated_errors Off Off
    ignore_repeated_source Off Off
    ignore_user_abort Off Off
    implicit_flush Off Off
    include_path .:/usr/local/php-5.2.14-2/share/pear .:/usr/local/php-5.2.14-2/share/pear
    log_errors Off Off
    log_errors_max_len 1024 1024
    magic_quotes_gpc On On
    magic_quotes_runtime Off Off
    magic_quotes_sybase Off Off
    mail.force_extra_parameters no value no value
    max_execution_time 120 120
    max_file_uploads 20 20
    max_input_nesting_level 64 64
    max_input_time -1 -1
    memory_limit 99M 99M
    open_basedir /nfs:/tmp:/usr/local:/etc/apache2/gs-bin /nfs:/tmp:/usr/local:/etc/apache2/gs-bin
    output_buffering 0 0
    output_handler no value no value
    post_max_size 8M 8M
    precision 14 14
    realpath_cache_size 16K 16K
    realpath_cache_ttl 120 120
    register_argc_argv On On
    register_globals Off Off
    register_long_arrays On On
    report_memleaks On On
    report_zend_debug On On
    safe_mode Off Off
    safe_mode_exec_dir /usr/local/php/bin /usr/local/php/bin
    safe_mode_gid Off Off
    safe_mode_include_dir no value no value
    sendmail_from no value no value
    sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
    serialize_precision 100 100
    short_open_tag On On
    SMTP localhost localhost
    smtp_port 25 25
    sql.safe_mode Off Off
    suhosin.log.phpscript.is_safe Off Off
    track_errors Off Off
    unserialize_callback_func no value no value
    upload_max_filesize 2M 2M
    upload_tmp_dir no value no value
    user_dir no value no value
    variables_order EGPCS EGPCS
    xmlrpc_error_number 0 0
    xmlrpc_errors Off Off
    y2k_compliance On On
    zend.ze1_compatibility_mode Off Off



      • 22303 MODX Staff
      • 10,725 Posts
      I can’t seem to reproduce any behavior like this. Seems very odd.

      Other than trying to flush sessions and logging back in, I’m not sure where to go on this one. What are the keys you gave these new contexts?
        • 3241
        • 8 Posts
        I havent set any context settings yet.

        The keys should be fine, they are all lowercase, all one word eg: myrestaurant

        I was getting this problem with a 2.0.4 install too, it made a large site un-manageable so I decided to try a clean install to pinpoint the problem.
          • 3241
          • 8 Posts
          Bump.

          Is anyone available to help me troubleshoot and solve this, I will happily pay for your time and expertise.