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

Beta 4 > Beta 5 Upgrade - Fatal Error

Discussion in 'Installation, Upgrade, and Import Support' started by Veer, Dec 10, 2010.

  1. Veer

    Veer Well-Known Member


    While uploading upgrade package I'm getting Fatal error on the forums:

    Fatal error: Call to undefined method XenForo_Session::startPublicSession() in /home/user/public_html/library/XenForo/Controller.php on line 286

    Also getting on /admin.php

    Fatal error: Call to undefined method XenForo_Session::startAdminSession() in /home/user/public_html/library/XenForo/ControllerAdmin/Abstract.php on line 32

    Why it comes?
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Did you have any add-ons installed in Beta 4?

    Did you encounter any problems during the FTP process?

    Are you able to access your ACP and check the error log?
  3. Mike

    Mike XenForo Developer Staff Member

    The files haven't been uploaded properly - some are beta 5, some aren't. The simplest thing is to simply reupload them.
  4. Veer

    Veer Well-Known Member

    Yes, there's nothing wrong but files being upload. There should not be that kind of errors, even I can't access ACP while we are uploading files, upload package is more than 16 mega byte and we are on shared host + slow internet connection, so it takes a lot of time. Error gone for now, thanks.
  5. Kier

    Kier XenForo Developer Staff Member

    If you have shell access you can upload the zip to your server and unzip it directly over the existing files. Should take a matter of seconds.
  6. Veer

    Veer Well-Known Member

    yeah that would be useful but hosts don't allow shell access on shared hosting packages.
    thanks anyway.
  7. Kier

    Kier XenForo Developer Staff Member

    That's true, but I'd never recommend a host that does not allow shell access. It seems so fundamental to efficiently managing a website.
    Veer and MGSteve like this.
  8. Floris

    Floris Guest

    I strongly believe that those who are serious about their site are no longer considering shared hosting and go with at least a start-up VPS account that's a few bucks more a month than shared hosting; giving them super user access to control, configure and manage their site, backups and operating systems+programs+tools.

    While a lot will disagree with me, but in that aspect I believe that shared hosting is dead. And no, I am not saying it's already gone, just saying that those who care about their site shouldn't consider it.
    Veer likes this.
  9. ragtek

    ragtek Guest

    I have to disagree.

    If people have no clue about server managment,unix systems,etc they are really lost with a own server/vps/whatever.
    They have to take care about security, spam managment, system updates, etc.......
  10. Floris

    Floris Guest

    There are managed solutions for this as well. But if you care about your site and you want to make backups and get shell access and learn a few things .. This is the way to go.
  11. Elizabeth

    Elizabeth Well-Known Member

    Even managed has limitations, they won't do everything. And you have to have a clue about what is going on to know what help to ask for in a managed solution.

    I do agree that people need to learn how to do it tho. That's one of the best things I got out of running my own server for my own sites for almost a year (about 4 years ago).
  12. Brogan

    Brogan XenForo Moderator Staff Member

    I guess I don't care about my site then being on shared hosting.

  13. MGSteve

    MGSteve Well-Known Member

    Depends on the host. The last managed server I had they did do everything, you only had to ask them and they'd do it. Mind you, it wasn't cheap - in the end I had to move providers because of the cost, but I intend to go back to them next year as they are simply the best hosting company I've ever used. (Positive Internet in the UK).
  14. Elizabeth

    Elizabeth Well-Known Member

    Steve, the problem is, even if they will do it, you have to know enough to ask for it.
  15. steven s

    steven s Well-Known Member

    With cPanel and I'm sure other webhost admin programs, I upload the entire zip file to my root directory.
    But first I select all files in my forum_dir and compress to make a backup.
    Export my database file.
    Unzip XF. Open the upload directory. Select all files. Move to /public_html/forum_dir. Run upgrade. Quick and simple.

Share This Page