Menu

#11 Circular References

closed
nobody
1
2005-10-31
2004-12-01
Anonymous
No

Hello

<b>ENVIRONMENT:</b>
OS=Windows 2003
Webserver=IIS6
Browser=Firefox
PHP=5.01
PEAR=current as of 11-29-04
(verified at command line that all pear packages which
are required as outlined in OpenIT-1.4/doc/install.txt
are installed)
MYSQL=4.0.22 (origionally had newer version but
received error suggesting I needed to downgrade...
which I did)

<b>ERROR/PROBLEMS(s):</b>
1-Numerous errors suggesting circular references most
of which I have fixed (usually a pear function or class
error was produced when an included/required OpenIT
file was calling it again). Again, have received many
and veried Fatal Errors because functiosn or classes
where attempting to be re-declared and have fixed
nearly all of them.

2-Current remaining error which prevents inserts or
updates in the database:

"Fatal error: Cannot redeclare class db_dataobject in
C:\Inetpub\wwwroot\PEAR\PEAR\DB\DataObject.php on line
3532"

<b>ATTEMPTED FIX(es):</b>
1- For problem one I have simply commented out
require_once(); lines which are calling something which
has been called in; either another file which is being
included in the current file or the file which is
including the file with the circular reference.

2- For problems two I have attempted to follow the
includes through the insert and update process and have
NOT successfully found where DataObject.php is being
included again, or where db_dataobject is being
re-declared.
PLEASE PROVIDE ASSISTANCE AS POSSIBLE!

<b>GENERAL SUGGESTIONS</b>
1- Recommend windows users install PEAR through the
command line and verify that all packages have been
installed with the "pear list" command.

2-If circular references are somehow permited under PHP
please include instructions on how to enable this
permission.

3- Have someone test under windows or make it clear
that it may NOT work under windows.

<b>OFFER</b>
5-If someone can help me resolve this last error I will
be happy to provide the modified files back to you with
a general windows install guide...

Thanks!!!
-Matt
mattUNDERSCORErummlerATalliancetitleDOTcom

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Hmm too bad html tags aren't allowed...

     
  • Michael Schurter

    • priority: 5 --> 1
    • status: open --> closed
     
  • Michael Schurter

    Logged In: YES
    user_id=988843

    Please login to SF.net before posting a Support Request.

     

Log in to post a comment.