Advertisement:

Author Topic: Upgrade don't work.... BUG???  (Read 2088 times)

donaldblake

  • Newbie
  • *
  • Posts: 3
Upgrade don't work.... BUG???
« on: December 06, 2011, 11:26:17 am »
The problems exist also in 2.2.3 and 2.3.0

When I try to upgrade the software from his control panel and click "upgrade now", all seem to start and the icon near to "Upgrading your OSClass installation (this could take a while):" run but don't work and all is stopped into this window, does not go forward.

see the image attached.

I stop all and resubmit the new version by ftp (another way of upgrade) and run this file /oc-includes/osclass/upgrade-funcs.php and all work correctly.

But I think that is bug .... or not?

bilekas

  • Full Member
  • ***
  • Posts: 219
  • Bilekas
Re: Upgrade don't work.... BUG???
« Reply #1 on: December 06, 2011, 05:47:06 pm »
It could be an issue with your php.ini file within your hosting provider.. If the time-out os to short.. The installer will request the download of new files, then begin to install the update, if this takes longer the the session timeoute in your ini file, then it will not continue and problably throw up erros!

Tony30

  • Newbie
  • *
  • Posts: 9
Re: Upgrade don't work.... BUG???
« Reply #2 on: December 12, 2011, 11:58:52 pm »
Hello, can you please explain what is the problem in the php.ini .. I am having problem upgrading from the admin panel it does not work.. and can't find the upgrade package to download.

Jesse

  • Hero Member
  • *****
  • Posts: 631
  • Out of my mind, back in 5 minutes
Re: Upgrade don't work.... BUG???
« Reply #3 on: December 13, 2011, 12:48:43 am »
Tony,

I don't know about the php.ini file, but to manually upgrade, you just need to download the full version of OSClass from http://osclass.org/. Click "Download OSClass". Make sure to read the updating instructions: http://wiki.osclass.org/Updating_OSClass

There is no separate "upgrade" version... you just install the newest one.

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Upgrade don't work.... BUG???
« Reply #4 on: December 13, 2011, 11:44:35 am »
Hi Tony30

php.ini is the configuration file for your PHP installation, it could be located on different places ( phpinfo(); should return the exact location).

One of the parameter is execution_time=XX where XX is the time in second one script (php) could be running. Usually an script takes only a few ms or seconds to be executed, but on certain actions (as upgrading for example) it needs to take more time.
The problem here is that the upgrade script need to download the package, unzip it, copy the files, remove old files, perform additional actions (upgrading DB). All that actions take a while (updating the database from 2.x to 2.3 could take a long time because of some changes introduced).

You need to modify (or ask your hosting provider to) your php.ini file an increase that time. If that is not possible for you, then update manually