Search Module Not Working

GK User
Sat Nov 22, 2014 8:27 pm
Hi Guys

My search module does not work I have activated the hikashop plugins but search does not work ,
if I search for anything I get an error message " Error:1146"
Please assist

Muhammad
User avatar
Expert Boarder

GK User
Sun Nov 23, 2014 6:40 pm
Hello,

Please check on which page the search results are displayed and then check modules displayed on this subpage. I recommend to update the NSP GK5 module, because older versions returned this error for some cases.
User avatar
Administrator

GK User
Mon Nov 24, 2014 9:29 am
Hi Dziudek

Please check on which page the search results are displayed and then check modules displayed on this subpage. I recommend to update the NSP GK5 module, because older versions returned this error for some cases.

Excuse my Noobness , how do I check which page the search results are displayed in ? and which modules are displayed on the subpage ?
I have updated NSP GK5 but still same results . Please assist .
User avatar
Expert Boarder

GK User
Mon Nov 24, 2014 12:40 pm
Please provide me an URL to your website.
User avatar
Administrator

GK User
Mon Nov 24, 2014 1:06 pm
www.laptoptrader.co.za

P.s I have unpublished search module , should I publish it ?
User avatar
Expert Boarder

GK User
Mon Nov 24, 2014 3:42 pm
Yes, you should publish the search module.
User avatar
Administrator

GK User
Mon Nov 24, 2014 4:04 pm
its published
User avatar
Expert Boarder

GK User
Mon Nov 24, 2014 8:37 pm
Please also reame the error.php file to __error.php - then we will get the full output of the error message.
User avatar
Administrator

GK User
Mon Nov 24, 2014 9:27 pm
I have sent you a PM with my details
User avatar
Expert Boarder

GK User
Tue Nov 25, 2014 9:30 am
Hi
Attached is a screenshot of the error message
User avatar
Expert Boarder

GK User
Tue Nov 25, 2014 3:55 pm
Your newsfeeds table doesn't exist what causes your issue. Could you send me your phpmyadmin access? Then I will be able to fix this issue.
User avatar
Administrator

GK User
Wed Nov 26, 2014 7:55 am
Please try to activate search again - now it should working fine - I've recreated the newsfeeds table.
User avatar
Administrator

GK User
Wed Nov 26, 2014 10:38 am
Working perfectly well !!! :D

I have 2 more questions that I have tried finding an answer for everywhere but cannot !
1) At the bottom of every page of my site I have a facebook like image and also a payfast image ( displaying visa mastercard etc. ) My problem here is : it displays only on certain pages and not on others , why ?
2) How can I shorten the Search bar in my Search module ?

You Sir are a genius :D
User avatar
Expert Boarder

GK User
Wed Nov 26, 2014 2:45 pm
1) Please check if the modules responsible for this content are assigned to all menu items.

2) You can control the search box with using the following CSS code:

Code: Select all
#gkSearch input {
   width: XXX;
}
User avatar
Administrator

GK User
Wed Nov 26, 2014 3:46 pm
The modules are assigned for all pages , please check the response I got from my host company .

"The reason your images are not showing is because they are being loaded with relative path instead of absolute. A relative path, as the name suggests is relative to the current location and it changes depending on the URL. For example:

Code:
src="images/facebook5.png"


would load the image from a subfolder called images/facebook5.png. If you visit your primary domain name, the complete URL to the image would be:

http://www.laptoptrader.co.za/images/facebook5.png

The above is correct and shows the image file, however if you navigate under http://www.laptoptrader.co.za/about-us/ the image URL will become:

http://www.laptoptrader.co.za/about-us/ ... ebook5.png

which is not correct. The solution would be to change your image loading path to an absolute value. Having that said, I'm afraid that your request is beyond the scope of our hosting-related support. It is not directly connected to a server-side issue and does not indicate a problem with the hosting service we offer.

For issues like this, we suggest that you post a new ticket under our Development Services category. This category is intended for:

