Products - action="hierarchy" not working since upgrade
Posted: Mon Aug 08, 2011 9:04 pm
I'm in the process of trying to upgrade a live site at the moment. It makes extensive use of the CG suite of ecommerce modules and has been working fine. However, I've taken a copy of the site to a dev server to test the upgrade and now I can't get any part of the shop to display through the site.
After a bit of digging and testing I realised it must be related to the change mentioned in the release note for Products 2.8.5
I've tried specifying individual hierarchy items by name, and I've also tried using the minimal template on a test page but get the same result.
So has anyone encountered the same problem since upgrading from pre 2.8.5, and if so, how was it resolved?
Apologies if this has been posted somewhere else but I've searched around and can't find anything.
Thanks in advance,
Tino
Details of dev site:
----------------------------------------------
Cms Version: 1.9.4.2
Installed Modules:
CMSMailer: 2.0.1
FileManager: 1.1.0
MenuManager: 1.7.6
ModuleManager: 1.4.2
News: 2.11.3
nuSOAP: 1.0.2
Printing: 1.1.2
Search: 1.6.10
ThemeManager: 1.1.4
TinyMCE: 2.8.4
CGExtensions: 1.26.4
FrontEndUsers: 1.14
CGSimpleSmarty: 1.4.8
CustomContent: 1.7.3
CGEcommerceBase: 1.3.3
Products: 2.13.3
CGPaymentGatewayBase: 1.0.11
Cart: 1.8.1
Captcha: 0.4.3
Orders: 1.13
SelfRegistration: 1.6.12
DestinationBasedShipping: 1.1
PaypalGateway: 2.3.5
PriceBasedShipping: 1.1.1
FormBuilder: 0.7
Config Information:
php_memory_limit:
process_whole_template: false
output_compression: false
max_upload_size: 10000000
default_upload_permission: 664
url_rewriting: none
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true
Php Information:
phpversion: 5.2.17
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
memory_limit: 24M
max_execution_time: 60
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 10M
upload_max_filesize: 10M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
Server Information:
Server Api: cgi
Server Db Type: MySQL (mysql)
Server Db Version: 5.1.56
----------------------------------------------
After a bit of digging and testing I realised it must be related to the change mentioned in the release note for Products 2.8.5
I thought the best place to start was the default template and then rebuild mine from there, however, I can't get it to work. Despite the fact the site has a fairly large hierachy setup, all I get displayed by using {Products action="hierarchy"} is:NOTE: HIERARCHY VIEW CODE HAS CHANGED
Your hierarchy view templates will need to be revised again.
Code: Select all
Hierarchy Data for ()
Child Nodes
Products matching this location in hierarchy
So has anyone encountered the same problem since upgrading from pre 2.8.5, and if so, how was it resolved?
Apologies if this has been posted somewhere else but I've searched around and can't find anything.
Thanks in advance,
Tino
Details of dev site:
----------------------------------------------
Cms Version: 1.9.4.2
Installed Modules:
CMSMailer: 2.0.1
FileManager: 1.1.0
MenuManager: 1.7.6
ModuleManager: 1.4.2
News: 2.11.3
nuSOAP: 1.0.2
Printing: 1.1.2
Search: 1.6.10
ThemeManager: 1.1.4
TinyMCE: 2.8.4
CGExtensions: 1.26.4
FrontEndUsers: 1.14
CGSimpleSmarty: 1.4.8
CustomContent: 1.7.3
CGEcommerceBase: 1.3.3
Products: 2.13.3
CGPaymentGatewayBase: 1.0.11
Cart: 1.8.1
Captcha: 0.4.3
Orders: 1.13
SelfRegistration: 1.6.12
DestinationBasedShipping: 1.1
PaypalGateway: 2.3.5
PriceBasedShipping: 1.1.1
FormBuilder: 0.7
Config Information:
php_memory_limit:
process_whole_template: false
output_compression: false
max_upload_size: 10000000
default_upload_permission: 664
url_rewriting: none
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true
Php Information:
phpversion: 5.2.17
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
memory_limit: 24M
max_execution_time: 60
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 10M
upload_max_filesize: 10M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
Server Information:
Server Api: cgi
Server Db Type: MySQL (mysql)
Server Db Version: 5.1.56
----------------------------------------------