Reply to topic  [ 12 posts ] 
Search doesn´t work 
Author Message
User avatar

Joined: Sun Mar 06, 2011 6:52 am
Posts: 780
Location: Hamburg, Germany
Post Search doesn´t work
search.php doesn´t respond at all. Or is this only @ my place?

_________________
sapere aude.


Mon Aug 01, 2011 1:53 pm
Profile
Site Admin
User avatar

Joined: Fri Mar 04, 2011 9:19 pm
Posts: 779
Location: San Jose, CA
Post Re: Search doesn´t work
I noticed that it hasn't been working, I think since I recently upgraded the board software version. I'll try to troubleshoot it when I get a chance.

_________________
Outsider


Mon Aug 01, 2011 5:43 pm
Profile WWW
User avatar

Joined: Sun Mar 06, 2011 6:52 am
Posts: 780
Location: Hamburg, Germany
Post Re: Search doesn´t work
Now i get two alternating error messages: Either "500 - internal server error" or my browser (Opera 11.50) says in a standard message "no such website, try google".
Maybe that´s a hint?

But - on the other hand: Don´t waste your time with this sh*t, focus on the elves. ;)

_________________
sapere aude.


Sat Aug 06, 2011 7:23 am
Profile
Site Admin
User avatar

Joined: Fri Mar 04, 2011 9:19 pm
Posts: 779
Location: San Jose, CA
Post Re: Search doesn´t work
There is some kind of php error that prevents the page from loading, which I presume was introduced when I upgraded the board software version. The error in the log file is:

PHP Parse error: syntax error, unexpected T_DOUBLE_ARROW in /forums/search.php on line 597

I will hunt it down when I have time, but as you mention, it's not top priority.

The 500 - internal server error is, I think, not related.

_________________
Outsider


Sat Aug 06, 2011 10:57 am
Profile WWW
User avatar

Joined: Sat Mar 05, 2011 9:03 am
Posts: 581
Location: Quebec, Canada
Post Re: Search doesn´t work
maybe it the [insert techno babble] that need to be increase, have you try reconfiguring the [more techno babble] to version 2.1 am sure it would solve the [tiktik-kik-tik].....


Sat Aug 06, 2011 12:14 pm
Profile WWW

Joined: Thu Sep 29, 2011 9:28 pm
Posts: 179
Location: Florida (with a winter home on Deinar)
Post Re: Search doesn´t work
Sorry to bump, but searches are still broken.

_________________
Outsider IRC: Forum thread

The Safirian Empire (a micronation): New forum | Wiki


Sun Feb 05, 2012 11:34 pm
Profile WWW
Site Admin
User avatar

Joined: Fri Mar 04, 2011 9:19 pm
Posts: 779
Location: San Jose, CA
Post Re: Search doesn´t work
Yeah, I know. I've upgraded the forum software version twice, but it's still broken.

_________________
Outsider


Mon Feb 06, 2012 12:19 am
Profile WWW

Joined: Thu Sep 29, 2011 9:28 pm
Posts: 179
Location: Florida (with a winter home on Deinar)
Post Re: Search doesn´t work
What version are you on?

_________________
Outsider IRC: Forum thread

The Safirian Empire (a micronation): New forum | Wiki


Mon Feb 06, 2012 8:01 am
Profile WWW
Site Admin
User avatar

Joined: Fri Mar 04, 2011 9:19 pm
Posts: 779
Location: San Jose, CA
Post Re: Search doesn´t work
phpBB 3.0.10.

The error from the log file is:

[06-Feb-2012 10:18:08] PHP Parse error: syntax error, unexpected T_DOUBLE_ARROW in /forums/search.php on line 597

I poked around there a little bit, but I don't really have any PHP debugging tools.

_________________
Outsider


Mon Feb 06, 2012 11:20 am
Profile WWW

Joined: Thu Sep 29, 2011 9:28 pm
Posts: 179
Location: Florida (with a winter home on Deinar)
Post Re: Search doesn´t work
Quote:
Sample PHP error statement

PHP: Parse error: syntax error, unexpected T_DOUBLE_ARROW in .\rvunits_controller.php on line 152

It is a syntax error in the coding. Check the line number indcated in the error to see how the values have been assigned to variables. There should be an array that should have been used in that place and the value assignment seems to happen outside the said boundaries – like “xyz” => “name” should be changed to array(“xyz” => “name”) instead.


e: Perhaps you should try stock search.php?

_________________
Outsider IRC: Forum thread

The Safirian Empire (a micronation): New forum | Wiki


Sat Feb 11, 2012 9:15 am
Profile WWW
Site Admin
User avatar

Joined: Fri Mar 04, 2011 9:19 pm
Posts: 779
Location: San Jose, CA
Post Re: Search doesn´t work
I did a diff on the search.php with the one you gave me, and not surprisingly, the only difference was on line 597.

Code:
      'REPORTED_IMG'      => $user->img('icon_topic_reported', 'TOPIC_REPORT 71,131,1,42,129,94
G'   => $user->img('icon_topic_unapproved', 'TOPIC_UNAPPROVED'),


vs

Code:
      'REPORTED_IMG'      => $user->img('icon_topic_reported', 'TOPIC_REPORTED'),
      'UNAPPROVED_IMG'   => $user->img('icon_topic_unapproved', 'TOPIC_UNAPPROVED'),


Kind of wonder how that got screwed up. Anyhow, it appears to be working now. Thanks for the help.

_________________
Outsider


Sat Feb 11, 2012 1:16 pm
Profile WWW

Joined: Thu Sep 29, 2011 9:28 pm
Posts: 179
Location: Florida (with a winter home on Deinar)
Post Re: Search doesn´t work
No problem :D

_________________
Outsider IRC: Forum thread

The Safirian Empire (a micronation): New forum | Wiki


Sat Feb 11, 2012 2:38 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 12 posts ] 

Who is online

Users browsing this forum: psbot [Picsearch] and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.