Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Upgrade from 2.0.18 fails despite numerous attempts

Hello everyone.

I'm trying to upgrade a vanilla install hosted on 123-reg from 2.0.18 to 2.2 following the instructions here:
http://vanillaforums.org/discussion/26685/vanilla-2-1-stable-released/p1

I overwrite the files via FTP and go to visit /utility/update, yet every time I do, there is nothing but the following error:
Fatal error: Call to undefined function val() in /home/cluster-sites/1/s/sanguinehunt.co.uk/public_html/forum/library/core/class.autoloader.php on line 442

This displays on all pages of the forum. I have attempted this 4 times, each time starting afresh.

Can anybody shed light? These are desperate times.
Thanks in advance to you all.

Answers

  • whu606whu606 I'm not a SuperHero; I just like wearing tights... MVP

    @Jiggens

    Welcome to the community!

    Firstly, you should only upgrade to the latest version of 2.1 for now (see link at top of page.) 2.2 is not ready for production environments yet.

    For your error, can you let us know what version of php your host provides?

  • Thanks for the welcome and reply :)

    I shall try again now, upgrading to 2.1 instead.

    PHP is set to 5.4.
    5.2 through 5.5 are available.

  • whu606whu606 I'm not a SuperHero; I just like wearing tights... MVP

    Anything from 5.2 should be fine, so that probably isn't the problem.

  • I followed the process as before, using 2.1.12p3. I now get the following error:

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

    More information about this error may be available in the server error log.

    Apache/2.4.12 (Unix) Server at forum.sanguinehunt.co.uk Port 80

  • whu606whu606 I'm not a SuperHero; I just like wearing tights... MVP

    Can you look at the error log on the server and post what it says?

  • whu606whu606 I'm not a SuperHero; I just like wearing tights... MVP

    You might want to try installing a clean version of 2.1 in a separate folder, to make sure your server set-up works with it.

  • JiggensJiggens New
    edited October 2015

    Sorry, it's quite a chunk.

    forum.sanguinehunt.co.uk [Thu Oct 29 12:57:55 2015] [error] [client 86.163.8.103:52744] AH01215: PHP Fatal error:  Call to undefined function val() in /home/cluster-sites/1/s/sanguinehunt.co.uk/public_html/forum/library/core/class.request.php on line 341: /home/cluster-sites/1/s/sanguinehunt.co.uk/public_html/forum/index.php
    forum.sanguinehunt.co.uk [Thu Oct 29 12:57:56 2015] [error] [client 86.163.8.103:52744] End of script output before headers: index.php
    forum.sanguinehunt.co.uk [Thu Oct 29 12:57:56 2015] [error] [client 86.163.8.103:52857] AH01215: PHP Fatal error:  Call to undefined function val() in /home/cluster-sites/1/s/sanguinehunt.co.uk/public_html/forum/library/core/class.request.php on line 341: /home/cluster-sites/1/s/sanguinehunt.co.uk/public_html/forum/index.php
    forum.sanguinehunt.co.uk [Thu Oct 29 12:57:56 2015] [error] [client 86.163.8.103:52857] End of script output before headers: index.php
    forum.sanguinehunt.co.uk [Thu Oct 29 12:59:58 2015] [error] [client 86.163.8.103:49493] AH01215: PHP Fatal error:  Call to undefined function val() in /home/cluster-sites/1/s/sanguinehunt.co.uk/public_html/forum/library/core/class.request.php on line 341: /home/cluster-sites/1/s/sanguinehunt.co.uk/public_html/forum/index.php
    forum.sanguinehunt.co.uk [Thu Oct 29 12:59:58 2015] [error] [client 86.163.8.103:49493] End of script output before headers: index.php
    forum.sanguinehunt.co.uk [Thu Oct 29 12:59:59 2015] [error] [client 86.163.8.103:49638] AH01215: PHP Fatal error:  Call to undefined function val() in /home/cluster-sites/1/s/sanguinehunt.co.uk/public_html/forum/library/core/class.request.php on line 341: /home/cluster-sites/1/s/sanguinehunt.co.uk/public_html/forum/index.php
    forum.sanguinehunt.co.uk [Thu Oct 29 12:59:59 2015] [error] [client 86.163.8.103:49638] End of script output before headers: index.php
    forum.sanguinehunt.co.uk [Thu Oct 29 13:00:27 2015] [error] [client 86.163.8.103:55358] AH01215: PHP Fatal error:  Call to undefined function val() in /home/cluster-sites/1/s/sanguinehunt.co.uk/public_html/forum/library/core/class.request.php on line 341: /home/cluster-sites/1/s/sanguinehunt.co.uk/public_html/forum/index.php
    forum.sanguinehunt.co.uk [Thu Oct 29 13:00:27 2015] [error] [client 86.163.8.103:55358] End of script output before headers: index.php
    forum.sanguinehunt.co.uk [Thu Oct 29 13:00:28 2015] [error] [client 86.163.8.103:55448] AH01215: PHP Fatal error:  Call to undefined function val() in /home/cluster-sites/1/s/sanguinehunt.co.uk/public_html/forum/library/core/class.request.php on line 341: /home/cluster-sites/1/s/sanguinehunt.co.uk/public_html/forum/index.php
    forum.sanguinehunt.co.uk [Thu Oct 29 13:00:28 2015] [error] [client 86.163.8.103:55448] End of script output before headers: index.php
    forum.sanguinehunt.co.uk [Thu Oct 29 13:00:43 2015] [error] [client 86.163.8.103:58225] AH01215: PHP Fatal error:  Call to undefined function val() in /home/cluster-sites/1/s/sanguinehunt.co.uk/public_html/forum/library/core/class.request.php on line 341: /home/cluster-sites/1/s/sanguinehunt.co.uk/public_html/forum/index.php
    forum.sanguinehunt.co.uk [Thu Oct 29 13:00:43 2015] [error] [client 86.163.8.103:58225] End of script output before headers: index.php
    forum.sanguinehunt.co.uk [Thu Oct 29 13:00:44 2015] [error] [client 86.163.8.103:58321] AH01215: PHP Fatal error:  Call to undefined function val() in /home/cluster-sites/1/s/sanguinehunt.co.uk/public_html/forum/library/core/class.request.php on line 341: /home/cluster-sites/1/s/sanguinehunt.co.uk/public_html/forum/index.php
    forum.sanguinehunt.co.uk [Thu Oct 29 13:00:44 2015] [error] [client 86.163.8.103:58321] End of script output before headers: index.php
    forum.sanguinehunt.co.uk [Thu Oct 29 13:02:57 2015] [error] [client 86.163.8.103:56004] AH01215: PHP Fatal error:  Call to undefined function val() in /home/cluster-sites/1/s/sanguinehunt.co.uk/public_html/forum/library/core/class.request.php on line 341: /home/cluster-sites/1/s/sanguinehunt.co.uk/public_html/forum/index.php
    forum.sanguinehunt.co.uk [Thu Oct 29 13:02:57 2015] [error] [client 86.163.8.103:56004] End of script output before headers: index.php
    forum.sanguinehunt.co.uk [Thu Oct 29 13:02:57 2015] [error] [client 86.163.8.103:56117] AH01215: PHP Fatal error:  Call to undefined function val() in /home/cluster-sites/1/s/sanguinehunt.co.uk/public_html/forum/library/core/class.request.php on line 341: /home/cluster-sites/1/s/sanguinehunt.co.uk/public_html/forum/index.php
    forum.sanguinehunt.co.uk [Thu Oct 29 13:02:57 2015] [error] [client 86.163.8.103:56117] End of script output before headers: index.php
    forum.sanguinehunt.co.uk [Thu Oct 29 13:04:52 2015] [error] [client 86.163.8.103:51299] AH01215: PHP Fatal error:  Call to undefined function val() in /home/cluster-sites/1/s/sanguinehunt.co.uk/public_html/forum/library/core/class.request.php on line 341: /home/cluster-sites/1/s/sanguinehunt.co.uk/public_html/forum/index.php
    forum.sanguinehunt.co.uk [Thu Oct 29 13:04:52 2015] [error] [client 86.163.8.103:51299] End of script output before headers: index.php
    forum.sanguinehunt.co.uk [Thu Oct 29 13:04:52 2015] [error] [client 86.163.8.103:51387] AH01215: PHP Fatal error:  Call to undefined function val() in /home/cluster-sites/1/s/sanguinehunt.co.uk/public_html/forum/library/core/class.request.php on line 341: /home/cluster-sites/1/s/sanguinehunt.co.uk/public_html/forum/index.php
    forum.sanguinehunt.co.uk [Thu Oct 29 13:04:52 2015] [error] [client 86.163.8.103:51387] End of script output before headers: index.php
    sanguinehunt.co.uk [Thu Oct 29 13:00:23 2015] [error] [client 86.163.8.103:54362] End of script output before headers: index.php
    
  • hgtonighthgtonight ∞ · New Moderator

    Do you have a file /library/core/functions.compatibility.php?

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • I do indeed.

  • hgtonighthgtonight ∞ · New Moderator

    Does it have a function definition for val?

    Search for function val in the file.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    It looks like not all the files were transferred well. Try to re-upload the core files. If you have a default.master.php file in the dashboard/views folder you must remove it it is vestigial file from 2.0
    You also need to make sure your htaccess file correctly configured.

  • @vrijvlinder I do not currently have access to the machine, but may I ask how I should correctly configure the htaccess when I do? is there a change to be made when I switch versions?

    @hgtonight I cannot look right now, but if it is missing what should I add?

    Thank you all for the helps.

  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    @Jiggens said:
    how I should correctly configure the htaccess when I do? is there a change to be made when I switch versions?

    The htaccess file gets overwritten by the new installation because it is a hidden file. You need to post the contents of the htaccess file to be sure how to proceed. I can't guess what you have.

  • LincLinc Detroit Admin

    This does sound like a incomplete file transfer.

Sign In or Register to comment.