Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
search button doesn't work
Avatar
Erik Wanrooij
Member
Free Members
sp_UserOfflineSmall Offline
Jun 23, 2015 - 9:50 am

Hm.., I thought we solved the problem with our template/jquery causing buttons not to function. But I just discovered that our search button still doesn't work.

I'm not good at javascript, but I saw that the button calls the 'spjValidateSearch'-function, so that may be a good place to start looking. Where do I find that function?

Regards,

Erik

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 23, 2015 - 9:56 am

Sorry - can you explain what is happening here exactly? Are you seeing some JavaScript errors in the web console?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Erik Wanrooij
Member
Free Members
sp_UserOfflineSmall Offline
Jun 23, 2015 - 10:09 am

It's hard to say - it just doesn't respond when I click the button. When I press <enter>, it works. 

I've made one of the forums publicly accessible, to be able to show you what I mean. I send you a PM with the URL, I hope I'm not asking too much..

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Jun 23, 2015 - 10:12 am

Not at all, but could you send the PM to myself as well in case Yellow Swordfish isn't around? It's always best to PM all 3 admins here with a link to the support thread included (this thread) to recap the problem.

Avatar
Erik Wanrooij
Member
Free Members
sp_UserOfflineSmall Offline
Jun 23, 2015 - 10:17 am

Thank you Ike, I just sent you a PM as well..

(Oh, and forgot to add a link to this thread - sorry)

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Jun 23, 2015 - 10:24 am

No problem, it was really for future reference 😉

It is a strange one, it's definitely not a jquery conflict as the button does in fact work, but it gives me the message at the top 'Geen zoektekst ingevoerd' - 'No search string entered' once clicked.

Are you getting any errors in either your PHP error log or your SP error log? Best thing to do would be to clear both out, try the search, then go back to see if anything is reported.

Avatar
Erik Wanrooij
Member
Free Members
sp_UserOfflineSmall Offline
Jun 23, 2015 - 10:30 am

Ok, after I load the forum-page, this error occurs:

file: /simple-press/forum/content/sp-group-view-functions.php
line: 662
function: sp_ForumIndexStatusIcons
Notice | Undefined variable:

 

Howewer when I try to do a search, nothing else is added to the error-list.

Avatar
Erik Wanrooij
Member
Free Members
sp_UserOfflineSmall Offline
Jun 23, 2015 - 10:33 am

Actually it was a "notice", not an error. Now I can see another one as well:

 

23/06/2015 16:31 | spaErrNotice | 1 | php

file: /simple-press/admin/panel-options/support/spa-options-prepare.php
line: 30
function: spa_get_global_data
Notice | Undefined index: blockroles

23/06/2015 16:27 | spaErrNotice | 3 | php

file: /simple-press/forum/content/sp-group-view-functions.php
line: 662
function: sp_ForumIndexStatusIcons
Notice | Undefined variable:

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Jun 23, 2015 - 10:36 am

OK Notices can be ignored.. Are you all up to date with SP and WP?

Avatar
Erik Wanrooij
Member
Free Members
sp_UserOfflineSmall Offline
Jun 23, 2015 - 10:39 am

I think so:

SP - 5.6
WP - 4.2.2

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626