1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[Paid] "A server error occurred. Please try again later."

Discussion in 'Custom Service/Development Requests' started by Michael Murguia, Oct 5, 2016.

  1. Michael Murguia

    Michael Murguia Active Member

    Hello, Help!

    I am looking for someone to work with who can help me trouble shoot a forum issue. After a hack, I restored the forum directory, but the forums still do not connect to the database.

    If you are available tonight, send me a message please!

    Thank you,

    Michael
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    Your license has active support so it is something we might be able to initially help with via ticket support or a troubleshooting thread. If you create a ticket include login details for your Admin CP and database access too if possible.
     
  3. Michael Murguia

    Michael Murguia Active Member

    I'm feeling quite hopeless, and I don't give up easy. I've been submitting tickets all day and it is not a very good solution to solving problems so far. I'll try.
     
  4. Chris D

    Chris D XenForo Developer Staff Member

    You haven't submitted any tickets to us. There are of course some things we can't totally help with, such as if the issue is caused by custom code or a customisation, but we can at least find out what the problem is and if we can't fix it ourselves, point you in the right direction. You can create a ticket from your Customer Area.
     
  5. Michael Murguia

    Michael Murguia Active Member

    I should have been more clear. I did not mean tickets to xenforo. I meant to others to try to resolve this. It's been a ticket day. I found out the id column in the users table has been dropped. That was a hack. I don't think you can help me.
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    Do you have a recent backup you can restore from?

    One which was taken just prior to the column being dropped?
     
  7. Michael Murguia

    Michael Murguia Active Member

  8. Brogan

    Brogan XenForo Moderator Staff Member

    That would be the quickest and easiest way to resolve it.

    Any content created since the backup was taken will be lost though, should you restore from it.
     
  9. Michael Murguia

    Michael Murguia Active Member

    Thanks. I might just get someone to insert that column into the database and see if that does it. Should that work?
     
  10. Brogan

    Brogan XenForo Moderator Staff Member

    As long as the IDs all line up, it should work.
     
  11. wang

    wang Well-Known Member

    In your previous post you mention an id column, was that the user_id column? If yes, then inserting that column will not fix the issue. I think that the best way is to restore a backup as advised above.
     
  12. Michael Murguia

    Michael Murguia Active Member

    OK, I am in the process of getting this resolved. I inserted the id column (with values) and it is working. i have a couple small issues (I hope they are small). One of which is:

    Clicking on a member name in the "Members Online Now" widget generates a Javascript error message. I'm working with a developer tomorrow. Anyone have an idea in the meantime?

    M
     
  13. Digital Doctor

    Digital Doctor Well-Known Member

    Any in particular ?
    Do you have to rebuild the site ? rebuild the caches ?
     
  14. Digital Doctor

    Digital Doctor Well-Known Member

    search the forums here for people who have restored their xenforo installs.

    -- Rebuild Caches --
    To rebuild it, click on the Tools tab and then the Rebuild Caches icon. Depending on the number of posts and quantity of data, this could take a long time.

    Doubt it will help mind you :)
     
  15. Michael Murguia

    Michael Murguia Active Member

    unfortunately just this:

    The following error occurred
    The server responded with an error. The error message is in the JavaScript console.

    I don't have a java script console :/
     
  16. Martok

    Martok Well-Known Member

    It's the browser console that most modern desktop browsers have. In Chrome it's right click and then Inspect, then click on Console. For Firefox it's right click and Inspect Element, then click on Console.

    The console can also be opened directly with keyboard shortcuts in various browsers as detailed here:

    http://webmasters.stackexchange.com...-the-javascript-console-in-different-browsers
     
  17. Michael Murguia

    Michael Murguia Active Member

    Hi all, thanks for the help so far.

    I rebuilt caches, did a clean install of Xenforo, and confirmed the file health check. There are a few areas of the forums where clicking on a user profile does not properly pop up the user info display card. The Java error I get is:

    Code:
    <div class="baseHtml"><h4>Template Errors: member_card</h4><ol>
        <li><i>Invalid argument supplied for foreach()</i> in /home/overlan7/public_html/forums/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 99: <pre>98:     ';
    99: foreach ($user['favoriteBadges'] AS $favoriteBadge)
    100: {
    </pre></li>
    </ol></div>
    
    Thanks for any input!

    M
     
  18. Brogan

    Brogan XenForo Moderator Staff Member

    That would appear to be an error with an add-on - something related to 'favorite badge'.

    The developer should be able to help with that.
     
  19. Michael Murguia

    Michael Murguia Active Member

Share This Page