The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Integrating into template
#1
This might be waaay to much to ask, but I downloaded this template

Template

and I wanted to incorporate it into the front end of my website.

How ever when I added the

<pre>
Code:
require_once 'init.php';
require_once $abs_us_root.$us_url_root.'users/includes/header.php';
</pre>


but it errors out every time!

Code:
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\Program Files\VertrigoServ\www\snv\usersc\index.php:3) in C:\Program Files\VertrigoServ\www\snv\usersc\init.php on line 2

Code:
Cannot modify header information - headers already sent by (output started at C:\Program Files\VertrigoServ\www\snv\usersc\index.php:3) in C:\Program Files\VertrigoServ\www\snv\users\includes\header.php on line 3


If you look at the index.html(changed to index.php when I'm trying it) its got a bunch of header stuff:

<pre>
Code:
<!-- Google Fonts -->
  <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,700,700i|Raleway:300,400,500,700,800" rel="stylesheet">
  
  <!-- Bootstrap CSS File -->
  <link href="lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">
  
  <!-- Libraries CSS Files -->
  <link href="lib/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  <link href="lib/animate-css/animate.min.css" rel="stylesheet">
  
  <!-- Main Stylesheet File -->
  <link href="css/style.css" rel="stylesheet">
</pre>


I've tried adding these to init.php or header.php(I'm not sure which one).

It seemed to load a bit more properly when I added style.css as the custom css.

This is probably a lot to ask but if you had any suggestions it would really help!

  Reply


Messages In This Thread
Integrating into template - by lefox - 04-03-2017, 07:11 AM
Integrating into template - by mudmin - 04-03-2017, 11:37 AM
Integrating into template - by lefox - 04-03-2017, 03:06 PM
Integrating into template - by lefox - 04-04-2017, 07:23 AM
Integrating into template - by mudmin - 04-04-2017, 10:16 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)