chayenne Posted June 8, 2004 Share Posted June 8, 2004 Hello, I have some problems with the wysiwyg editor contri which runs almost OK but after installing all the files i received first the error : tep_get_uploaded_file -- solved for categories tep_get_new_upload -- solved for categories Categories image looks now like b/m and works fine : if ($categories_image = new upload('categories_image', DIR_FS_CATALOG_IMAGES)) { tep_db_query("update " . TABLE_CATEGORIES . " set categories_image = '" . tep_db_input($categories_image->filename) . "' where categories_id = '" . (int)$categories_id . "'"); } The problem now is for the products_image received error : tep_get_uploaded_file and changed this into is_uploaded_file but i still have an error on the image_directory error : undefined tep_get_local_directory Now I'am having new upload as b/m mentioned but i receive now no error but IMAGES DOES NOT EXCIST so he is not uploading my picture to the image directory $products_image = is_uploaded_file('products_image'); $image_directory = new upload('products_image', DIR_FS_PRODUCTS_IMAGES); Is there anybody with a solution. the file is Admin - categories.php Thanks in Advance Chayenne..... Carpe Diem, Cease the Day, Pluk de Dag Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.