Theme Customization

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
Jordan Smith
Posts: 3
Joined: 08 Jun 2010, 17:44

Theme Customization

Post by Jordan Smith »

Hello,

One of my clients asked me to use your software to build them a bug tracker, they asked me to use their theme for the bug tracking software. So I did now everytime you go to the site and login we keep getting these errors:

Warning: ini_set() [ref.outcontrol]: Cannot change zlib.output_compression - headers already sent in /home/jethosts/public_html/patches/core/compress_api.php on line 68

SYSTEM WARNING: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/jethosts/public_html/patches/login_page.php:6)

SYSTEM WARNING: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/jethosts/public_html/patches/login_page.php:6)

How can I sort this out so they don't show up when people go to the website?

Thanks.
Jordan
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Theme Customization

Post by atrol »

Jordan Smith wrote:they asked me to use their theme for the bug tracking software. So I did now everytime you go to the site and login we keep getting these errors: ..
Does this mean that etherything worked fine before your changes in the same environment?
What did you change?
Please use Search before posting and read the Manual
Jordan Smith
Posts: 3
Joined: 08 Jun 2010, 17:44

Re: Theme Customization

Post by Jordan Smith »

Hi,

Everything worked before i added the theme.

All i did was add the php code to the theme so it still should work?

Thanks for the help,
Jordan
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Theme Customization

Post by atrol »

Jordan Smith wrote: All i did was add the php code to the theme
Could you be more precise what you did?
MantisBT has no themes, so I am confused where you added something to it.
Maybe you post the changed sourcecode to get an impression of what you did.
Please use Search before posting and read the Manual
Jordan Smith
Posts: 3
Joined: 08 Jun 2010, 17:44

Re: Theme Customization

Post by Jordan Smith »

Hi,

Here is the link to the mantis install: http://www.jethosts.co.uk/patches/

This is just a test install for a company I am working for.

What I did was I took the companys theme and added the PHP code from the files to the php theme. Im not allowed to add the code here but i will PM you the code so you can look at it your self.

Thanks for all the help,
Jordan
dextair
Posts: 2
Joined: 12 Aug 2010, 12:55

Re: Theme Customization

Post by dextair »

you got this error because you inserted code BEFORE php code of mantis.
le session_start() function needs to be called at very top of code.
reason is simple : prints HTTP headers.

find how to print your customisation after this function call
Post Reply