mariej Posted December 13, 2006 Posted December 13, 2006 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;
Jack_mcs Posted December 13, 2006 Posted December 13, 2006 Remove the line that reads $this = null; Save and upload the file. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
mariej Posted December 13, 2006 Author Posted December 13, 2006 THANK YOU VERY MUCH IT WORK NOW- i remove that line :) I dont have a clue why but than you very much again, i can continue my work :thumbsup:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.