Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#5000 closed defect (bug) (fixed)

No input file specified on second page of search query results

Reported by: glenda's profile glenda Owned by:
Milestone: 2.3 Priority: normal
Severity: blocker Version: 2.3
Component: General Keywords:
Focuses: Cc:


When using the search box:

Type phrase > Garners search results with multiple pages > Hit "Previous Entries" link at the bottom of first page's results > Second page's results for same search results in "No input file specified."

Click "Previous Entries" link for example in action:

Which then results in the following:

This bug does not replicate itself on

Attachments (1)

5000.diff (506 bytes) - added by ryan 17 years ago.

Download all attachments as: .zip

Change History (9)

#1 @glenda
17 years ago

  • Summary changed from No input file specified off to No input file specified on second page of search query results

#2 @glenda
17 years ago

  • Component changed from General to
  • Owner changed from anonymous to matt

#3 @glenda
17 years ago

  • Component changed from to General
  • Owner changed from matt to anonymous

#4 @ryan
17 years ago

Can't replicate on my 2.3 testbed either. Have you let Matt near your site? ;-)

#5 @matt
17 years ago

  • Severity changed from normal to blocker

I can replicate on my blog on trunk:

The difference is with my server setup (multiviews enabled) the index.php/arguments thing works.

However on many, like Dreamhost where Glenda is at, it will return the error above.

Of course if you do it without the index.php it works fine:

But countless themes have the search action include index.php.

#6 @ryan
17 years ago

That patch seems to do the trick. Needs more testing to see what side-affects it might have.

17 years ago

#7 @markjaquith
17 years ago

Tested on:

  • PATH_INFO (/index.php/) permalink structure
  • mod_rewrite permalink structure
  • PATH_INFO (/index.php/) permalink structure with Page on Front
  • mod_rewrite permalink structure with Page on Front

So far so good.

#8 @ryan
17 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [6144]) Always remove index.php from request before contructing page links. fixes #5000

Note: See TracTickets for help on using tickets.