New Install / Can't "Search"

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
nixanwin
Posts: 11
Joined: Mon Aug 02, 2010 9:14 pm

New Install / Can't "Search"

Post by nixanwin »

Hi, I've successfully installed phpMyFaq and it's working except for the "Search" function. When I search for terms, it just shows a directory listing of /faq (attached). I'm fairly new to the linux/apache world. Any ideas what to check?
You do not have the required permissions to view the files attached to this post.
Thorsten
Posts: 15561
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: New Install / Can't "Search"

Post by Thorsten »

Hi,

did you enabled mod_rewrite in the configuration?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
nixanwin
Posts: 11
Joined: Mon Aug 02, 2010 9:14 pm

Re: New Install / Can't "Search"

Post by nixanwin »

Sorry for the delay - -I didn't get an email saying the post has been replied to. That did fix the search issue - sorry about that. Thanks! I'm not quite sure what this means from the install guide (or where I edit the path): "You also have to edit the path information for the "RewriteBase"?

But now when I click on any FAQ, I get:
Not Found The requested URL /faq/content/3/4/en/who-owns-the-data.html was not found on this server.
When I look, I don't see an /faq/content directory. Thoughts?
nixanwin
Posts: 11
Joined: Mon Aug 02, 2010 9:14 pm

Re: New Install / Can't "Search"

Post by nixanwin »

I found the "RewriteBase" in the faq/.htaccess file and changed it to /home/web/www/public_html/faq. (Is that correct?)
I still do not have any "content" or "category" directories. Do I need to create them?
nixanwin
Posts: 11
Joined: Mon Aug 02, 2010 9:14 pm

Re: New Install / Can't "Search"

Post by nixanwin »

I also notice all of the hyperlinks on faq/index.php end with the .html extension. (e.g. http://www.url.com/faq/instantresponse.html). Any help is appreciated.

I've already implemented these fixes FYI.
http://github.com/thorsten/phpMyFAQ/com ... 21ff65e3da
http://github.com/thorsten/phpMyFAQ/com ... c83c73b8a1
http://github.com/thorsten/phpMyFAQ/com ... 73a603bea7
Thorsten
Posts: 15561
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: New Install / Can't "Search"

Post by Thorsten »

Hi,

then please disable the rewrite stuff. I also released 2.6.8 yesterday which fixes a lot of issues.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
nixanwin
Posts: 11
Joined: Mon Aug 02, 2010 9:14 pm

Re: New Install / Can't "Search"

Post by nixanwin »

I've updated to 2.6.8 and renamed .htaccess backup to _.htaccess.
Search works fine, but all of the faq, category and home page links end with .html instead of php. Very odd.
Also, no /faq/content folder exists on the server.

I may just start over
nixanwin
Posts: 11
Joined: Mon Aug 02, 2010 9:14 pm

Re: New Install / Can't "Search"

Post by nixanwin »

I just realized you meant disable Rewrite in the admin console. That fixed it. Sorry - I'm just learning. Thank you
Thorsten
Posts: 15561
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: New Install / Can't "Search"

Post by Thorsten »

Hi,

great. :-)

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply