Jump to content

Please assist, I'm having a hard time debugging Rockfrontend & No Tracy


Greg Lumley
 Share

Recommended Posts

I need help please, I'm having a difficult time debugging with Rockfrontend, there seems to be some sort of error and it isn't parsing the "content div" So it outputs the default home page content div instead. Since there is no visible error to work with, It makes the bug difficult to find. 

Also, although I've got Tracy Debugger installed, it isn't visible. I can't seem to see what I'm missing. 

I'd apprecaite any input and advise please. 

Thank you so much.

Edited by Greg Lumley
Link to comment
Share on other sites

Oh boy! Of all people I know to provide details and I didn't! Apologies!

No, as it turns out there is some sort of error in an array:

 

I have the following code in _main.php (simplified for ease of explanation): 

		<div id="content">
			<h4 class='text-center'>
			<br><br><br><br>
			We're making a few backend updates to the site, please check back shortly.
			</h4>
			<br><br><br><br>
		</div>

If all goes well with RockFrontEnd parsing a template, the <div id="content"> is overridden with the latte template output. 

If however, there is an error in RockFrontEnd parsing of a .latte template, it outputs:

"We're making a few backend updates to the site, please check back shortly."

Which is great for the end user but not for me while developing because I didn't know what the actual error was.

Enter TracyDebugging tool: Through my own fault: I didn't have debug enabled for certain templates. Hence it wasn't visible on pages I was trying to debug. 

I seriously need to polish up on my debugging skills. 

I hope that makes sense. 

 

Greg

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...