exquiror (exquiror) wrote in lj_dev,

system user password irregularity, an unecessary opt_exclude_stats, and a missing schwartz

Setting up my own lj install and I experienced the same problems posted a couple of times in lj_everywhere to which no one ha d provided an answer. I've made some progress getting it working now:

Problem: Cannot log in as 'system'
It seems the make_system.pl script updates the system users password in the 'user' table of the database, but for some reason, the system user has a password in the table 'passwords', which contains what looks to be the "randomly generates" password from the initial creation of the system user.

Problem:  [Error: Invalid userprop opt_exclude_stats passed to LJ::load_user_props. at /home/lj/cgi-bin/LJ/User.pm line 3396. @ mysite.com]

This shows up on almost every page when logged in. You can get rid of it by adding 'opt_exclude_stats' to the 'userproplist' table. I'm guessing this prop should be removed from PageStats.pm, but I'll mitigate it with the database rather than start customising code i wanna sync to svn later.

Not yet fixed
Problem: [Error: Could not get TheSchwartz client at /home/lj/cgi-bin/LJ/EventLogRecord.pm line 61. @ mysite.com]
This happens on logout. It looks like the instance of schwartz is not in $sclient when it is expected to be. I don't know the code well enough to say anymore.. any help with this is appreciated.

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 1 comment