Forum Support

Shape 5
May 10, 2021, 02:54:38 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: Notice: Undefined variable: id  (Read 258 times)
acesys
Jr. Member
**
Offline Offline

Posts: 4



« on: April 10, 2012, 06:15:04 AM »

When i place menu module at right or left site the following error occurs. Please help me to solve this problem.


Notice: Undefined variable: id in C:\xampp\htdocs\cnggas\templates\seaofglass\html\mod_menu\default_component.php on line 18
href="/cnggas/chevrolet">Chevrolet
Logged
pmiddleton
Global Moderator
*****
Offline Offline

Posts: 2097



« Reply #1 on: April 10, 2012, 10:37:36 AM »

This is a notice from php error reporting, but not actually an error. Because you are using a LAMP stack (XAAMP), error reporting in php.ini is usually set to on, and can be very picky.

In php.ini, find this line

error_reporting = E_ALL

and comment it out. It is unlikely that you will see any further issues with your site but, if you do, uncomment the same line and you can see the errors again.
Logged

Paul
------------
Shape 5 Team


- Using Firebug will save you so much time, frustration and forum questions:
http://getfirebug.com/


- Need some custom coding done on your site? Use our Shape 5 Hire a Coder program for free:
http://www.shape5.com/hire_a_coder/listauctions
acesys
Jr. Member
**
Offline Offline

Posts: 4



« Reply #2 on: April 11, 2012, 01:16:59 AM »

I still getting same error after commenting error_reporting = E_ALL please help me....

Logged
pmiddleton
Global Moderator
*****
Offline Offline

Posts: 2097



« Reply #3 on: April 11, 2012, 07:22:33 AM »

If you have a remote server, you should try it there. It is quite common to see errors on one server configuration and not on another.
Logged

Paul
------------
Shape 5 Team


- Using Firebug will save you so much time, frustration and forum questions:
http://getfirebug.com/


- Need some custom coding done on your site? Use our Shape 5 Hire a Coder program for free:
http://www.shape5.com/hire_a_coder/listauctions
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.