Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search function on installation not working
JoosBuijs
New
Hi all,
I have a question if anyone else experiences the same problem.
When I search on my installation of Vanilla I return to the main index showing all the discussion.
The URL ends with 'forum/index.php?Search=Vanilla' so it does post correctly. When I enable the debugging plug-in the search term does not appear in any of the executed queries.
This makes me believe that the problem might be somewhere in redirection/routing. Is there anything that I could try to fix the search functionality?
Joos
I have a question if anyone else experiences the same problem.
When I search on my installation of Vanilla I return to the main index showing all the discussion.
The URL ends with 'forum/index.php?Search=Vanilla' so it does post correctly. When I enable the debugging plug-in the search term does not appear in any of the executed queries.
This makes me believe that the problem might be somewhere in redirection/routing. Is there anything that I could try to fix the search functionality?
Joos
0
Comments
check the conf/config.php, and chage this line:
$Configuration['Garden']['RewriteUrls'] = FALSE;
to this:
$Configuration['Garden']['RewriteUrls'] = TRUE;
and you need the .htaccess file in your main directory, i just forget to upload it, because on Mac, hidden files are not visible, and the .htaccess file is not shown on the list.
Here is the .htaccess file, just put it to the main directory:
<IfModule mod_rewrite.c> RewriteEngine On # Certain hosts may require the following line. # If vanilla is going to be in a subfolder change this to /foldername # RewriteBase / RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php\?p=$1 [QSA,L] </IfModule>
i was having exactly the same problem, but after i uploaded the .htaccess file, its working
Thanks anyway
Joos
what am I changing exactly ?
RewriteEngine On
# Certain hosts may require the following line.
# If vanilla is going to be in a subfolder change this to /foldername
# RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php\?p=$1 [QSA,L]