Forum Support

Shape 5
March 28, 2024, 05:14:13 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: PHP Error  (Read 384 times)
dambuster
Jr. Member
**
Offline Offline

Posts: 2



« on: May 16, 2011, 06:44:18 AM »

Hi All,

New here and just downloaded and instelled that great looking church template.

So far very happy and all OK except for

PHP Notice: Undefined index: REQUEST_URI in ..\templates\life_journey\libs\general_functions.php on line 58

Any help/advice on how to get rid of this?

Running on IIS6, PHP 5.2.8, MYSQL 5.1.56

Thanks Smiley
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #1 on: May 16, 2011, 08:45:12 AM »

Hello,

Can you please post a url to where this occurs?
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
dambuster
Jr. Member
**
Offline Offline

Posts: 2



« Reply #2 on: May 17, 2011, 03:06:34 AM »

Thanks fo thq quick reply Smiley

The problem occurs here: http://www.nacukie.org/1/index.php but dissapears when I use a default template so seems to be a problem specific to this Shape5 one?
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #3 on: May 17, 2011, 07:36:20 AM »

Hello,

REQUEST_URI is actually a built in php server call. Your server php installation may be incomplete. Either way that part of the code is not needed on your site because of it's layout. If you edit the following file:

templates\life_journey\libs\general_functions.php

Then search for this:

$s5_domain = $_SERVER['HTTP_HOST'];
$s5_url = "http://" . $s5_domain . $_SERVER['REQUEST_URI'];

And delete it.
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.