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

Upgrade Beta 6 / Parse Error Code

Discussion in 'XenForo Questions and Support' started by Craig, Jan 13, 2011.

  1. Craig

    Craig Active Member

    Do I upload the one folder via my FTP program and then open it inside and go to the install folder, or do I upload each individual file?
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    You can do it as one action.
     
  3. Craig

    Craig Active Member

    Well, I did upload the "upload folder" once that was complete I went to the my browser and input the my url with upload/install/. I got a message saying I was up to date with version 5. I haven't a clue what I did wrong..... sigh......
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Sounds like you uploaded the Beta 5 folder.

    Go to the customer section, download the Beta 6 upgrade package.
    Unzip it, FTP it to your server and browse to /install once all the files are transferred.

    Literally that's all you need to do.
     
  5. gldtn

    gldtn Well-Known Member

    I don't know what I keep on doing wrong here on the upgrade. I always download the upgrade package from the customer area and overwrite all the files and I keep the existing data/ and internal_data/ with the install-lock.php in place but when I go to the browser and try to upgrade it only gives me the install option. It happens every time I try to upgrade.

    What am I possibly doing wrong here?
     
  6. gldtn

    gldtn Well-Known Member

    If i try to go to the manual upgrade option I get:


    Server Error


    Server Error

    No entry is registered for key 'cache'
    1. XenForo_Application::get() in /Users/gldtn/Sites/plantas/library/XenForo/Session.php at line 101
    2. XenForo_Session->__construct() in /Users/gldtn/Sites/plantas/library/XenForo/Install/Controller/Upgrade.php at line 43
    3. XenForo_Install_Controller_Upgrade->_setupSession() in /Users/gldtn/Sites/plantas/library/XenForo/Controller.php at line 303
    4. XenForo_Controller->preDispatch() in /Users/gldtn/Sites/plantas/library/XenForo/FrontController.php at line 309
    5. XenForo_FrontController->dispatch() in /Users/gldtn/Sites/plantas/library/XenForo/FrontController.php at line 132
    6. XenForo_FrontController->run() in /Users/gldtn/Sites/plantas/install/index.php at line 17
     
  7. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Just a guess... but are you using any caching methods like APC?

    http://xenforo.com/community/threads/tip-use-apc.6456/

    Try disabling any such caching to see if that fixes the problem.
     
  8. gldtn

    gldtn Well-Known Member

    None that I know of! I did not mess around with any caching.. :(
     
  9. dieketzer

    dieketzer Well-Known Member

    you dont upload the actual upload folder. you upload its contents.
     
  10. Mike

    Mike XenForo Developer Staff Member

    That (along with the other error) indicates your config.php file is missing.
     
    gldtn and Jake Bunce like this.
  11. gldtn

    gldtn Well-Known Member

    :/ damn, I had a config.php in my root folder as a backup and forgot that it doesn't go there. That was the whole problem, thanks Mike!
     
  12. Craig

    Craig Active Member

    I did that the second time and still received; "You are already running the current version (1.0.0 Beta 5). To do a fresh install, click here."
     
  13. Craig

    Craig Active Member


    Ok, this time I downloaded the beta 6 again, opened the downloaded file, then i opened the file that said upload, copied all of those files, and through my FTP program I uploaded them to the main XenForo file. then when i tried to do the www.mysite.com/install i received the following; "
    You are already running the current version (1.0.0 Beta 5). To do a fresh install, click here."
     
  14. Brogan

    Brogan XenForo Moderator Staff Member

    Are you actually overwriting the files?
    Are you sure you're copying them to the correct location?
     
  15. Craig

    Craig Active Member


    I use CORE FTP and I move the files over to the server. I am never asked if i want to overwrite duplicate files. I believe I am in the right area. the folders i see where i place the beta 6 files include public_html, public_ftp, etc. should i put it in the file folder labled www? I looked in there and saw an install folder from 1/2/2011, that happens to be when I originally uploaded beta 5.​
     
  16. Brogan

    Brogan XenForo Moderator Staff Member

    If there is no prompt to overwrite then you are not copying to the correct folder, unless you have configured the FTP client to automatically overwrite.

    Where is your forum installed relative to the webroot?
    Is it in the root, /community, /forum ?

    Wherever it is, upload the contents of the upload directory to there.
     
  17. Dean

    Dean Well-Known Member

    It works like this:
    /home directory which will have things like public_html, www, public_ftp

    /home/public_html - is where your url should point to. So if your site name is www.craig.com - that url would go to that directory.

    So if you want www.craig.com to be where your xf forum is, put the contents of the upload folder into the public_html directory.
     
  18. Craig

    Craig Active Member

    The Angels sang and the trumpets sounded..... I found it in the folder www not sure how it wound up there but it is now updating to Beta 6. Thanks to all for the help....
     
  19. Craig

    Craig Active Member

    Well, I guess I spoke too soon. When I go to ACP>Users and click on a members name I get the following error code;
    Parse error: syntax error, unexpected $end in /home/wrxmod/public_html/library/XenForo/Model/UserGroup.php on line 399
     
  20. Dean

    Dean Well-Known Member

    First of all, I believe the www and public_html directories are the same thing. But as a general rule I use public_html.

    If you are getting into the Admin CP then you are getting much farther than you have been. I'm not sure what to make of that error, perhaps someone else does.. But I would expect it may come down to having something either uploaded to the wrong place.. or something simple like that.
     

Share This Page