472,805 Members | 911 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,805 software developers and data experts.

Fatal error - Nesting too deep

Hi,

Here's a nice footer I get inside every php page I write in wwwroot on
my server. The code gets parsed just fine. I installed php5.2-win32
under W2K Server, IIS 5.0. I've installed php on XP machines before,
no problems there.

Fatal error: Nesting level too deep - recursive dependency? in Unknown
on line 0
Cannot find module (IP-MIB): At line 0 in (none) Cannot find module
(IF-MIB): At line 0 in (none) Cannot find module (TCP-MIB): At line 0
in (none) Cannot find module (UDP-MIB): At line 0 in (none) Cannot find
module (SNMPv2-MIB): At line 0 in (none) Cannot find module
(SNMPv2-SMI): At line 0 in (none) Cannot find module (UCD-SNMP-MIB): At
line 0 in (none) Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none) Cannot find
module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none) Cannot find
module (SNMP-COMMUNITY-MIB): At line 0 in (none) Cannot find module
(UCD-DLMOD-MIB): At line 0 in (none) Cannot find module
(SNMP-FRAMEWORK-MIB): At line 0 in (none) Cannot find module
(SNMP-MPD-MIB): At line 0 in (none) Cannot find module
(SNMP-USER-BASED-SM-MIB): At line 0 in (none) Cannot find module
(SNMP-NOTIFICATION-MIB): At line 0 in (none) Cannot find module
(SNMPv2-TM): At line 0 in (none)

Does anyone have experience with something like this?

Jun 6 '06 #1
12 2922
Do you need/use the SNMP module for PHP? If not, I'd just go into your
php.ini file and turn it off (comment it out). It looks like it's
complaining about not being able to find it, but if you're not using
it, who cares?
TristaSD wrote:
Hi,

Here's a nice footer I get inside every php page I write in wwwroot on
my server. The code gets parsed just fine. I installed php5.2-win32
under W2K Server, IIS 5.0. I've installed php on XP machines before,
no problems there.

Fatal error: Nesting level too deep - recursive dependency? in Unknown
on line 0
Cannot find module (IP-MIB): At line 0 in (none) Cannot find module
(IF-MIB): At line 0 in (none) Cannot find module (TCP-MIB): At line 0
in (none) Cannot find module (UDP-MIB): At line 0 in (none) Cannot find
module (SNMPv2-MIB): At line 0 in (none) Cannot find module
(SNMPv2-SMI): At line 0 in (none) Cannot find module (UCD-SNMP-MIB): At
line 0 in (none) Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none) Cannot find
module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none) Cannot find
module (SNMP-COMMUNITY-MIB): At line 0 in (none) Cannot find module
(UCD-DLMOD-MIB): At line 0 in (none) Cannot find module
(SNMP-FRAMEWORK-MIB): At line 0 in (none) Cannot find module
(SNMP-MPD-MIB): At line 0 in (none) Cannot find module
(SNMP-USER-BASED-SM-MIB): At line 0 in (none) Cannot find module
(SNMP-NOTIFICATION-MIB): At line 0 in (none) Cannot find module
(SNMPv2-TM): At line 0 in (none)

Does anyone have experience with something like this?


Jun 6 '06 #2
Thanks. The bottom part of the footer is gone, but the "recursive"
error persists:

Fatal error: Nesting level too deep - recursive dependency? in Unknown
on line 0


ro*********@gmail.com wrote:
Do you need/use the SNMP module for PHP? If not, I'd just go into your
php.ini file and turn it off (comment it out). It looks like it's
complaining about not being able to find it, but if you're not using
it, who cares?
TristaSD wrote:
Hi,

Here's a nice footer I get inside every php page I write in wwwroot on
my server. The code gets parsed just fine. I installed php5.2-win32
under W2K Server, IIS 5.0. I've installed php on XP machines before,
no problems there.

