Advertisement:

Author Topic: Updating Osclass  (Read 1364 times)

zalinth

  • Newbie
  • *
  • Posts: 1
Updating Osclass
« on: January 02, 2014, 08:52:26 pm »
I need some help here. Every time I click on upgrade Osclass on the admin dashboard it checks for an update and then explodes the whole install where all I get is a blank white screen on both admin side and test site.  :-\ 

I thought it might have been a 3.2 bug, so I just downloaded the latest copy 3.3.2 and did a fresh install and got the same results when I clicked on upgrade osclass. Here is my apache error log.

Quote
PHP Notice:  Undefined variable: _SERVER in /var/www/dev-classifieds/oc-admin/index.php on line 22, referer: http://dev-classifieds/oc-admin/index.php?page=tools&action=upgrade
PHP Warning:  require_once(/oc-load.php): failed to open stream: No such file or directory in /var/www/dev-classifieds/oc-admin/index.php on line 25, referer: http://dev.classifieds/oc-admin/index.php?page=tools&action=upgrade
PHP Fatal error:  require_once(): Failed opening required '/oc-load.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/dev-classifieds/oc-admin/index.php on line 25, referer: http://dev.classifieds.com/oc-admin/index.php?page=tools&action=upgrade

I did find a fix though. If I reload my apache config files the site will start working again. 

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Updating Osclass
« Reply #1 on: January 07, 2014, 01:13:00 pm »
Hi

did you modify any file?
It's strange because that line should be

Code: [Select]
define('ABS_PATH', str_replace('\\', '/', dirname(dirname($_SERVER['SCRIPT_FILENAME'])) . '/'));