No, but I did add this line in the /admin/categories.php file:
Released under the GNU General Public License
11 */
12
13 require('includes/application_top.php');
14 require('includes/classes/upload.php');
15 require(DIR_WS_CLASSES . 'currencies.php');
16
17 $currencies = new currencies();
18
19 $action = (isset($HTTP_GET_VARS['action']) ? $HTTP_GET_VARS['action']
I don't know if I used the correct words, but I tried to follow the convention used for the previous line.
This did result in a new error in the browser:
Fatal error: Cannot redeclare class upload in /var/www/karlin/public_html/scripts/OS_Commerce_Shopping_script/catalog/admin/includes/classes/upload.php on line 13
Here is a snippet of the upload.php file that the error points to:
11 */
12
13 class upload {
14 var $file, $filename, $destination, $permissions, $extensions, $tmp_
filename, $message_location;
15
16 function upload($file = '', $destination = '', $permissions = '777',
$extensions = '') {
17 $this->set_file($file);
18 $this->set_destination($destination);
19 $this->set_permissions($permissions);
20 $this->set_extensions($extensions);