grumster Posted October 20, 2002 Share Posted October 20, 2002 Hi, My site is working fine with the exception of my search results. The headings I get are: Price Product Name Table_Heading_Description This is not right of course, where can I change how the search results are added. I would like the graphic to be displayed, then the name and then the price. Please Help...... :cry: Link to comment Share on other sites More sharing options...
grumster Posted October 20, 2002 Author Share Posted October 20, 2002 Hi, The same error also happens when you look at a listing of items within a category. You can see it at my site http://www.it-game.com Can't go live until I fix this and I have no idea where the problem stems from. Any advice about how to fix this would be very welcome Thanks Graham Link to comment Share on other sites More sharing options...
Guest Posted October 21, 2002 Share Posted October 21, 2002 you will need to get in the data base and add info..possibly new fields phpmyadmin my friend Link to comment Share on other sites More sharing options...
grumster Posted October 21, 2002 Author Share Posted October 21, 2002 Hi will, Is there a php file which tells me what fields it is looking for in the database. The reason I ask is that I already have another site working and the database is an exact copy and that one works fine? Thanks Link to comment Share on other sites More sharing options...
Guest Posted October 21, 2002 Share Posted October 21, 2002 do a bata base dump from the other site and copy... Link to comment Share on other sites More sharing options...
Guest Posted October 21, 2002 Share Posted October 21, 2002 bullshit. 'Table_Heading_Description' or any other mis-translated thing upon your site are good indicators for missing translations. do a search for that string. anyway i cannot even find it. which version are you using?! i use cvs 2.2 and if i search for the searchresults heading it?s define('TABLE_HEADING_PRODUCTS', 'Bezeichnung'); they?re in /includes/languages/whateverlanguageyouuse/advanced_search_result.php if there is no file like that - you have to do your own translations or update your site from cvs. Link to comment Share on other sites More sharing options...
grumster Posted October 21, 2002 Author Share Posted October 21, 2002 Hi, The solution that the fault lies in search_results.php can't be right. My file reads: */ define('NAVBAR_TITLE1', 'Search'); define('NAVBAR_TITLE2', 'Search Results'); define('HEADING_TITLE', 'Products meeting the search criteria'); define('TABLE_HEADING_IMAGE', ''); define('TABLE_HEADING_MODEL', 'Model'); define('TABLE_HEADING_PRODUCTS', 'Product Name'); define('TABLE_HEADING_MANUFACTURER', 'Manufacturer'); define('TABLE_HEADING_QUANTITY', 'Quantity'); define('TABLE_HEADING_PRICE', 'Price'); define('TABLE_HEADING_WEIGHT', 'Weight'); define('TABLE_HEADING_BUY_NOW', 'Buy Now'); define('TEXT_NO_PRODUCTS', 'There is no product that matches the search criteria.'); define('TEXT_NO_PRODUCTS2', 'There is no product that matches the search criteria.'); define('TEXT_BUY', 'Buy 1 ''); define('TEXT_NOW', '' now'); ?> There is no mention of a TABLE_HEADING_DESCRIPTION here. This should show the graphic, name and price but I only get the price and then name as well as this error. This happens when looking at the items inside a sub-category not just a search result so it must be something more fundemental. I have reloaded the data from a database I know works and this has made no difference. PS I am using 2.2 Thanks :cry: Link to comment Share on other sites More sharing options...
Ajeh Posted October 21, 2002 Share Posted October 21, 2002 Did you add an Add-On to your search? You could also just add: define('TABLE_HEADING_DESCRIPTION','Description'); :shock: Link to comment Share on other sites More sharing options...
grumster Posted October 21, 2002 Author Share Posted October 21, 2002 Hi, I have spent a few hours on this now and I am no further forward. As far as I can see the problem must lie in the default.php lying in the catalog directory but having tried playing with the code and reloading etc I have not solved the problem. The site is www.it-game.com Does anybody know where the code is called from so that I can organise what is called? Thanks :roll: Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.