UNDEFINED VARIABLE Error

3 posts by 2 authors in: Forums > CMS Builder
Last Post: October 24, 2008   (RSS)

By rsekaly - October 24, 2008

Hi!

I am having some minor problems with the php part of my code. Basicaly after I insert the code generated by cmsBuilder at the top of my php file, I get an UNDEFINED VARIABLE error:

Notice: Undefined variable: DIR_WS_HTTP_BASE in /home/rbrooks/public_html/announcements_e1.php on line 37 Notice: Undefined variable: DIR_WS_HTTP_BASE in /home/rbrooks/public_html/includes/3col_menu.php on line 1

If I move the php code below where the variables are used, I no longer get the error. Attached is my file. If I move the cmsBuilder code to line 38, the error disappears.

Can someone help me with this??
--
Ragi Sekaly

"Any sufficiently advanced technology
is indistinguishable from magic."
........Arthur C. Clarke
Attachments:

announcements_e1.php 5K

Re: [Perchpole] UNDEFINED VARIABLE Error

By rsekaly - October 24, 2008

It worked! Great.....

Now it change all the other files!!
--
Ragi Sekaly

"Any sufficiently advanced technology
is indistinguishable from magic."
........Arthur C. Clarke