Page 4 of 4 FirstFirst ... 34
Results 31 to 34 of 34

Thread: User Profiles do not update in 5.6.2 !

  1. #31
    elusuario's Avatar
    Join Date
    Sep 2006
    Posts
    173

    Cool

    Quote Originally Posted by gvpm View Post
    smoge i added this to my script

    i think its around line 509:

    PHP Code:
        if ($_POST['NewProfile'] != 'YES')
        {
            if (
    $p_arr['NickName'] != $p_arr_new['NickName'])
            {
                
    modules_update($ID''$p_arr['NickName']);
            }
            else
            {
                
    modules_update($ID);

            }
                
    unlink($sUserDataFile); 
                
    createUserDataFile$ID );
        } 
    i had the datafile get deleted and recreate itself because i notice the only time the datafile gets updated is when you log in again so i guess you can try that.(im using 5.6)
    This will improve things a little, I applied above fix and I was getting an error when using profile_edit.php as the admin to edit any pofile or approve it if there was no user data file in the server, it was just an error shown at my error log stating sometimes that there was no file to delete (unlink), as far as I can see, everything works as it should, just wanted to stop receiving that error log message.

    In the code above:

    Replace:
    Code:
                unlink($sUserDataFile);  
                createUserDataFile( $ID );
    With:
    Code:
    		if ( file_exists( $sUserDataFile ) )
    		{
    			unlink($sUserDataFile);
    			createUserDataFile( $ID );
    		}
    Take care.
    Using modified Dolphin 5.6.0002 hosted at shared server

  2. #32
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    Or - you can just disable the /cache system totally... sometimes we do that for customers also.

    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  3. #33
    elusuario's Avatar
    Join Date
    Sep 2006
    Posts
    173

    Cool

    Does disabling the cache system totally have any cons?? any relevant pros (other than solving the problem presented at this thread)?

    How you disable that? if it is ok to disabled it totally then why it is part of the script if it is not really needed?

    Sorry, some questions that came to my mind at the moment I read the previous post.

    Take care and thank you for any information.
    Last edited by elusuario; 08-15-2007 at 11:10 PM.
    Using modified Dolphin 5.6.0002 hosted at shared server

  4. #34
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    I don't think it really matters much... but who knows - nobody has really done any testing as to if the cache system makes anything faster (or slower).

    As for disabling, it, I don't usually do that - Mark does (our lead programmer) so I don't have that information on how to do it handy to share with you.

    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

Page 4 of 4 FirstFirst ... 34

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Can't browse user profiles
    By chris_h in forum Dolphin General Discussion v6.00 and above
    Replies: 1
    Last Post: 04-10-2008, 02:59 PM
  2. Adding new options to custom check box field doesn't update in user profile
    By HikeMaster in forum Dolphin General Discussion v6.00 and above
    Replies: 3
    Last Post: 02-25-2008, 05:30 PM
  3. No user profiles?
    By spewey in forum Dolphin General Discussion v6.00 and above
    Replies: 2
    Last Post: 01-23-2008, 02:24 AM
  4. Update to Full background Pictures in profiles.
    By ArnMan in forum Dolphin General Discussion v6.00 and above
    Replies: 3
    Last Post: 10-26-2007, 11:24 PM
  5. User Map for Profiles
    By mohammadali in forum Dolphin General Discussion v5.3 to v5.6.5
    Replies: 1
    Last Post: 07-17-2007, 11:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •