[wp-trac] Re: [WordPress Trac] #8317: New installs: admin has user_level 0

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 25 13:46:02 GMT 2008


#8317: New installs: admin has user_level 0
---------------------+------------------------------------------------------
 Reporter:  Mr Pete  |        Owner:  jacobsantos
     Type:  defect   |       Status:  new        
 Priority:  low      |    Milestone:  2.8        
Component:  Upgrade  |      Version:  2.5        
 Severity:  major    |   Resolution:             
 Keywords:           |  
---------------------+------------------------------------------------------
Comment (by Mr Pete):

 [How do you enable Wiki Formatting? I can't get bullets to work...]

 End of current debug pass:

 * add_cap() appears to work ok in php4 and php5

 * However, by the time get_role_caps() is called, $role->capabilities is
 an empty array in php4 but ok in php5

 Feel free to pick this up, anyone!

 Debug hints:

 * Create a temp database, have phpMyAdmin open to quickly select all
 tables and drop... to reset before each debug run

 * Have httpd.conf open to swap between php4/5 as needed

 * A debug pass is simple: http://localhost/wp/wp-admin/install.php asks
 for blog name, email. Click install, you've got your debug result
 (depending on your trace tools)

 (I'm using my WP Tuner tools, w/ a couple of minor mods to function during
 install)

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8317#comment:19>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list