Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

moved to linux


Guest

Recommended Posts

Posted

just migrated our surver to a linux platform and now i am getting this error when trying to creat a new product catagory or a new item

 

Fatal error: Cannot instantiate non-existent class: upload in /var/www/html/admin/categories.php on line 68

 

 

any clues to how i may fix it ?

 

 

Thx,

Mark

Posted

What version of OSC are you using IE date downloaded and which contribs have you installed?

Steve

-------------------------

Posted

i am running a cvs from about 2 weeks ago, contribs are admin login, all prods, and (not sure of the name) header tags ??

Posted

actuly its redhat 9.0, the proper path for the file is /var/www/html/admin/categories.php

 

all config files have been changed

 

when i ty to add an item i get

 

Fatal error: Cannot instantiate non-existent class: upload in /var/www/html/admin/categories.php on line 492

 

and when i try to ad a catagory i get

 

Fatal error: Cannot instantiate non-existent class: upload in /var/www/html/admin/categories.php on line 68

 

it still creates the catagory but not the items...

 

everything else seams to be working fine

Posted

maybe it has something to do with apache 2.0 ??

Posted

-rwxr-xr-x 1 webadmin webadmin 58697 May 11 20:35 categories.php

 

 

 

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/var/www/html'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/var/www/html/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/catalog/'); // absolute path required

define('DIR_FS_CATALOG', '/var/www/html/catalog/'); // absolute path required

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

Posted

ok, include path seems right

check the permissions for includes and check yor php-config

(maybe post us some page with <? php_info(); ?> )

 

 

# grep -iC3 upload php.ini


;;;;;;;;;;;;;;;;
; File Uploads;
;;;;;;;;;;;;;;;;


; Whether to allow HTTP file uploads.

file_uploads = On


; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
;upload_tmp_dir =


; Maximum allowed size for uploaded files.

upload_max_filesize = 2M


;;;;;;;;;;;;;;;;;;

Posted

;;;;;;;;;;;;;;;;

; File Uploads ;

;;;;;;;;;;;;;;;;

 

; Whether to allow HTTP file uploads.

file_uploads = On

 

; Temporary directory for HTTP uploaded files (will use system default if not

; specified).

;upload_tmp_dir =

 

; Maximum allowed size for uploaded files.

upload_max_filesize = 2M

 

 

;;;;;;;;;;;;;;;;;;

 

 

thats what i get for output so i asume thats ok

 

 

 

you can see a php_info @ www.doughnutseeds.com/php.php

Archived

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

×
×
  • Create New...