Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

joeri

Archived
  • Posts

    18
  • Joined

  • Last visited

About joeri

  • Birthday 02/01/1975

Profile Information

  • Real Name
    Joeri
  • Gender
    Male
  • Location
    Rotterdam, The Netherlands
  • Website

joeri's Achievements

  1. What files should I look at the trouble shoot? It is showing up in database.

    Thanks.

  2. This appears to be a great mod. I installed it fine, but cannot get the descriptions to show up on online store.

    http://www.dailyapples.com/catalog/index.php

  3. Replace your code: $sql_data_array = array('categories_name' => tep_db_prepare_input($categories_name_array[$language_id]),'categories_htc_title_tag' => (tep_not_null($categories_htc_title_array[$language_id]) ? tep_db_prepare_input($categories_htc_title_array[$language_id]) : tep_db_prepare_input($categories_name_array[$language_id])),'categories_htc_desc_tag' => (tep_not_null($categories_htc_desc_array[$language_id]) ? tep_db_prepare_input($categories_htc_desc_array[$language_id]) : tep_db_prepare_input($categories_name_array[$language_id])),'categories_htc_keywords_tag' => (tep_not_null($categories_htc_keywords_array[$language_id]) ? tep_db_prepare_input($categories_htc_keywords_array[$language_id]) : tep_db_prepare_input($categories_name_array[$language_id])),'categories_htc_description' => tep_db_prepare_input($categories_htc_description_array[$language_id])); //HTC EOC if ($action == 'insert_category') { With: $sql_data_array = array('categories_name' => tep_db_prepare_input($categories_name_array[$language_id]),'categories_htc_title_tag' => (tep_not_null($categories_htc_title_array[$language_id]) ? tep_db_prepare_input($categories_htc_title_array[$language_id]) : tep_db_prepare_input($categories_name_array[$language_id])),'categories_htc_desc_tag' => (tep_not_null($categories_htc_desc_array[$language_id]) ? tep_db_prepare_input($categories_htc_desc_array[$language_id]) : tep_db_prepare_input($categories_name_array[$language_id])),'categories_htc_keywords_tag' => (tep_not_null($categories_htc_keywords_array[$language_id]) ? tep_db_prepare_input($categories_htc_keywords_array[$language_id]) : tep_db_prepare_input($categories_name_array[$language_id])),'categories_htc_description' => tep_db_prepare_input($categories_htc_description_array[$language_id])); //HTC EOC // - START - Category Descriptions $categories_heading_title_array = $HTTP_POST_VARS['categories_heading_title'];$categories_description_array = $HTTP_POST_VARS['categories_description'];$sql_data_array['categories_heading_title'] = tep_db_prepare_input($categories_heading_title_array[$language_id]);$sql_data_array['categories_description'] = tep_db_prepare_input($categories_description_array[$language_id]); // --- END - Category Descriptions if ($action == 'insert_category') {
  4. I suspect your main language is not English anymore, and so not set to ID=1. To illustrate, have a look in your install package (sql\information_additional.sql) and you will find the following: INSERT INTO `information` (`information_id`, `information_group_id`, `visible`, `sort_order`, `information_title`, `information_description`, `language_id`, `parent_id`) VALUES (1, 2, '1', 1, 'HEADING_TITLE', 'What\'s New Here?', 1, 0); The before last 1 in this code is your language ID. This should be set to your main language. So, find out what your main language ID is, and change all those (before last) 1's to your language ID. Then upload the SQL file again. If it works, let the forum know it worked, or not.
  5. All I can think of, is that you ADDED the given code at step 7.3, instead of REPLACING it. This would indeed result in a double procuct listing. So, please, find the step 7.3 and do as written... and keep your fingers crossed :)
  6. Sure! Actually the manufacturers procedure is not so much different from the category descriptions one. So, you could basically use the same code, just some adjustments to table names and positions will do. Don't know about your PHP knowledge. But before you start coding, have a look at this contribution: http://www.oscommerce.com/community/contributions,3521. Is looks like this is what you searching for.
  7. Graham, check your private mail (on the right corner of the message board) and send me the file, Iwill have a look for you.
  8. No need to have 4.0 at all, as the sturcture and storage is different than any version before. The 5 package is a full add-on. As I made changes to the original table of OSC, there is NO need anymore for this file. All you need is right in the readme.txt. Just, make sure you download the latest version for full multilanguage support. Good luck! :)
  9. No idea. Are you using the latest version of OSC?
  10. This should not necessary, it is either FCK or Tiny MCE, not both. And if you don't do anything, it should not give any error. Maybe it is the safe_mode of php that is running. Could you try to add a @ before the file_exists functions on line 135 and 136 of admin/information_manager.php and let me know or it then works. (So it should look like this @file_exists(...) )
  11. Interesting, never seen such. Can u determine or it is an OSC generated error, or one from your server. Did you install any kind of WYSIWYG editor? Because then it might that you need to set some folder to have write permissions (typically an image/upload folder).
  12. I see. Then indeed your table altering went perfect. Just it seems your version of OSC wants to update the table categories instead of categories_description. What version of OSC do you use? (It was only tested on the latest version of OSC). And, if you open admin/includes/database_tables.php, can you find the following lines: define('TABLE_CATEGORIES', 'categories'); define('TABLE_CATEGORIES_DESCRIPTION', 'categories_description');
  13. Yes... You missed something :) You forgot 4 (Database) of the install. ALTER TABLE categories_description ADD categories_heading_title varchar(64) AFTER categories_name; ALTER TABLE categories_description ADD categories_description text AFTER categories_heading_title; Cut and paste those lines in the SQL editor of PHPmyAdmin. Then it should all be working fine. Good luck!
×
×
  • Create New...