osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Category descriptions do not get saved.

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?...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Installation issues

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 06-29-2005, 09:16 AM
Lurker
 
Join Date: May 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
datazen
Default Category descriptions do not get saved.

I noticed that Category Descriptions are not getting saved. Anyone else experiencing this with v2 RC1?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 06-29-2005, 09:28 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,334
Thanks: 68
Thanked 324 Times in 307 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default RE: Category descriptions do not get saved.

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 Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 09-05-2005, 07:01 AM
pigdestroyer's Avatar
New Member
 
Join Date: Jan 2004
Location: London
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
pigdestroyer
Default RE: Category descriptions do not get saved.

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 09-05-2005, 08:00 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,334
Thanks: 68
Thanked 324 Times in 307 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default RE: Category descriptions do not get saved.

http://bugtrack.oscmax.com/view.php?id=20
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 09-22-2005, 11:48 PM
Lurker
 
Join Date: Sep 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
blinkygab
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 09-25-2005, 10:23 AM
New Member
 
Join Date: Sep 2005
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
HollyRidge
Default

I had the same problem.

Thank you blinky!! That fix worked great!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 11-04-2005, 01:18 AM
New Member
 
Join Date: Oct 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
crispin
Default

Ditto that! Nice one blinky!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 11-13-2005, 01:19 PM
Member
 
Join Date: Jul 2005
Posts: 91
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
kenlyle
Default

Great! Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Product Description Text NOT Being Saved JonCloud420 osCMax v2 Installation issues 3 07-07-2006 08:59 AM
Adding Category Descriptions in Category List for each Cat. el1jones osCMax v2 Customization/Mods 1 03-15-2006 01:37 AM
english.php crashes when saved by the built in file editor Trinity osCMax v1.7 Discussion 1 09-22-2004 01:06 AM
Question 2: Category Descriptions (Enabled, Not Showing) xpressed osCMax v1.7 Discussion 3 07-24-2004 08:43 AM
[BugFix] v1.5 Category Descriptions Bug michael_s osCMax v1.7 Discussion 0 09-25-2003 10:50 PM


All times are GMT -8. The time now is 06:29 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax