Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Undefined variables - plus fix

Asked Modified Viewed 1,904 times
B
blueadept
B
  • Junior Member, joined since
  • Contributed 17 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
asked
Junior Member

I am fairly new to php-fusion. I tend to be a log watcher and have noticed a few undefined variables. I am not a programmer, but think I have corrected the problems.

All of these are in register.php:

First one is "Undefined variable: user_year in /home/XXXXXXX/public_html/register.php on line 222".

After I fixed that one, got one that said user_day.

Fixed that and then got user_month.

Lastly in that file I was also getting "Undefined index: user_sig in /home/XXXXXX/public_html/register.php on line 261"

To correct those errors I put:
$user_year = "";
$user_month = "";
$user_day = "";
$userdata['user_sig']= "";

after this line:

if (iMEMBER) fallback("index.php"wink;


There are more errors but I believe that file is fixed. Ill reply to this message when I fix more of the errors.
Edited by blueadept on 07-04-2006 17:45,
0 replies

1 post

B
blueadept
B
  • Junior Member, joined since
  • Contributed 17 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
answered
Junior Member

In administration/news.php news_end and news_start is undefined. I added:

$news_end = "0";
$news_start = "0";

after this line:

if (isset($news_id) && !isNum($news_id)) fallback(FUSION_SELF);
0 replies

Category Forum

Bugs and Errors - 6

Labels

None yet

Statistics

  • Views 0 views
  • Posts 1 post
  • Votes 0 votes
  • Topic users 1 member

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet