Recent Topics

l33t_gray2 got error on 4.1.5b

Started by on Sep 18, 2012 – Contents updated: Mar 21, 2015

Sep 18, 2012 17:31    

Parse error: syntax error, unexpected T_DOUBLE_ARROW in /public_html/skins/l33t_gray2/index.main.php on line 227

am I the only one get error on it ?

My "Updates from b2evolution.net" said that I am running the latest stable version of b2evolution : 4.1.5b

What should I do on that line 227 and anything else ?

... Because it is "unable" to show leet gray 2 skin

Sep 18, 2012 18:35

I read the COMMON FAQ at Templates, skins, XHTML and CSS ...

... and it said " What would be the best and first thing to do would be to check the skins page to see if the skin you want is already updated, or maybe find a skin you like better, you can do that here:
http://skins.b2evolution.net/ "

Skin still there, downloaded and installed ... still not stable

Will you check it out and see if it produces the same error I have ?

http://skins.b2evolution.net/two.php?s=l33t_gray2&sentence=AND&submit=Search

Sep 19, 2012 00:20

(last bump) especially "http://skins.b2evolution.net/" admins should get this "l33t_gray2" skin check out ... ERROR after changed skin

Sep 21, 2012 00:45

This skin is probably incompatible with the latest version of b2evolution.

Sep 21, 2012 05:30

Really ? I can see that ... I guess I didnt question it clearly ... Will there be a update/patch for that skin in the nearest future ?

Sep 21, 2012 06:39

I will look at it tomorrow

Sep 21, 2012 14:11

Thank you ...Before B2E upgrade : l33t skin looks nice & easier to read on iphone

Sep 21, 2012 21:16

I just tried it and the skin works fine in b2evo v4.1
Also there's no double arrow on line 227

You should get a clean copy of the skin.

Sep 21, 2012 23:05

I just got home and deleted folder both on and off site ...
Just download a new l33t skin
and tested it out
FAILED
Parse error: syntax error, unexpected T_DOUBLE_ARROW in /home2/**********/public_html/skins/l33t_gray2/index.main.php on line 227

* = not show

I am running 4.1.5 released on 07/24/12 ... according to the system check/security

Sep 21, 2012 23:18

Can you open that file and post line 227 here?

Sep 21, 2012 23:44

Ok ... when i get back home and i will post it

Sep 22, 2012 06:46

line 227 ...
'block_start' => '<div class="centerTitle"></div><div class="centerContent $wi_class$">',

inside this ...

<?php
// Display container contents: skin_container( NT_('Sidebar'), array(
// The following (optional) params will be used as defaults for widgets included in this container:
// This will enclose each widget in a block:
'block_start' => '<div class="centerTitle"></div><div class="centerContent $wi_class$">',
'block_end' => '</div>',

// This will enclose the title of each widget:
'block_title_start' => '<div class="centerInternalTitle">',
'block_title_end' => '</div>',

// If a widget displays a list, this will enclose that list:
'list_start' => '<ul>',
'list_end' => '</ul>',

// This will enclose each item in a list:
'item_start' => '<li>',
'item_end' => '</li>',

// This will enclose sub-lists in a list:
'group_start' => '<ul>',
'group_end' => '</ul>',

// This will enclose (foot)notes:
'notes_start' => '<div class="notes">',
'notes_end' => '</div>',
));
// ----------------------------- END OF left "Sidebar" CONTAINER -----------------------------
?>
</div>

<div class="rightBlock">
<?php

Sep 23, 2012 07:53

Case Closed
I found the problem ... somehow the 227 moved up few lines :
skin_container( NT_('Sidebar '), array(
and line 260 said :
skin_container( NT_('Sidebar 2'), array(
and noticed this "sidebar" and "sidebar 2"

so I added 1 to end of sidebar to make it "sidebar 1"

skin_container( NT_('Sidebar 1'), array(

L33T skin works now :)

I noticed the contact is out of align ... attempting to fix it :)

Mar 18, 2015 17:21

@crazychad wrote earlier:

Case Closed
I found the problem ... somehow the 227 moved up few lines :
skin_container( NT_('Sidebar '), array(
and line 260 said :
skin_container( NT_('Sidebar 2'), array(
and noticed this "sidebar" and "sidebar 2"

so I added 1 to end of sidebar to make it "sidebar 1"

skin_container( NT_('Sidebar 1'), array(

L33T skin works now :)

I noticed the contact is out of align ... attempting to fix it :)

that did not help ... is there any more solutions to fix this ?

Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) ... blogs/skins/l33t_gray2/index.main.php on line 227

Mar 21, 2015 11:03

Hi @deafsilencer,

That skin is pretty outdated, and may not be fully compatible with version 5.2.2. However, the package published here: http://skins.b2evolution.net/l33t_gray2 does not contain the mentioned error, so you can just download it and replace your installed version.

Regards!


Form is loading...

powered by b2evolution – This forum is powered by b2evolution CMS, a complete engine for your website.