| Call stack | Please Help with these error when i try to open my site with a template that i downloaded on internet
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
-
- Joomla! Fledgling
- Posts: 4
- Joined: Fri Jul 01, 2016 7:01 pm
| Call stack | Please Help with these error when i try to open my site with a template that i downloaded on internet
In general this is the error but i dont know what to do to make this, i tried to make some things on the .php on every signle location but i dont know what to put in there or whats happening can someone can explain me Please?
( ! ) Parse error: syntax error, unexpected '<', expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in C:\wamp64\www\pirotecnia\templates\flex\index.php on line 406
Call Stack
# Time Memory Function Location
1 0.0012 246368 {main}( ) ...\index.php:0
2 0.1325 3998080 JApplicationCms->execute( ) ...\index.php:49
3 0.4296 9800288 JApplicationSite->render( ) ...\cms.php:263
4 0.4303 9801008 JApplicationCms->render( ) ...\site.php:745
5 0.4305 9801608 JDocumentHtml->parse( ) ...\cms.php:1054
6 0.4305 9801840 JDocumentHtml->_fetchTemplate( ) ...\html.php:455
7 0.4310 9802144 JDocumentHtml->_loadTemplate( ) ...\html.php:635
( ! ) Parse error: syntax error, unexpected '<', expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in C:\wamp64\www\pirotecnia\templates\flex\index.php on line 406
Call Stack
# Time Memory Function Location
1 0.0012 246368 {main}( ) ...\index.php:0
2 0.1325 3998080 JApplicationCms->execute( ) ...\index.php:49
3 0.4296 9800288 JApplicationSite->render( ) ...\cms.php:263
4 0.4303 9801008 JApplicationCms->render( ) ...\site.php:745
5 0.4305 9801608 JDocumentHtml->parse( ) ...\cms.php:1054
6 0.4305 9801840 JDocumentHtml->_fetchTemplate( ) ...\html.php:455
7 0.4310 9802144 JDocumentHtml->_loadTemplate( ) ...\html.php:635
-
- I've been banned!
- Posts: 13639
- Joined: Sun Jul 05, 2009 3:30 am
- Location: Canberra, Australia
Re: | Call stack | Please Help with these error when i try to open my site with a template that i downloaded on intern
There is a syntax error in index.php at around line 406 (probably a missing character somewhere). If you do not understand PHP or if you do not want to hire a professional programmer, talk to the person who developed the template and ask for their help.
-
- Joomla! Exemplar
- Posts: 8808
- Joined: Sat Oct 01, 2011 7:06 pm
Re: | Call stack | Please Help with these error when i try to open my site with a template that i downloaded on intern
Or just post that line here, probably a ' missing somewhere, should be easy to spot.
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
-
- Joomla! Fledgling
- Posts: 4
- Joined: Fri Jul 01, 2016 7:01 pm
Re: | Call stack | Please Help with these error when i try to open my site with a template that i downloaded on intern
This is my index.php document can you help me sovainfo?
<?php defined('_JEXEC') or die;
/* =====================================================================
Template: Xero - Base theme for the Zen Grid Framework v4.
Author: Anthony Olsen Joomlabamboo
Version: 1.0
Created: August 2013
Copyright: Anthony Olsen - (C) 2013 - All rights reserved
/* ===================================================================== */
// Load template logic
if (!defined('TEMPLATE')) {
define( 'TEMPLATE', basename(dirname(__FILE__)));
}
// Include main Zen Class
include JPATH_THEMES . '/' . TEMPLATE . '/zengrid/zen.php';
// Setup the params
$zen = new zen4();
// Check whether to load the mobile detect class
if($zen->params->mobile_detect) {
$zen->load_mobile_detect();
}
$layout_file = 'default.php';
if(isset($zen->params->layout_file)) {
$layout_file = $zen->params->layout_file;
}
// Include the layout file
include JPATH_THEMES . '/' . TEMPLATE . '/tpls/'.$layout_file;
?>
<?php defined('_JEXEC') or die;
/* =====================================================================
Template: Xero - Base theme for the Zen Grid Framework v4.
Author: Anthony Olsen Joomlabamboo
Version: 1.0
Created: August 2013
Copyright: Anthony Olsen - (C) 2013 - All rights reserved
/* ===================================================================== */
// Load template logic
if (!defined('TEMPLATE')) {
define( 'TEMPLATE', basename(dirname(__FILE__)));
}
// Include main Zen Class
include JPATH_THEMES . '/' . TEMPLATE . '/zengrid/zen.php';
// Setup the params
$zen = new zen4();
// Check whether to load the mobile detect class
if($zen->params->mobile_detect) {
$zen->load_mobile_detect();
}
$layout_file = 'default.php';
if(isset($zen->params->layout_file)) {
$layout_file = $zen->params->layout_file;
}
// Include the layout file
include JPATH_THEMES . '/' . TEMPLATE . '/tpls/'.$layout_file;
?>
-
- Joomla! Fledgling
- Posts: 4
- Joined: Fri Jul 01, 2016 7:01 pm
Re: | Call stack | Please Help with these error when i try to open my site with a template that i downloaded on intern
And this is the default.php document please help me
params->after_head_scripts;?> loadBlock('head'); ?> params->before_head_scripts;?>
params->after_body_scripts;?>
loadBlock('top'); ?> loadBlock('header'); ?> loadBlock('logo'); ?> loadBlock('menu'); ?> loadBlock('banner'); ?>
loadBlock('grid-block-1'); ?> loadBlock('grid-block-2'); ?> loadBlock('grid-block-3'); ?> hideMain()) { $zen->loadBlock('main'); }?> loadBlock('grid-block-4'); ?> loadBlock('grid-block-5'); ?> loadBlock('grid-block-6'); ?> loadBlock('bottom'); ?>
loadBlock('footer'); ?> loadBlock('debug'); ?>
loadBlock('social'); ?> loadBlock('off-canvas'); ?> loadBlock('panel'); ?> loadBlock('scripts'); ?> countModules('offcanvas') || $zen->params->navcollapse_type =="offcanvas") : ?> countModules('offcanvas')) { $zen->params->offcanvas_min_width = 'navcollapse'; } ?> params->offcanvas_trigger;?> countModules('panel')) { ?> params->open_panel_trigger; ?> params->before_body_scripts;?>
params->after_head_scripts;?> loadBlock('head'); ?> params->before_head_scripts;?>
params->after_body_scripts;?>
loadBlock('top'); ?> loadBlock('header'); ?> loadBlock('logo'); ?> loadBlock('menu'); ?> loadBlock('banner'); ?>
loadBlock('grid-block-1'); ?> loadBlock('grid-block-2'); ?> loadBlock('grid-block-3'); ?> hideMain()) { $zen->loadBlock('main'); }?> loadBlock('grid-block-4'); ?> loadBlock('grid-block-5'); ?> loadBlock('grid-block-6'); ?> loadBlock('bottom'); ?>
loadBlock('footer'); ?> loadBlock('debug'); ?>
loadBlock('social'); ?> loadBlock('off-canvas'); ?> loadBlock('panel'); ?> loadBlock('scripts'); ?> countModules('offcanvas') || $zen->params->navcollapse_type =="offcanvas") : ?> countModules('offcanvas')) { $zen->params->offcanvas_min_width = 'navcollapse'; } ?> params->offcanvas_trigger;?> countModules('panel')) { ?> params->open_panel_trigger; ?> params->before_body_scripts;?>
- mandville
- Joomla! Master
- Posts: 15152
- Joined: Mon Mar 20, 2006 1:56 am
- Location: The Girly Side of Joomla in Sussex
Re: | Call stack | Please Help with these error when i try to open my site with a template that i downloaded on intern
perhaps it doesnt like wamp,
perhaps it desnt like where you downloaded it from
have you logged into the support forum where you have membership and asked there. http://www.joomlabamboo.com/index.php?o ... Itemid=164
run and post the results from this tool http://forum.joomla.org/viewtopic.php?f=621&t=582860
perhaps it desnt like where you downloaded it from
have you logged into the support forum where you have membership and asked there. http://www.joomlabamboo.com/index.php?o ... Itemid=164
run and post the results from this tool http://forum.joomla.org/viewtopic.php?f=621&t=582860
HU2HY- Poor questions = Poor answer
Un requested Help PM's will be reported, added to the foe list and possibly just deleted
{VEL Team Leader}{TM Auditor }{ Showcase & Security forums Moderator}
Un requested Help PM's will be reported, added to the foe list and possibly just deleted
{VEL Team Leader}{TM Auditor }{ Showcase & Security forums Moderator}
-
- Joomla! Fledgling
- Posts: 4
- Joined: Fri Jul 01, 2016 7:01 pm
Re: | Call stack | Please Help with these error when i try to open my site with a template that i downloaded on intern
I dont have more membership i download it like 3 months ago i think
Please someone :/
Please someone :/
-
- Joomla! Exemplar
- Posts: 8808
- Joined: Sat Oct 01, 2011 7:06 pm
Re: | Call stack | Please Help with these error when i try to open my site with a template that i downloaded on intern
Suggest to post code in code blocks. The code from default.php doesn't make sense, hard to say whether it is because of this forum removing things or the code itself. You are the only one that can. When the forum adjusts your code, you can circumvent that by splitting tags into two words. Just for posting! Also you need to identify line 406.
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!