Fatal error: Nesting level too deep - recursive dependency? in Unknown
on line 0
Cannot find module (IP-MIB): At line 0 in (none) Cannot find module
(IF-MIB): At line 0 in (none) Cannot find module (TCP-MIB): At line 0
in (none) Cannot find module (UDP-MIB): At line 0 in (none) Cannot find
module (SNMPv2-MIB): At line 0 in (none) Cannot find module
(SNMPv2-SMI): At line 0 in (none) Cannot find module (UCD-SNMP-MIB): At
line 0 in (none) Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none) Cannot find
module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none) Cannot find
module (SNMP-COMMUNITY-MIB): At line 0 in (none) Cannot find module
(UCD-DLMOD-MIB): At line 0 in (none) Cannot find module
(SNMP-FRAMEWORK-MIB): At line 0 in (none) Cannot find module
(SNMP-MPD-MIB): At line 0 in (none) Cannot find module
(SNMP-USER-BASED-SM-MIB): At line 0 in (none) Cannot find module
(SNMP-NOTIFICATION-MIB): At line 0 in (none) Cannot find module
(SNMPv2-TM): At line 0 in (none)

Does anyone have experience with something like this?


Jun 6 '06 #3
Any chance of you posting the code of the footer, or at least the first
20 lines or so?

I'm wondering if it is trying to include some other PHP file that has a
function that is the same as one defined in the main body of the
footer.

I'm a PHP beginner myself, so this may not be the case, but it's just a
suggestion, will be able to help more if you could post some code to
look at.

TristaSD wrote:
Thanks. The bottom part of the footer is gone, but the "recursive"
error persists:

Fatal error: Nesting level too deep - recursive dependency? in Unknown
on line 0


ro*********@gmail.com wrote:
Do you need/use the SNMP module for PHP? If not, I'd just go into your
php.ini file and turn it off (comment it out). It looks like it's
complaining about not being able to find it, but if you're not using
it, who cares?
TristaSD wrote:
Hi,

Here's a nice footer I get inside every php page I write in wwwroot on
my server. The code gets parsed just fine. I installed php5.2-win32
under W2K Server, IIS 5.0. I've installed php on XP machines before,
no problems there.

Fatal error: Nesting level too deep - recursive dependency? in Unknown
on line 0
Cannot find module (IP-MIB): At line 0 in (none) Cannot find module
(IF-MIB): At line 0 in (none) Cannot find module (TCP-MIB): At line 0
in (none) Cannot find module (UDP-MIB): At line 0 in (none) Cannot find
module (SNMPv2-MIB): At line 0 in (none) Cannot find module
(SNMPv2-SMI): At line 0 in (none) Cannot find module (UCD-SNMP-MIB): At
line 0 in (none) Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none) Cannot find
module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none) Cannot find
module (SNMP-COMMUNITY-MIB): At line 0 in (none) Cannot find module
(UCD-DLMOD-MIB): At line 0 in (none) Cannot find module
(SNMP-FRAMEWORK-MIB): At line 0 in (none) Cannot find module
(SNMP-MPD-MIB): At line 0 in (none) Cannot find module
(SNMP-USER-BASED-SM-MIB): At line 0 in (none) Cannot find module
(SNMP-NOTIFICATION-MIB): At line 0 in (none) Cannot find module
(SNMPv2-TM): At line 0 in (none)

Does anyone have experience with something like this?


Jun 6 '06 #4
This might well be a print_r() error message.

See if there is any debugging code looking at a complex object.
--
PETER FOX Not the same since the icecream business was liquidated
pe******@eminent.demon.co.uk.not.this.bit.no.html
2 Tees Close, Witham, Essex.
Gravity beer in Essex <http://www.eminent.demon.co.uk>
Jun 7 '06 #5
Here's my code:

<html>
<head>
</head>

<body>

<?
echo "Hello, world!";
?>

</body>
</html>

Here's my output:

Hello, world!
Fatal error: Nesting level too deep - recursive dependency? in Unknown
on line 0

Jun 7 '06 #6
I would change the code to the following and see what happens:

<HTML>
<HEAD></HEAD>
<BODY>
<?php
echo("Hello World!");
// need parentheses for echo() function
?>
</BODY>
</HTML>

Also, make sure the filename has the .php extension and not .html

Let me know if that works for you....

TristaSD wrote:
Here's my code:

<html>
<head>
</head>

<body>

