<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>The following PHP is what I have in a page.tpl.php, and it worked before I upgraded Drupal 6.14 to 6.19 and enabled clean URLs (with Pathauto).</div><div><br></div><div>Now when I submit a profile edit, the page just reloads quickly, but nothing is written to the database. Anyone know why? Need more info? Thanks!</div><div><br></div><div><?php</div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div>global $user;</div><div>// if the user is logged in</div><div>if ($user->uid > 0) {</div><div> module_load_include('inc', 'user', 'user.pages');</div><div> profile_load_profile($user);</div><div> print(drupal_get_form('user_profile_form', $user, 'Personal Information'));</div><div>}</div><div>else {</div><div>// do something else</div><div>}</div></blockquote><div>?></div><div><br></div><div>OLD CODE...</div><div><br></div><div><div><?php /*</div><div>global $user;</div><div>$uid = $user->uid;</div><div>if ($uid > 0) {</div><div> include_once drupal_get_path('module', 'user') . '/user.pages.inc';</div><div> // print(drupal_get_form('user_profile_form', $user));</div><div> profile_load_profile($user);</div><div> // var_dump($user);</div><div> print(drupal_get_form('user_profile_form', $user, 'Personal Information'));</div><div>}</div><div>*/</div><div>?></div></div><div><br></div></body></html>