| Call stack | Please Help with these error when i try to open my site with a template that i downloaded on internet

Need help with the Administration of your Joomla! 3.x site? This is the spot for you.

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.
Locked
sushipass
Joomla! Fledgling
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

Post by sushipass » Fri Jul 01, 2016 7:10 pm

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

sozzled
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

Post by sozzled » Fri Jul 01, 2016 8:44 pm

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.

sovainfo
Joomla! Exemplar
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

Post by sovainfo » Fri Jul 01, 2016 9:33 pm

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!

sushipass
Joomla! Fledgling
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

Post by sushipass » Fri Jul 01, 2016 11:19 pm

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;
?>

sushipass
Joomla! Fledgling
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

Post by sushipass » Fri Jul 01, 2016 11:21 pm

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;?>

User avatar
mandville
Joomla! Master
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

Post by mandville » Fri Jul 01, 2016 11:49 pm

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
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}

sushipass
Joomla! Fledgling
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

Post by sushipass » Sat Jul 02, 2016 12:29 am

I dont have more membership i download it like 3 months ago i think


Please someone :/

sovainfo
Joomla! Exemplar
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

Post by sovainfo » Sat Jul 02, 2016 7:01 am

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!


Locked

Return to “Administration Joomla! 3.x”