On March 26, 2019 we launched new MODX Forums. Please join us at the new MODX Community Forums.
Subscribe: RSS
  • I have the same issue with Error 404 Logger. I’ve tracked this done to a php.ini setting. I needed to change my original php.ini, since register_globals was on. Using the original php.ini, I was able to view the module. After I had uploaded the php.ini.recommended (from php.net), things went wrong (showing the actual php content in the manager frame.

    Below is a summary of the difference between the two php.ini files. Hope this helps someone. I haven’t figured out which setting to change to get this working.

    Directive                 PHP.INI.REC         PHP.INI ORG (working)
    
    highlight.comment	#FF8000	#FF8000		#FF9900	#FF9900	
    highlight.default	#0000BB	#0000BB		#0000CC	#0000CC	
    highlight.keyword	#007700	#007700		#006600	#006600	
    highlight.string	#DD0000	#DD0000		#CC0000	#CC0000	
    log_errors	On	On		Off	Off	
    max_input_time	60	60		-1	-1	
    memory_limit	128M	128M		8M	8M	
    register_argc_argv	Off	Off		On	On	
    register_globals	Off	Off		On	On	
    register_long_arrays	Off	Off		On	On	
    sendmail_from	no value	no value		me@localhost.com	me@localhost.com	
    short_open_tag	Off	Off		On	On	
    track_errors	On	Off		On	On	
    upload_max_filesize	2M	2M		16M	16M	
    y2k_compliance	On	On		Off	Off	
    session.bug_compat_42	Off	Off		On	On	
    session.gc_divisor	1000	1000		100	100	
    session.gc_maxlifetime	1440	1440		5400	5400	
    session.gc_probability	1	1		100	100	
    session.hash_bits_per_character	5	5		4	4	
    session.save_path	no value	no value		/tmp	/tmp	
    session.use_trans_sid	0	0		1	1	
    

    • Well, the previous post did have the solution in there grin

      I’ve changed only short_open_tag = Off to short_open_tag = On and this problem went away (also with Error404Logger, btw).

      Hope this helps someone.
      • Short tags should be a major no-no too! I think they’ve in fact been deprecated in PHP6.
          Ryan Thrash, MODX Co-Founder
          Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • But would that mean that these two modules are the only ones to use short tags?
          • Damn! I love the PHP short tags! undecided
              Medianotions – Studio für Webdesign
              http://www.medianotions.de