<?
echo "Hello, world!";
?>

</body>
</html>

Here's my output:

Hello, world!
Fatal error: Nesting level too deep - recursive dependency? in Unknown
on line 0


Jun 8 '06 #7
Robert Iver wrote:
I would change the code to the following and see what happens:

<HTML>
<HEAD></HEAD>
<BODY>
<?php
echo("Hello World!");
// need parentheses for echo() function
?>
</BODY>
</HTML>

Also, make sure the filename has the .php extension and not .html

Let me know if that works for you....

TristaSD wrote:
Here's my code:

<html>
<head>
</head>

<body>

<?
echo "Hello, world!";
?>

</body>
</html>

Here's my output:

Hello, world!
Fatal error: Nesting level too deep - recursive dependency? in Unknown
on line 0


HTML tags are case-insensitive, so <html> is exactly the same as <HTML>. No
problem there.

And no, echo does not require parens.

This should work. Or, if the file is tagged .html instead of .php, he'd only
get the php code displayed. Obviously the php code is being executed, so that's
correct.

I'd check the php.ini file first, just to ensure that looks ok (does a phpinfo()
call work?). And disable all extensions you don't need for this test (that is,
probably ALL extensions). If it now works, re-enable them one at a time and see
which is causing the problem (stop/restart your server between tries - don't
just do a restart).

Then check the web server setup to ensure you're using the version you think
you're using.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Jun 12 '06 #8
"Jerry Stuckle" <js*******@attglobal.net> wrote:
HTML tags are case-insensitive, so <html> is exactly
the same as <HTML>. No problem there.


Well, if you want to write quirks mode HTML put them
all in upper case. If you want to write compliant XHTML
(no matter if you're using STRICT, TRANSITIONAL or
whatnot) make sure ALL tags are lowercase.

The validator doesn't validate <HTML> if you're using
XHTML or newer but does approve and validate <html>.

The point being that it's better to stick with the forward
thinking lowercase than it is to mess with quirks mode.

--
Jim Carlock
Post replies to the group.
Jun 12 '06 #9
Jim Carlock wrote:
"Jerry Stuckle" <js*******@attglobal.net> wrote:
HTML tags are case-insensitive, so <html> is exactly
the same as <HTML>. No problem there.

Well, if you want to write quirks mode HTML put them
all in upper case. If you want to write compliant XHTML
(no matter if you're using STRICT, TRANSITIONAL or
whatnot) make sure ALL tags are lowercase.

The validator doesn't validate <HTML> if you're using
XHTML or newer but does approve and validate <html>.

The point being that it's better to stick with the forward
thinking lowercase than it is to mess with quirks mode.


Upper case "html" is not quirks mode when running HTML.. By definition, HTML is
case insensitive, and the validator is correct in not flagging it.

And this is not XML or XHML - there is no DOCTYPE statement. So <HTML> is just
as valid as <html>.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Jun 13 '06 #10
TristaSD wrote:
in Unknown on line 0


That should be PHP problem, I don't sure.
Try reinstall PHP.

Jun 13 '06 #11

Jerry Stuckle wrote:
Robert Iver wrote:
I would change the code to the following and see what happens:

<HTML>
<HEAD></HEAD>
<BODY>
<?php
echo("Hello World!");
// need parentheses for echo() function
?>
</BODY>
</HTML>

Also, make sure the filename has the .php extension and not .html

Let me know if that works for you....

TristaSD wrote:
Here's my code:

<html>
<head>
</head>

<body>

<?
echo "Hello, world!";
?>

</body>
</html>

Here's my output:

Hello, world!
Fatal error: Nesting level too deep - recursive dependency? in Unknown
on line 0


HTML tags are case-insensitive, so <html> is exactly the same as <HTML>. No
problem there.

And no, echo does not require parens.

This should work. Or, if the file is tagged .html instead of .php, he'd only
get the php code displayed. Obviously the php code is being executed, so that's
correct.

I'd check the php.ini file first, just to ensure that looks ok (does a phpinfo()
call work?). And disable all extensions you don't need for this test (that is,
probably ALL extensions). If it now works, re-enable them one at a time and see
which is causing the problem (stop/restart your server between tries - don't
just do a restart).

