Errors - for the tech admin

Discussion in 'Site Feedback/Bugs' started by Steve R, Dec 17, 2011.

  1. Steve R

    Steve R Soil Furtler

    Joined:
    Feb 15, 2008
    Messages:
    3,892
    Gender:
    Male
    Occupation:
    Carer
    Location:
    Cumbria
    Ratings:
    +3,703
    When clicking on some members names, then clicking to view their profile, throws the following error.

    "Warning: mktime() expects parameter 4 to be long, string given in [path]/includes/class_userprofile.php on line 260"

    It does not happen with all members.

    Steve...:)
     
  2. Richard.R

    Richard.R Guest

    Ratings:
    +0
    Its when their birth date isn't set properly (a impossible year like 6630)

    These can however be fixed on a case by case basis (by any admin level staff member or by the member(s) in question)

    sadly the only global fix would require deleting everyone's birthdate details
     
    • Like Like x 1
    • Steve R

      Steve R Soil Furtler

      Joined:
      Feb 15, 2008
      Messages:
      3,892
      Gender:
      Male
      Occupation:
      Carer
      Location:
      Cumbria
      Ratings:
      +3,703
      Fix =
      vBulletin User Profile Error: mktime() expects parameter 4 to be long
      January 12, 2010
      in vbulletin

      Quote

      So the vbulletin community isn’t too impressed with the bugs noted in vbulletin 4 so far. But anyway, I’ve fixed one that I had so I thought I would share it.

      Warning: mktime() expects parameter 4 to be long, string given in [path]/includes/class_userprofile.php on line 260

      This arose from imported forum members having a birthday of “–”. I simply updated this to be a blank string, ie “”.

      UnQuote

      Quick sql command in phpmyadmin should sort it out for you RCR

      Steve...:)
       
    • Richard.R

      Richard.R Guest

      Ratings:
      +0
      Thanks steve however thats the fix i was referring to, its been known to clear the entire "year" column when run and not just those with strange years like (6630 etc)
       
    • Steve R

      Steve R Soil Furtler

      Joined:
      Feb 15, 2008
      Messages:
      3,892
      Gender:
      Male
      Occupation:
      Carer
      Location:
      Cumbria
      Ratings:
      +3,703
      Thats kind of odd that a fix would delete all birthdates, how about an UPDATE command, with a WHERE? But I guess thats already been tried.

      Steve...:)
       
    • SiXpence

      SiXpence Gardener

      Joined:
      Feb 14, 2012
      Messages:
      147
      Ratings:
      +47
      Richard,

      Internal Server Error

      The server encountered an internal error or misconfiguration and was unable to complete your request.
      Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
      More information about this error may be available in the server error log.

      Just one minute ago.
      :spinning:
       
    • RichardRobins

      RichardRobins Guest

      Ratings:
      +0
      umm was during that batch update, due to the huge memberlist every hour the members are getting updated bit by bit.

      hopefully by tomorrow am the batches will have finished
       
    Loading...

    Share This Page

    1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
      By continuing to use this site, you are consenting to our use of cookies.
      Dismiss Notice