Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin pannel not showing this morning


mariej

Recommended Posts

The only thing i can see i've done yesterday is to upload new pictures in store/...

 

this morning, i want to log in in my admin and i have this blank page with

 

Fatal error: Cannot re-assign $this in /home3/mjleathe/public_html/store/admin/includes/classes/upload.php on line 31

 

I NEVER TOUCH THIS upload.php page!!

 

this is the beginning of the page upload.php showing the line 31

 

<?php

/*

$Id: upload.php,v 1.2 2003/06/20 00:18:30 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

class upload {

var $file, $filename, $destination, $permissions, $extensions, $tmp_filename, $message_location;

 

function upload($file = '', $destination = '', $permissions = '777', $extensions = '') {

$this->set_file($file);

$this->set_destination($destination);

$this->set_permissions($permissions);

$this->set_extensions($extensions);

 

$this->set_output_messages('direct');

 

if (tep_not_null($this->file) && tep_not_null($this->destination)) {

$this->set_output_messages('session');

 

if ( ($this->parse() == true) && ($this->save() == true) ) {

return true;

} else {

// self destruct

$this = null;

 

return false;

}

}

}

 

function parse() {

global $messageStack;

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...