khachdatinh Posted March 14, 2008 Posted March 14, 2008 I received this error while trying to update/add new category. Can anyone help me fixing the issue? thanks
khachdatinh Posted March 14, 2008 Author Posted March 14, 2008 this is the exact error message: Fatal error: Call to a member function set_file() on a non-object in C:\Program Files\EasyPHP 2.0b1\www\oscommerce\catalog\admin\includes\classes\upload.php on line 17 Below is the upload.php file where line 17 is "$this_var->set_file($file);": class upload { var $file, $filename, $destination, $permissions, $extensions, $tmp_filename, $message_location; function upload($file = '', $destination = '', $permissions = '777', $extensions = '') { $this_var->set_file($file); $this_var->set_destination($destination); $this_var->set_permissions($permissions); $this_var->set_extensions($extensions); $this_var->set_output_messages('direct'); thanks.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.