I noticed that Category Descriptions are not getting saved. Anyone else experiencing this with v2 RC1?
This is a discussion on Category descriptions do not get saved. within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; I noticed that Category Descriptions are not getting saved. Anyone else experiencing this with v2 RC1?...
I noticed that Category Descriptions are not getting saved. Anyone else experiencing this with v2 RC1?
Please post some debug info :
PHP, MYSQL, Apache, Linux versions. Also, do you have category descriptions enabled in the admin?
No, you are the first that has posted this behavior. It is working fine in all test shops. The code that handles this has not been changed since v1.5.5.
Michael Sasek
osCMax Developer
osCmax Installation Service - Have our professionals install osCmax on your server - same day service!
osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5
Stay Up To Date with everything osCMax:
Free osCmax Newsletters - Security notices, New Releases, osCMax News
osCmax on Twitter - Up to the minute info as it happens. Know it first.
osCmax Documentation
I have seen the same behaviour. Although I can see that category descriptions are being written to the database, they are just not visible if you browse via the admin interface. For me this is the same whether or not category descriptions are enabled.
Server OS:
Linux 2.4.20-31.9smp
Database:
MySQL 4.0.17-standard
HTTP Server:
Apache/2.0.40 (Red Hat Linux)
PHP Version:
4.2.2 (Zend: 1.2.0)
Holloway: It's all the same machine, right? The Pentagon, multinational corporations, the police. If you do one little job, you build a widget in Saskatoon, and the next thing you know, it's two miles under the desert, the essential component of a death machine.
Michael Sasek
osCMax Developer
osCmax Installation Service - Have our professionals install osCmax on your server - same day service!
osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5
Stay Up To Date with everything osCMax:
Free osCmax Newsletters - Security notices, New Releases, osCMax News
osCmax on Twitter - Up to the minute info as it happens. Know it first.
osCmax Documentation
i got the same error - /catalog/admin/categories.php WAS NOT saving description text, for Categories & Product.
looking in the HTML source, I decided that the problem was the naming of the textarea form element. The form expects the name of the textarea to be something like "categories_description[123]" (123 being the category ID)
However, the form element is named "categories_description123".
The string "categories_description" and the ID "123" are being concatinated, instead of forming it into an array object.
anyhow. i changed two lines in /catalog/admin/categories.php and got the form to save my descriptions.
--------------------------------------------------------------------
LINE 506:
original code:
} else { echo tep_draw_textarea_field('categories_description' . $languages[$i]['id'],'soft','70','15',(isset($categories_description[$languages[$i]['id']]) ? $categories_description[$languages[$i]['id']] : tep_get_category_description($cInfo->categories_id, $languages[$i]['id']))) . '</td>';
replace with this:
} else { echo tep_draw_textarea_field('categories_description[' . $languages[$i]['id'].']','soft','70','15',(isset($categories_description[$languages[$i]['id']]) ? $categories_description[$languages[$i]['id']] : tep_get_category_description($cInfo->categories_id, $languages[$i]['id']))) . '</td>';
----------------------------------------
LINE 900:
original:
} else { echo tep_draw_textarea_field('products_description' . $languages[$i]['id'],'soft','70','15',(isset($products_description[$languages[$i]['id']]) ? $products_description[$languages[$i]['id']] : tep_get_products_description($pInfo->products_id, $languages[$i]['id']))) . '</td>';
replace it with this:
} else { echo tep_draw_textarea_field('products_description[' . $languages[$i]['id'].']','soft','70','15',(isset($products_description[$languages[$i]['id']]) ? $products_description[$languages[$i]['id']] : tep_get_products_description($pInfo->products_id, $languages[$i]['id']))) . '</td>';
--------------------------------------------------------------------
hope that helps.
I had the same problem.
Thank you blinky!! That fix worked great!!
Ditto that! Nice one blinky!!
Great! Thanks.
Bookmarks