[geeklog-users] com_Refresh

Walter Shudde wjs357 at access4less.net
Mon Dec 8 23:33:32 EST 2003


Forgive me for butting in on this thread, but what you are describing may be
the same problem I am experiencing.

I am new to Geeklog. I am not a programmer, nor do I know PHP or HTML, so if
my question seems ignorant, its because I am :)  If I am violating list
netiquette by jumping in off topic, just let me know.

Here's my problem in a nutshell: When I go from an Admin function and then
go to another function (eg. going from home page to an admin block and
back), theme info seems to get lost.  The page is displayed with different
colors (shades of green), a different font and no logos or other
icons/jpegs/gifs (a place holder appears where they would be). When I hit
the refresh button on my browser (Firebird 0.7), the page is refreshed
properly. I posted this problem on the GL Forum in the General Help section
on Dec. 2, but got no response. Is this the same problem you experience?  If
not, any ideas?

Thanks

----- Original Message ----- 
From: "Lucas Gonze" <lgonze at panix.com>
To: <geeklog-users at lists.geeklog.net>
Sent: Monday, December 08, 2003 12:00 PM
Subject: Re: [geeklog-users] com_Refresh


>
> The bug I was seeing (in the latest Firebird on OS X 10.2) was that the
> page wasn't refreshing.  I added code to COM_refresh to emit the
> location header as well as the HTML, then exit immediately to prevent
> other code from running and emitting bad data, and it works fine.  This
> breaks the general design principle of having routines return HTML, so
> YMMV.
>
> function COM_refresh( $url )
> {
>    header("Location: $url");
>    print "<html><head><meta http-equiv=\"refresh\" content=\"0;
> URL=$url\"></head></html>\n";
>    exit;
> }
>
> _______________________________________________
> geeklog-users mailing list
> geeklog-users at lists.geeklog.net
> http://lists.geeklog.net/listinfo/geeklog-users
>




More information about the geeklog-users mailing list