Then check the web server setup to ensure you're using the version you think
you're using.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================


The main thing I was trying to change in my code was to change the <?
code delimiter to the <?php delimiter.

I didn't know whether the more generic <? delimiter would be read ad
function differently then the more php specific <?php one.

The HTML can be lowercase (in fact, it's probably better to keep
everything lowercase in case you want to convert the document to XHTML
at some point in the future).

Jun 13 '06 #12
Robert Iver wrote:
Jerry Stuckle wrote:
Robert Iver wrote:
I would change the code to the following and see what happens:

<HTML>
<HEAD></HEAD>
<BODY>
<?php
echo("Hello World!");
// need parentheses for echo() function
?>
</BODY>
</HTML>

Also, make sure the filename has the .php extension and not .html

Let me know if that works for you....

TristaSD wrote:
Here's my code:

<html>
<head>
</head>

<body>

<?
echo "Hello, world!";
?>

</body>
</html>

Here's my output:

Hello, world!
Fatal error: Nesting level too deep - recursive dependency? in Unknown
on line 0

HTML tags are case-insensitive, so <html> is exactly the same as <HTML>. No
problem there.

And no, echo does not require parens.

This should work. Or, if the file is tagged .html instead of .php, he'd only
get the php code displayed. Obviously the php code is being executed, so that's
correct.

I'd check the php.ini file first, just to ensure that looks ok (does a phpinfo()
call work?). And disable all extensions you don't need for this test (that is,
probably ALL extensions). If it now works, re-enable them one at a time and see
which is causing the problem (stop/restart your server between tries - don't
just do a restart).

Then check the web server setup to ensure you're using the version you think
you're using.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

The main thing I was trying to change in my code was to change the <?
code delimiter to the <?php delimiter.

I didn't know whether the more generic <? delimiter would be read ad
function differently then the more php specific <?php one.


It's possible - depending on what other extensions are parsing your file.
That's one reason it's frowned upon. But <?php shouldn't cause a problem.
The HTML can be lowercase (in fact, it's probably better to keep
everything lowercase in case you want to convert the document to XHTML
at some point in the future).


Yep.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Jun 14 '06 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Senators Fan | last post by:
I am getting the error on the subject line from all my php produced web pages. I think it is an installation error but have been unable to find any information indicating what I may have done...
8
by: Tim Tyler | last post by:
I'm getting fatal errors when executing code - and my error handler is failing to trap them - so I get no stack backtrace :-( The error I am getting is: "Fatal error: Call to a member function...
3
by: shaun roe | last post by:
I have a document about 4 levels deep and in my XSLT I want to generate a unique string ID for each basic element based on its path through the hierarchy. If I use recursion, I am continually...
8
by: Hardrock | last post by:
I encountered some difficulty in implementing dynamic loop nesting. I.e. the number of nesting in a for(...) loop is determined at run time. For example void f(int n) { For(i=0; i<=K; i++)...
4
by: Jesper Stocholm | last post by:
I have a recursive function that I would like to do a lot of recursive calls (preferebly 2^20 in total) The function is called as (with maxi = e.g. 100000) DoRecursion(0,maxi,bseed,sha); ...
2
by: Itjalve | last post by:
This gives me a fatal error. I'm using .NET VC7.1 and made a win32 consol app, I have no problems with VC6. Debug build. I have removed nearly all my code this is whats left. From the beginning...
1
by: DBC User | last post by:
Hi, I am using MTOM and WSE 2.0 and trying to upload a file which is almost 70MB (big). I have setup the timeout to a good size and file size limit to 100MB in the server. The uploading is...
1
by: kvarada | last post by:
Hello Experts, I am building my application on WinNT.4.0_i386_MSVC.7.1 platform. When I build the application on a stand alone machine, it builds fine. But when I build the same application from a...
11
by: =?Utf-8?B?anAybXNmdA==?= | last post by:
Can switch statements be nested? I've got a large routine that runs off of a switch statement. If one of the switches in switch #1 is true, that enters switch statement #2. Some of the...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.