Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now

[resolved] Script not seeing the upgrade error 500

Hi guys

I am upgrading to 1.10 and can't get back in to run the upgrade script getting error 500.

My hoster runs the latest software on its databases.

image

I only uploaded the files in the upload folder and put them into the correct folder in the ftp.

Thanks

Kriss :)

Comments

  • edited December 2016
    Consult your PHP error logs.
  • Next question how if I can't get into the system?

    I am not technical on script side of things...sorry

    Kriss :)
  • Ok found it!

    And here are the errors

    kellinoservices.co.uk [Thu Dec 01 17:51:52 2016] [error] [client 95.144.61.217:38089] AH01215: PHP Fatal error:  Only variables can be passed by reference in /home/sites/nikmania.me.uk/public_html/kellinoservices.co.uk/service/include/class.plugin.php on line 555: /home/sites/nikmania.me.uk/public_html/kellinoservices.co.uk/service/scp/settings.php
    kellinoservices.co.uk [Thu Dec 01 17:53:31 2016] [error] [client 95.144.61.217:41004] AH01215: PHP Fatal error:  Only variables can be passed by reference in /home/sites/nikmania.me.uk/public_html/kellinoservices.co.uk/service/include/class.plugin.php on line 555: /home/sites/nikmania.me.uk/public_html/kellinoservices.co.uk/service/index.php
    kellinoservices.co.uk [Thu Dec 01 17:56:22 2016] [error] [client 95.144.61.217:58354] AH01215: PHP Fatal error:  Only variables can be passed by reference in /home/sites/nikmania.me.uk/public_html/kellinoservices.co.uk/service/include/class.plugin.php on line 555: /home/sites/nikmania.me.uk/public_html/kellinoservices.co.uk/service/scp/upgrade.php
    kellinoservices.co.uk [Thu Dec 01 17:57:29 2016] [error] [client 95.144.61.217:41509] AH01215: PHP Fatal error:  Only variables can be passed by reference in /home/sites/nikmania.me.uk/public_html/kellinoservices.co.uk/service/include/class.plugin.php on line 555: /home/sites/nikmania.me.uk/public_html/kellinoservices.co.uk/service/scp/upgrade.php
    kellinoservices.co.uk [Thu Dec 01 17:58:23 2016] [error] [client 95.144.61.217:46547] AH01215: PHP Fatal error:  Only variables can be passed by reference in /home/sites/nikmania.me.uk/public_html/kellinoservices.co.uk/service/include/class.plugin.php on line 555: /home/sites/nikmania.me.uk/public_html/kellinoservices.co.uk/service/scp/settings.php
    kellinoservices.co.uk [Thu Dec 01 18:09:28 2016] [error] [client 95.144.61.217:35074] AH01215: PHP Fatal error:  Only variables can be passed by reference in /home/sites/nikmania.me.uk/public_html/kellinoservices.co.uk/service/include/class.plugin.php on line 555: /home/sites/nikmania.me.uk/public_html/kellinoservices.co.uk/service/scp/settings.php
    kellinoservices.co.uk [Thu Dec 01 18:20:08 2016] [error] [client 23.25.243.189:52596] AH01215: PHP Fatal error:  Only variables can be passed by reference in /home/sites/nikmania.me.uk/public_html/kellinoservices.co.uk/service/include/class.plugin.php on line 555: /home/sites/nikmania.me.uk/public_html/kellinoservices.co.uk/service/index.php
    kellinoservices.co.uk [Thu Dec 01 18:32:40 2016] [error] [client 95.144.61.217:60147] AH01215: PHP Fatal error:  Only variables can be passed by reference in /home/sites/nikmania.me.uk/public_html/kellinoservices.co.uk/service/include/class.plugin.php on line 555: /home/sites/nikmania.me.uk/public_html/kellinoservices.co.uk/service/scp/settings.php

    Kriss :)


  • I have no way of knowing how you log into your web server.
    Some common options are: CPanel, SSH, Telnet, FTP/sFTP, RDP, VNC, 

  • Look above I found it...  thanks to a great hoster and their support system :)

    Next question what does that mean?  Something I can do or does my hoster have to do it?

    Kriss :)
  • I find it funny that one of the logs was me hitting your site. ;)

    What version of PHP is your site running?
  • edited December 2016
    Here are all the details on my database...



    and LOL... :)
  • edited December 2016
    That image shows a lot of information... but the version of PHP that you are running is not one of them.

    P.S. I've removed the image for your security.
  • ok sorry I suffer with ME/CFS and at the moment the brain is rather fogged....

    Just checked they run 5.3

    Kriss :)
  • Then you cannot upgrade to 1.10.  
    I think that starting with 1.9 PHP 5.4 is required.
    I use 5.6 which seems the most stable to me.
    1.10 also introduces PHP7 support.

    Can you talk to your host and see about getting PHP5.6?
  • I can change it to 5.4 or 5.5 :)

    Boy learning more and more here... love it!

    Now if I do change it what will happen? or should I ask my hoster?

    Kriss :)
  • A lot of web hosts have multiple versions of PHP available to the end user, and allows them to toggle between them at some point.  This is usually done in a web control panel and usually just alters the back end configuration to determine which version to use.  I would say try changing to 5.5.  Then go back to the page and see what happens.
  • ok I will do that...

    Did it no change :(

    I will ask my hoster if they have 5.6 due... :)

    Kriss :)
  • I dont know that it would be an immediate change... you might want to ask their tech support how long it takes.
    (I've also never run PHP 5.5, IO went from 5.3 to 5.6, and my next jump will be to 7 probably next year)
  • Ok I have put through a support ticket to them and will see what happens.

    Thanks for all your help!

    Kriss :)
  • They came back to me and changed my .htaccess file so I can no use 5.6 and it is up and running... :) :)

    Just can't find this...

    Please take a minute to delete setup/install directory (../setup/) for security reasons.

    there is no directory just an install.php... is that what they are talking about?

    Kriss :)
  • Can you email me a screen shot of
    /home/sites/nikmania.me.uk/public_html/kellinoservices.co.uk/service/

    neil at osticket dot com.
  • ok sent!

    Kriss :)
  • came back left a dot in it!  doh!

    Kriss :)
  • emailed a reply.
  • Got it!

    All done and working...

    Thanks for all your help!

    Kriss :)
  • Very welcome Kriss!  
    Have a great weekend.
This discussion has been closed.