Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

oscommerce Error: please help!


khachdatinh

Recommended Posts

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.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...