Recent Topics

1 Oct 18, 2012 02:31    

My b2evolution Version: 4.1.x

My website is here: http://keystoneanimation.co.uk/ though of course the blog has not been uploaded yet.

The framework for my site is quite simple - a variable 'id' which sets the page contents to be displayed. Once id is set then the appropriate page is pulled into a standard framework / layout with an

include( 'file.php');

So for my current test on my local machine I'm trying to include the b2e blog using this method - I've tried blog1.php, a_sub.php and a_noskin.php.

The first error I get is:

Warning: Cannot modify header information - headers already sent by (output started at /Users/###/Sites/WIP_04/index.php:4) in /Users/###/Sites/WIP_04/b2evolution/blogs/inc/sessions/model/_session.class.php on line 233

As a temporary measure I commented out this line (it's attempting to set a cookie).

I'm still left with the following errors:

Warning: Cannot modify header information - headers already sent by (output started at /Users/###/Sites/WIP_04/index.php:4) in /Users/###/Sites/WIP_04/b2evolution/blogs/inc/_core/_template.funcs.php on line 310

Bad Request!
The parameters of your request are invalid.
If you have obtained this error by clicking on a link INSIDE of this site, please report the bad link to the administrator.
Go back to home page

Additional information about this error:
Illegal value received for parameter «page»!

I think the last error has something to do with the file structure of my site as 'page' is the folder that contains the pages that are included according to the id variable - including the blog stub.

The site serves HTML5 video so has the appropriate page headers eg:

<!DOCTYPE html>
<html>
<head>

I don't know if this might be a factor in the header error I'm getting.

Any help or advice gratefully received.
//Simon

2 Oct 19, 2012 10:19

I think the easy way would be to separate the two sites int oa sub domain and work on b2evo theme to look like your site. otherwise your concept will need a lot of explanations.

Thats exactly what am doing on myn i have http://50r.co.za as my main site and http://blog.50r.co.za as my sub domain for my blog posting.

i have both my themes the sit and blog under construction as of now.

for headers already sent read this http://forums.phpfreaks.com/topic/1895-header-errors-read-here-before-posting-them/

hope this helps


Form is loading...