close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Fatal error: Maximum function nesting level of '100' reached

Thread began 8/22/2011 10:33 pm by karen.marley367377 | Last modified 8/23/2011 8:23 am by Jason Byrnes | 1893 views | 5 replies |

karen.marley367377

Fatal error: Maximum function nesting level of '100' reached

I am testing the themes function in FB. Have downloaded the lasted versions, 101, downloaded the fix, clear cache, etc.

Am getting this error:
Fatal error: Maximum function nesting level of '100' reached, when testing on local servier, which is wampserver. The error refers to this file:

webassist\framework\framework.php on line 36

the code is:

<?php
require_once( "webassist/framework/library.php" );
require_once( "webassist/framework/framework.php" );
?>
<?php
if("" == ""){
$WA_theme_1314077095497_Content_Empty = "";
$WA_theme_1314077095497_Content = new WA_Include(__FILE__);
$WA_theme_1314077095497_Template = new WA_Include("Templates{$WA_theme_1314077095497_Content_Empty}/theme.php");
require($WA_theme_1314077095497_Template->BaseName);
$WA_theme_1314077095497_Template->Initialize(true);
}
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><!-- InstanceBegin template="/Templates/Themes/testone_fw_theme.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<!-- InstanceBeginEditable name="doctitle" --><!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
</head>
<body>
<!-- InstanceBeginEditable name="content" --><!-- InstanceEndEditable -->
</body>
<!-- InstanceEnd --></html>
<?php
if(isset($WA_theme_1314077095497_Template)){
$WA_theme_1314077095497_Content->Initialize();
$WA_theme_1314077095497_Template->ReplaceTemplateRegions($WA_theme_1314077095497_Content);
print($WA_theme_1314077095497_Template->Content);
}
?>

Sign in to reply to this post

karen.marley367377

framework.php file

Attached is the offending file.

Attached Files
framework.zip
Sign in to reply to this post

karen.marley367377

framework file and theme

Originally Said By: karen.marley367377
  Attached is the offending file.  



Here is the framework file and theme.

Regards

Attached Files
frameworkandtheme.zip
Sign in to reply to this post

Jason ByrnesWebAssist

in the newtheme.php file, try changing line 9:

php:
$WA_newtheme_1314098087212_Template = new WA_Include("../../Templates{$WA_newtheme_1314098087212_Content_Empty}/newtheme.php");




to:

php:
$WA_newtheme_1314098087212_Template = new WA_Include("../../Templates{$WA_newtheme_1314098087212_Content_Empty}/newtheme.dwt.php");
Sign in to reply to this post

karen.marley367377

Change as suggested causes this:

Now get :
Notice: Undefined variable: WA_newtheme_1314098087212_Content_Empty in E:\_WebServer\_proudly-Aug-2011\Templates\Themes\newtheme.php on line 9
Call Stack
# Time Memory Function Location
1 0.0004 681408 {main}( ) ..\newtheme.php:0

( ! ) Notice: Undefined variable: WA_newtheme_1314097601286_Template in E:\_WebServer\_proudly-Aug-2011\Templates\Themes\newtheme.php on line 10
Call Stack
# Time Memory Function Location
1 0.0004 681408 {main}( ) ..\newtheme.php:0

( ! ) Notice: Trying to get property of non-object in E:\_WebServer\_proudly-Aug-2011\Templates\Themes\newtheme.php on line 10
Call Stack
# Time Memory Function Location
1 0.0004 681408 {main}( ) ..\newtheme.php:0

( ! ) Warning: require() [function.require]: Filename cannot be empty in E:\_WebServer\_proudly-Aug-2011\Templates\Themes\newtheme.php on line 10
Call Stack
# Time Memory Function Location
1 0.0004 681408 {main}( ) ..\newtheme.php:0

( ! ) Fatal error: require() [function.require]: Failed opening required '' (include_path='.;C:\php\pear') in E:\_WebServer\_proudly-Aug-2011\Templates\Themes\newtheme.php on line 10
Call Stack
# Time Memory Function Location
1 0.0004 681408 {main}( ) ..\newtheme.php:0

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...