- Configuration adjustment and code editing;
- Installing third party addons of any kind;
- Debugging and investigation of third party applications;
- Development of custom web scripts upon customer request.

When posting a ticket under our Development Services category you receive:

- Fast and professional assistance from a highly-skilled technician;
- Estimation of the time needed to complete work on your request and a quote of the overall cost.

For more information please visit your Help Desk -> Development services section.

Alternatively, you could try working on this issue further by yourself. In such cases we recommend that you:

- Check all available debugging / troubleshooting information you can find and search for keywords the net;
- Check if there is a community / forum support for the application / code you are using.

Thank you for your understanding of our efforts to provide better and more effective support."
User avatar
Expert Boarder

GK User
Thu Nov 27, 2014 11:11 am
So in this case please just use in the src attribute the full domain URL: http://www.laptoptrader.co.za/images/facebook5.png instead of: images/facebook5.png
User avatar
Administrator

GK User
Fri Nov 28, 2014 2:12 pm
Working perfectly with your suggestion .

one more question please .

I have 3 domain names pointing to one site viz.
www.laptoptrader.co.za
www.laptoptraders.co.za
www.laptopsandmore.co.za

As my screenshot shows the 3 domain names have different site and page descriptions ?
Sometimes it works sometimes it does not .
E.G even if I type my url in facebook to send to friends and clients facebook automatically generates a site description from url and the description that it gives is the wrong one .
User avatar
Expert Boarder

GK User
Fri Nov 28, 2014 8:56 pm
Hello,

I have the same problem, how can i recreate the newsfeed database?
User avatar
Junior Boarder

GK User
Mon Dec 01, 2014 5:03 pm
@dezign-it - I afraid that it is beyond of our technical support - it is strictly connected with your server configuration and custom HTTP redirects.

@Nubreed - please run this SQL query in your phpmyadmin - but please replace earlier #__ to your database tables prefix:

Code: Select all
--
-- Table structure for table `#__newsfeeds`
--

CREATE TABLE IF NOT EXISTS `#__newsfeeds` (
  `catid` int(11) NOT NULL DEFAULT 0,
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL DEFAULT '',
  `alias` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
  `link` varchar(200) NOT NULL DEFAULT '',
  `published` tinyint(1) NOT NULL DEFAULT 0,
  `numarticles` int(10) unsigned NOT NULL DEFAULT 1,
  `cache_time` int(10) unsigned NOT NULL DEFAULT 3600,
  `checked_out` int(10) unsigned NOT NULL DEFAULT 0,
  `checked_out_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `ordering` int(11) NOT NULL DEFAULT 0,
  `rtl` tinyint(4) NOT NULL DEFAULT 0,
  `access` int(10) unsigned NOT NULL DEFAULT 0,
  `language` char(7) NOT NULL DEFAULT '',
  `params` text NOT NULL,
  `created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `created_by` int(10) unsigned NOT NULL DEFAULT 0,
  `created_by_alias` varchar(255) NOT NULL DEFAULT '',
  `modified` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `modified_by` int(10) unsigned NOT NULL DEFAULT 0,
  `metakey` text NOT NULL,
  `metadesc` text NOT NULL,
  `metadata` text NOT NULL,
  `xreference` varchar(50) NOT NULL COMMENT 'A reference to enable linkages to external data sets.',
  `publish_up` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `publish_down` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `description` text NOT NULL,
  `version` int(10) unsigned NOT NULL DEFAULT 1,
  `hits` int(10) unsigned NOT NULL DEFAULT 0,
  `images` text NOT NULL,
  PRIMARY KEY (`id`),
  KEY `idx_access` (`access`),
  KEY `idx_checkout` (`checked_out`),
  KEY `idx_state` (`published`),
  KEY `idx_catid` (`catid`),
  KEY `idx_createdby` (`created_by`),
  KEY `idx_language` (`language`),
  KEY `idx_xreference` (`xreference`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
User avatar
Administrator

GK User
Mon Dec 01, 2014 6:05 pm
That worked fine, thank you. Great support, keep up the good work. :D
User avatar
Junior Boarder


cron