Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Events Calendar


Guest

Recommended Posts

I installed this contribution, and on the public side it seems to work fine, but on the admin, if I try to access any of the sections I get this error: Fatal error: Cannot redeclare class upload in /www/f/fhceramics/htdocs/osCommerce/catalog/admin/includes/classes/upload.php on line 13

Here is what the upload.php line 13 which I have underlined shows;

  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);

Any help would be very much appreciated;

Link to comment
Share on other sites

u sure line 13 and not line 31? it is usually line 31, ffrom using php version 5, which needs to be commented out (//)

Link to comment
Share on other sites

  • 4 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...