Hi, hope someone can help. I have been creating a site (for myself) using paypal shopping vart, but i have since discovered that its not fit for purpose & therefore after much searching i have decided to use "OpenCart", but instead of using the default OpenCart shop front I want to use my exisitng site desing and was hoping that I could intergrate certain php code from OpenCart into my site. I therefore installed opencart in the root of my site & then renamed the opencart index.php & copied my site across & started coping the contents of the opencart index.php into my website index.php and was able to copy everything across apart from...
// Session -
require(DIR_INCLUDE . 'session.php');
$session = new session;
as the session section produces the error...
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/zoapho90/public_html/index.php:9) in /home/zoapho90/public_html/include/session.php on line 22
and the below displays the default template that i dont want.
// Display Template
echo($template->fetch('layout.tpl'));
Therefore why am i getting the above error & would my theory work by coping the opencart index.php php code into my php page & then enter php code to display products, etc?
I hope that makes sense.