Welcome to Geeklog, Anonymous Monday, December 09 2024 @ 09:40 am EST
Geeklog Forums
COM_refresh break rendering pages in geeklog 1.7.0
Status: offline
::Ben
Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Hi,
COM_refresh function in geeklog 1.7.0 break rendering pages with themes such as chameleon, purepro...
function COM_refresh($url)
{
header('Content-Type: text/html; charset=' . COM_getCharset());
return "<html><head><meta http-equiv=\"refresh\" content=\"0; URL=$url\"></head></html>\n";
}
because these theme do not allow headers to be sent before content:
What can we do?
::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
COM_refresh function in geeklog 1.7.0 break rendering pages with themes such as chameleon, purepro...
function COM_refresh($url)
{
header('Content-Type: text/html; charset=' . COM_getCharset());
return "<html><head><meta http-equiv=\"refresh\" content=\"0; URL=$url\"></head></html>\n";
}
because these theme do not allow headers to be sent before content:
Warning: Cannot modify header information - headers already sent by (output started at /home/site/public_html/layout/purepro/functions.php(472) : eval()'d code:10) in /home/site/public_html/lib-common.php on line 6840
What can we do?
::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
17
9
Quote
Status: offline
::Ben
Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Oups I ckecked in the 1.7.1rc1 and found
Nice job.
::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
function COM_refresh($url)
{
return "<html><head><meta http-equiv=\"refresh\" content=\"0; URL=$url\"></head></html>\n";
}
{
return "<html><head><meta http-equiv=\"refresh\" content=\"0; URL=$url\"></head></html>\n";
}
Nice job.
::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
10
11
Quote
All times are EST. The time is now 09:40 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content