Wednesday 15 February 2006 10:55:52 am
Hi there, We have a strange issue that I hope is just a config tweak somewhere. We have a legacy (shared) server we have developed a site on, its unix based (freebsd I think), php4.3.3, Apache/1.3.28, Mysql 4.0.14. The url to the site on this box is http://dev2.oneworldmarket.org/ - its all working fine. We have just setup our new dedicated server (hurray :) which is runnnig linux, php 4.3.1, Apache 2, Mysql 4.1.15 with eaccelerator We've migrated the site to this new box http://ccb.owmnameserver.com/ - what we've found is that in any situation where an attribute filter is used in a fetvh no data is displayed. You'll see nothing displays on the home page because of this, but if you click to other pages it works fine. We have sussed the issue is with attribute filter because if you have:
{let front_banners=fetch( 'content', 'tree', hash( 'parent_node_id', 1372,
class_filter_type, "include", class_filter_array, array(153),
attribute_filter, array( array( 'adverts/frontpage', '=', 1 ) )
))|shuffle}
nothing is displayed, but if we change the fetch to:
{let front_banners=fetch( 'content', 'tree', hash( 'parent_node_id', 1372,
class_filter_type, "include", class_filter_array, array(153)
))|shuffle}
the data is displayed fine... You can view all data from the admin interface fine, so I dont believe this is to do with the change in mysql versions (the import normally errors if there is) and the boxes are pretty similar in spec. Does anyone know why this is happening and what the fix is? Many thanks, Steve.
http://www.oneworldmarket.co.uk
|