<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>&lt;?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-&gt;uid &gt; 0) {</div><div>&nbsp;&nbsp;module_load_include('inc', 'user', 'user.pages');</div><div>&nbsp;&nbsp;profile_load_profile($user);</div><div>&nbsp;&nbsp;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>?&gt;</div><div><br></div><div>OLD CODE...</div><div><br></div><div><div>&lt;?php /*</div><div>global $user;</div><div>$uid = $user-&gt;uid;</div><div>if ($uid &gt; 0) {</div><div>&nbsp;&nbsp;include_once drupal_get_path('module', 'user') . '/user.pages.inc';</div><div>&nbsp;&nbsp;// print(drupal_get_form('user_profile_form', $user));</div><div>&nbsp;&nbsp;profile_load_profile($user);</div><div>&nbsp;&nbsp;// var_dump($user);</div><div>&nbsp;&nbsp;print(drupal_get_form('user_profile_form', $user, 'Personal Information'));</div><div>}</div><div>*/</div><div>?&gt;</div></div><div><br></div></body></html>