Forum Support

Shape 5
March 29, 2024, 07:16:56 AM *
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: Nomoo & Suckerfish menus  (Read 309 times)
garfield
Jr. Member
**
Offline Offline

Posts: 4



« on: October 09, 2008, 12:59:06 PM »

Hello,

I've just installed the Eden Rock template on my site, but am getting errors of the following:
Notice: Undefined index: REQUEST_URI in X:\XXXXXXX\wwwroot\templates\edenrock\s5_no_moo_menu.php on line 34

It's a windows host and i've read that there's a problem with the REQUEST_URI call on that platform, is there an alternative for those menus on the windows platform?

Thanks!


Chris
Logged
garfield
Jr. Member
**
Offline Offline

Posts: 4



« Reply #1 on: October 09, 2008, 01:20:57 PM »

I've fixed the problem by adding

<?php

if(!isset($_SERVER['REQUEST_URI'])) {
if(isset($_SERVER['SCRIPT_NAME']))
$_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME'];
else
$_SERVER['REQUEST_URI'] = $_SERVER['PHP_SELF'];
if($_SERVER['QUERY_STRING']){
$_SERVER['REQUEST_URI'] .=  '?'.$_SERVER['QUERY_STRING'];
}
}
?>

at the beginning of the php file for the menu.

Logged
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.