php / sql menu system

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
GAZCHURCHEND
Beginner
Beginner
Posts: 3
Joined: Fri Oct 21, 2005 11:07 am

php / sql menu system

Post by GAZCHURCHEND »

Hi.
I've been trying to get the example working as supplied in the download files. The only differance is I have created the tables in SQLServer and changed the logon info accordingly. When I run index.php I get a blank screen and a script error in the bottom left hand corner which tells me :-

Line : 19
Char: 3
Error: 'mm_style' is undefined
Code: 0
URL: http://intranet********/index.php

The only place I can see mm_style is in class 'mmenuStyle'
I must confess I am not a PHP expert in the area of class creation and so am stuggling a little to follow some of the code in mm_phpmenu.php

Any ideas would be welcome.
Thank you
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

A URL will be most helpful.
John
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

I think you're going to find that your paths to your menu program files is incorrect, usually that is what that error means, it can't find the files to render the menu.


Ruth
GAZCHURCHEND
Beginner
Beginner
Posts: 3
Joined: Fri Oct 21, 2005 11:07 am

Fixed

Post by GAZCHURCHEND »

Hi
Thanks. It did turn out to be a typo in my path to those files !!!
I just need to enter my menu details correctly now...
You may see me here again soon!

Cheers all
Gary
Post Reply