Support ⇒ CPG-BB (forum) ⇒ Forums Search give only one result ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum Index Modules & Blocks CPG-BB (forum)

Forums Search give only one result Reply to topic


Hi everyone,
i migrated my Site to a new server, and a temporarly webadress.
I upgraded to 9.2.1 and got it to work.

If i enter now a search word in the Forums Search, i only get one hit.
But I know there is more...

Can someone point me in the right direction please,
thanks
Jolinar

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
OS / Apache / MySQL 5.0.27 / PHP 5.1.6 / DF 9.3.3.1


Hi,
today i tried different things,
copied files from the CVS, tried to understand what is involved, etc.

Don´t know how i came to it, but tried the search.php file from my backup (from the 9.0 Version !!!)
Now i get the results! It´s slow but i get it.

Someone out there can explain this?
Do i get a security problem?

Greets
Jolinar

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
OS / Apache / MySQL 5.0.27 / PHP 5.1.6 / DF 9.3.3.1


Firstly, you shouldn't mix and match files unless you know exactly what you are doing, OR unless you receive specific advice to do that from one of our developers e.g. the ua.inc file. Using 9.0 level files with 9.2 is most unwise and certainly unnecessary.

Secondly, if you're playing with CVS, you're playing with fire, unless you're very experienced in dealing with alpha (maybe beta) level software and capable of resolving issues yourself.

The inability to search suggests you missed some critical files when you upgraded and most likely failed to fully upgrade your theme templates - when you have issues you should always check using the "default" theme to verify your issues.

Or, are you sure that all your forum database tables were correctly transferred when you moved, like cms_bbsearch_wordlist and cms_bbsearch_wordmatch? They are critical to correct search functionality.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


Thank you Phoenix for your reply,

i checked everything with the default theme,

i now get the right results, so i think my tabels are correct,

one interesting thing with the original (9.2) search.php:
if i give two or three words, i get two or three results !?

so at the moment my only solution is to use the 9.0 search.php, i dont know a other way to provide search functionality, wich is important for my users

i´m open for any advice!

regards
Jolinar

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
OS / Apache / MySQL 5.0.27 / PHP 5.1.6 / DF 9.3.3.1


hmm, no idea - I already covered all possibilities I could think of - you have a unique problem which suggests a unique issue on your site alone, rather than a DF issue.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


Long time gone,
but the problem still exists,

I tried to change my search.php to the one coming with 9.3.3.1
and get the old result: only one search result showing up

changed the search.php back to the old old version,
working again!

i like to use the right version to avoid future problems with updates etc.

can someone look into it? or give me directions?
is it helpfull when i post the PHP files?
working is: search.php 9.6
not working: search.php 9.14.2.2

Thanks
Jolinar

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
OS / Apache / MySQL 5.0.27 / PHP 5.1.6 / DF 9.3.3.1


It's possible that you need to manually update /includes/config.php

Look inside the latest install folder for a config file, open it, now search for new defines or new variables. Let us know if your config.php misses any.

You may also notice DB_CHARSET, try a value of 'utf8'.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


Thanks for the advice,
i will look into it tomorrow...

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
OS / Apache / MySQL 5.0.27 / PHP 5.1.6 / DF 9.3.3.1


Looked inside the config files,
found no missing lines,
DB_CHARSET is already "utf8"
difference is, my "old" one has the style: [$dbhost = 'localhost';]
the actual one is written [$dbhost = \''.$connect['localhost'].'\';]

i filled in all the data in the new one and tried it -> only get a blank page
debug mode = true -> blank page

any suggestions?

thanks
Jolinar

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
OS / Apache / MySQL 5.0.27 / PHP 5.1.6 / DF 9.3.3.1


I've only asked for missing data, and if found to post, never asked to modify. Revert all changes because the data in the install config is still row.

I will need to look deeper, but would it be possible that you have missed to correctly update other files?

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


I only made a quick try, changes were reverted instantly

I replaced all files with the 9.3.3.1, then run the install.php
Update was fine, only search was broken.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
OS / Apache / MySQL 5.0.27 / PHP 5.1.6 / DF 9.3.3.1


Did you saved a db backup of the upgrade?

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


It would definitively be of huge help enabling all debugging options and comparing notices, warnings and most importantly database queries in both search.php.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS

All times are UTC


Jump to: