Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

Edit_profile.php and profile.php error

Hi, i don't what to do. Every time i go to edit profile on my page, and press save, it says "Profile successfully updated"... but the filled out things are gone.. and when i go to profile, there is nothing updated.... what is the problem? i hope you can help me...

Thanks in advanced.
I have this problem once since I messed up with edit_profile.php and using DISABLED to disable some filed there, If you do replace the existing file edit_profile.php with original one.

I hop that solve the problem.
No, sorry, that do 't worked....

any other suggestions..?
OK, make sure you have the correct includes/update_profile_include.php file .

I'm sure that your problem from edit_profile.php or update_profile_include.php and this what will happen when you playing with any of both files.
i have the includes/update_profile_include.php file, and i think it's the correct one.. i have the one from php-fusion v.6.01.10...


Quote

I'm sure that your problem from edit_profile.php or update_profile_include.php and this what will happen when you playing with any of both files.


I don't understand what you mean with this...
you mean in ftp? in the folder tmp there are just files from my host... and in cache nothing...
any idea...
Please, any help... i want to open my website, but i can't if the members can not edit their profile...
If you restored the core register.php, edit_profile.php and includes/update_profile_include.php then check if you also got the core structure on your _users and _new_users tables.


i downloaded one's more the latest version of php-fusion, and replaced the files...: edit_profile.php, profile.php and includes/update_profile_include.php... and i looked into the database.. and the structures are in the tables you said...

The rare thing is that with extreme-fusion it works...
You need to ensure that all table fields are there if you compare your tables with core tables.

Run queries like these on a core installation and the one you have problems with to check if the table structures are identical:

CodeDownload  
<?php
$result = mysql_query("SHOW COLUMNS FROM {$db_prefix}users");
if (mysql_num_rows($result) > 0) {
echo "<table class='tbl-border'>\n<td colspan='2'><b>settings Table Scheme</b></td>\n";
while ($row = mysql_fetch_array($result)) {
echo "<tr><td class='tbl1'>".$row[0]."</td><td class='tbl2'>".$row[1]."</td></tr>\n";
}
echo "</table>\n";
}
?>




CodeDownload  
<?php
$result = mysql_query("SHOW COLUMNS FROM {$db_prefix}new_users");
if (mysql_num_rows($result) > 0) {
echo "<table class='tbl-border'>\n<td colspan='2'><b>settings Table Scheme</b></td>\n";
while ($row = mysql_fetch_array($result)) {
echo "<tr><td class='tbl1'>".$row[0]."</td><td class='tbl2'>".$row[1]."</td></tr>\n";
}
echo "</table>\n";
}
?>


I think it was because of the newsletter MOD or PM on Register... im not quite sure about it
Thread Information
Author
Replies
12 posts
Views
2611 times
Last Post
Last updated on 13 years ago
You can view all discussion threads in this forum.
You cannot start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You cannot download attachments in this forum.