Webmastersite.net
Register Log In

custom search template

Comments on custom search template

david
Forum Regular

Usergroup: Customer
Joined: Jun 22, 2005

Total Topics: 91
Total Comments: 305
david
Posted Sep 23, 2008 - 10:32 AM:

Hi Paul,

I tried calling a custom template for search results, and I got an error. Am I missing something? We can't call custom templates for a 'search.php.....'?

Thanks
David
david
Forum Regular

Usergroup: Customer
Joined: Jun 22, 2005

Total Topics: 91
Total Comments: 305
david
Posted Sep 25, 2008 - 4:36 AM:

I am trying to link to search results, as per written here: scripts.webmastersite.net/w...to_search_results-246.html

But I need to call a custom template to display the search results... How can I?

When I do, I get such errors:

Query 6: SELECT `id`,`to`,`subject`,`message`,`headers`,`replacement`,`mime` FROM wsnlinks_email WHERE timesent=0 AND inprogress=0 ORDER BY id ASC LIMIT 0,10

Load time so far: 0.15 seconds.

Number of rows is 0

Creating search with new as new

Query 7: INSERT INTO wsnlinks_searches(`id`,`value`,`memberid`,`catid`,`time`) VALUES('','budapest','1','','1222335256')

Query 8: SELECT `id` FROM wsnlinks_searches ORDER BY id DESC

Load time so far: 0.15 seconds.

Setting cookie with name testcookie, value 55 and expiration time 3444670511

Query 9: SELECT `` FROM wsnlinks_links WHERE (validated=1 AND invisibleto NOT LIKE '%|3|%' AND hide=0 AND deleted=0 AND alias=0 AND inalbum=0) AND ((effectivetime < 1222335256) AND (helyseg = 'budapest')) ORDER BY typeorder ASC,time DESC LIMIT 0,60

Load time so far: 0.16 seconds.

Unknown column '' in 'field list'

Load time so far: 0.16 seconds.

Unknown column '' in 'field list'

Query 10: SELECT COUNT(id) FROM wsnlinks_links WHERE (validated=1 AND invisibleto NOT LIKE '%|3|%' AND hide=0 AND deleted=0 AND alias=0 AND inalbum=0) AND ((effectivetime < 1222335256) AND (helyseg = 'budapest'))
Count is 3

An error occoured at xxx.net/search.php?action=f...nksonmembers&usewrapper=no on 2008-09-25 09:34:16. Please relay this data to support. Error #2: 'mysql_num_rows(): supplied argument is not a valid MySQL result resource' in /home/xxx/public_html/xxx/databases/mysql.php on line 47. Debug info:

Number of rows is

Query 11: SELECT `id`,`memberid`,`location`,`time`,`ip`,`browser`,`starttime`,`catid`,`threadid`,`areaname`,`lastsearch`,`nopermission`,`inchat`,`name`,`isrobot`,`lastchat`,`groupnamestyle`,`acceptims`,`visibility`,`profileurl` FROM wsnlinks_sessions WHERE memberid=1

Load time so far: 0.19 seconds.

Number of rows is 1

Creating online with Array as row

Load time so far: 0.19 seconds.

Query 12: UPDATE wsnlinks_sessions SET starttime = '1222334484', name = 'ds@s.com', time = '1222335256', location = 'http://xxx.net/search.php?action=filter&&whichtype=links&condition=and&helysegcondition=%3D&helysegsearch=budapest&custom=yes&TID=listlinksonmembers&usewrapper=no', catid = '', threadid = '', areaname = 'Search Results for {SEARCHTERM}', nopermission = '0', inchat = '0', ip = 'xx.99.29.xxx' WHERE id=184

Sajnos nincs találat. Változtasson a keresési paramétereken.
action=filter&filled=1&whichtype=links&condition=and&helysegcondition=%3D&helysegsearch=budapest&custom=yes&TID=listlinksonmembers&usewrapper=no
budapest


12 total queries
This page was created in 0.19 seconds
Memory used: 4423172 bytes
Server Status: time since last reboot is 1 day, 4 min, load average: 3.65, 3.68, 3.65
david
Forum Regular

Usergroup: Customer
Joined: Jun 22, 2005

Total Topics: 91
Total Comments: 305
david
Posted Sep 25, 2008 - 2:23 PM:

Hi Paul,

I got an email that you posted a reply, but it doesn't show here.

David
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Sep 25, 2008 - 3:27 PM:

Fixed.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.