Welcome Guest, Not a member yet? Register   Sign In
Header errors
#1

[eluser]_Smilie_[/eluser]
Hi guys,
Been working on integrating vbulletin into CI.
This however required me to modify the index.php file:
Code:
$dir = getcwd();

chdir('path/to/your/vb/installation/');
require './global.php';

chdir($dir);
At the very top.
I knew this wasn't good, but I didn't run into troubles, so I kept it till now.
Due that I have putted this in my index.php it's included globally, and as the very first thing, however this causes some horrible header errors, which I have solved by making a standard meta redirect (yea.. just wanted a working copy for a start....).

The time came where I had a need of sessions, and well, this seems to cause header bugs, and I badly need that shopping cart, don't want to slack any longer.

My question for you guys: Can you recommend another way of doing this?




Theme © iAndrew 2016 - Forum software by © MyBB