Jump to content

Recommended Posts

 

I am very new to php  :-[and am trying to run a php program on freebsd 6.1 version php5-5.2.1_3, apache-2.2.4_2

 

I am getting multiple errors, reported in httpd-error.log similar to the one shown below and have no idea how to begin tracing the problems. Some of the following facts may/may not be relevant: :-\

 

1. The code is being run successfully by others but  I have not, so far, found anyone running it on the same version of php.

2. The code is from groupjivefb http://www.shaeleighland.com/ downloads area groupjivefb.zip which is a modification of the groupjive compoment for joomla. I have reported the problem but it is only a small group of people. So far no one has been able to replicate the difficulty.

3. Could the error gave something to do with the version of  php I am running? I have no means of testing for that.

4. I have no idea how to set up an environment to test/trace php code for debugging purposes. :-[

 

 

I appreciate I am asking a lot but if anyone could be kind enough to help or point me in the right direction it would be much appreciated.:

 

Here is one example:

 

Notice: Undefined variable: row in /usr2/virtualwebs/methuselaproject.org/components/com_groupjivefb/groupjivefb.html.php on line 67

 

Notice: Trying to get property of non-object in /usr2/virtualwebs/methuselaproject.org/components/com_groupjivefb/groupjivefb.html.php on line 67

 

The following lines appear in the source code around line 67 within  a declaration of "function newgroup" in  "class HTML_wg":

 

$tmpl->addvar( 'newgroup', 'GJ_MESSAGE', $message );

$tmpl->addvar( 'newgroup', 'GJ_GROUPNAME', $gj_groupname );

# the next line is line 67

$tmpl->addvar( 'newgroup', 'GJ_DESCR', $row->descr );

 

Thanks in advance for getting me started on tracing the problem :)

 

david

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.