Loading...
 
Features / Usability

Features / Usability


1.8 header problems

posts: 61

hi,
i have installed tiki 1.8 (after happely using 1.7)
sometimes when i klick a link a get a download this file screen instead of the page. i suspect there is somthing wrong with the file headers.

also a lot of times the image will not display. there is either noting or there is the text 'afbeelding' (ducht voor image).

any suggestions?

posts: 61

is downloaded the file and it says:


Warning: rand(): Invalid range: 1..0 in /home/httpd/strausz.nl/http/fiona/lib/search/refresh.php on line 12
HTTP/1.1 200 OK
Date: Mon, 01 Mar 2004 18:19:20 GMT
Server: Apache/1.3.26 (Unix) Debian GNU/Linux mod_jk/1.2.0 PHP/4.1.2 DAV/1.0.3
X-Powered-By: PHP/4.1.2
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Encoding: gzip
Vary: Accept-Encoding
Content-Length: 6841
Keep-Alive: timeout=15, max=97
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1

‹ Ì=ks·®Ÿ£™þF3·N&¶^~ÄQleòj“4I ...


posts: 61

ok mayby is should talk to my self ;)

found this
row 12 in the refresh file:

if(rand(1,$search_refresh_rate)==1) {

found a admin php search page:
/tiki-admin.php?page=search

and added the number
100 there in the first field. hope this helps.

is there some one who can add a bit of code like this (i'm not a php-guy)

if($search_refresh_rate == ''){
$search_refresh_rate= default_refresh_rate;
}

before line 12 biggrin

posts: 2881 United Kingdom

Hiya,

A lot of the search refresh problems have been fixed in 1.8.1 the current CVS code soon to be released.

> tibi:
> ok mayby is should talk to my self ;)
>
> found this
> row 12 in the refresh file:
>
> if(rand(1,$search_refresh_rate)==1) {
>
> found a admin php search page:
> /tiki-admin.php?page=search
>
> and added the number
> 100 there in the first field. hope this helps.
>
> is there some one who can add a bit of code like this (i'm not a php-guy)
>
> if($search_refresh_rate == ''){
> $search_refresh_rate= default_refresh_rate;
> }
>
> before line 12 biggrin


posts: 2881 United Kingdom

Hiya,

A lot of the search refresh problems have been fixed in 1.8.1 the current CVS code soon to be released.

> tibi:
> ok mayby is should talk to my self ;)
>
> found this
> row 12 in the refresh file:
>
> if(rand(1,$search_refresh_rate)==1) {
>
> found a admin php search page:
> /tiki-admin.php?page=search
>
> and added the number
> 100 there in the first field. hope this helps.
>
> is there some one who can add a bit of code like this (i'm not a php-guy)
>
> if($search_refresh_rate == ''){
> $search_refresh_rate= default_refresh_rate;
> }
>
> before line 12 biggrin