I hate posting stupid questions but i think i do that all the time. after following the threads about search and search bugs i installed links 1.12 and when i run a search i get results but a very strange thing happens - i get parts of the script displayed. it starts with:
Content-type: text/html
: $VAR1 = bless( {
'EXT_results' => '',
'NAME_word_table' => 'Category_Word_Index',
'language' => 'en',
'mode' => '0',
'debug' => '0',
'SQL_make_score' => ' CREATE TABLE Category_Scores_Index (
WordID MEDIUMINT UNSIGNED NOT NULL,
INDEX ( WordID ),
item INT NOT NULL,
INDEX ( item ),
score SMALLINT UNSIGNED NOT NULL,
.
.
.
.
'dbh' => bless( {}, 'DBI::db' ),
'STH_insert_id' => bless( {}, 'DBI::st' ),
'target_id_col' => 'ID',
'db_driver' => 'mysql',
'max_words' => 100,
'mh' => 25,
'STH_get_wordid' => bless( {}, 'DBI::st' ),
'page' => 1,
'STH_insert_score' => bless( {}, 'DBI::st' ),
'SQL_insert_score' => ' INSERT INTO Links_Scores_Index
( WordID, item, score, position )
VALUES ( ?, ?, ?, ? ) '
}, 'Links::Search' );
and then the regular page is displayed. i donīt know exactly what went wrong. just wanted to ask if someone had the same problems. maybe i did one thing wrong. i switched over to another database, so i exported all tables to .txt and importet those to the new database.
would be nice if anyone had an idea ... otherwise i guess i will have to rerun the installation.
cheers
niko
http://www.master-productions.com
Content-type: text/html
: $VAR1 = bless( {
'EXT_results' => '',
'NAME_word_table' => 'Category_Word_Index',
'language' => 'en',
'mode' => '0',
'debug' => '0',
'SQL_make_score' => ' CREATE TABLE Category_Scores_Index (
WordID MEDIUMINT UNSIGNED NOT NULL,
INDEX ( WordID ),
item INT NOT NULL,
INDEX ( item ),
score SMALLINT UNSIGNED NOT NULL,
.
.
.
.
'dbh' => bless( {}, 'DBI::db' ),
'STH_insert_id' => bless( {}, 'DBI::st' ),
'target_id_col' => 'ID',
'db_driver' => 'mysql',
'max_words' => 100,
'mh' => 25,
'STH_get_wordid' => bless( {}, 'DBI::st' ),
'page' => 1,
'STH_insert_score' => bless( {}, 'DBI::st' ),
'SQL_insert_score' => ' INSERT INTO Links_Scores_Index
( WordID, item, score, position )
VALUES ( ?, ?, ?, ? ) '
}, 'Links::Search' );
and then the regular page is displayed. i donīt know exactly what went wrong. just wanted to ask if someone had the same problems. maybe i did one thing wrong. i switched over to another database, so i exported all tables to .txt and importet those to the new database.
would be nice if anyone had an idea ... otherwise i guess i will have to rerun the installation.
cheers
niko
http://www.master-productions.com