- Posts: 2
- Thank you received: 0
Hikashop menu creation Problem
12 years 6 months ago - 12 years 6 months ago #149095
by IDWeb
Hikashop menu creation Problem was created by IDWeb
-- url of the page with the problem -- :
idweb-agence.com
-- HikaShop version -- : HikaShop Essential 2.3.0
-- Joomla version -- : Joomla! 2.5.14
-- PHP version -- : 5.3.16
-- Browser(s) name and version -- : Chrome Version 33.0.1750.152
-- Error-message(debug-mod must be tuned on) -- :
Parse error: syntax error, unexpected $end in /homez.xxx/idwebage/www/administrator/components/com_hikashop/views/menus/tmpl/form.php on line 676.
I try to create a menu link categories listing. When i clik on Hikashop options, i've got this error message :
"Parse error: syntax error, unexpected $end in /homez.xxx/idwebage/www/administrator/components/com_hikashop/views/menus/tmpl/form.php on line 676"
i have take a look `to this file but seen nothing special.
Any help woul'd be appreciated.
Regards
Céline
-- HikaShop version -- : HikaShop Essential 2.3.0
-- Joomla version -- : Joomla! 2.5.14
-- PHP version -- : 5.3.16
-- Browser(s) name and version -- : Chrome Version 33.0.1750.152
-- Error-message(debug-mod must be tuned on) -- :
Parse error: syntax error, unexpected $end in /homez.xxx/idwebage/www/administrator/components/com_hikashop/views/menus/tmpl/form.php on line 676.
I try to create a menu link categories listing. When i clik on Hikashop options, i've got this error message :
"Parse error: syntax error, unexpected $end in /homez.xxx/idwebage/www/administrator/components/com_hikashop/views/menus/tmpl/form.php on line 676"
i have take a look `to this file but seen nothing special.
Any help woul'd be appreciated.
Regards
Céline
Last edit: 12 years 6 months ago by IDWeb.
Please Log in or Create an account to join the conversation.
12 years 6 months ago #149102
by sjmay
Replied by sjmay on topic Hikashop menu creation Problem
I'm having the exact same problem! (hikashop 2.3.0, joomla 2.5.19, php 5.4, browser: firefox)
Please Log in or Create an account to join the conversation.
12 years 6 months ago - 12 years 6 months ago #149106
by IDWeb
Replied by IDWeb on topic Hikashop menu creation Problem
it seems that there is one { too but can't see where. Maybe
<?php if (!HIKASHOP_BACK_RESPONSIVE) { ?> line 21 and line 437
When i try to close it i get "Resticted access" error
<?php if (!HIKASHOP_BACK_RESPONSIVE) { ?> line 21 and line 437
When i try to close it i get "Resticted access" error
Last edit: 12 years 6 months ago by IDWeb.
Please Log in or Create an account to join the conversation.
12 years 6 months ago #149109
by Xavier
Replied by Xavier on topic Hikashop menu creation Problem
Hi,
Indeed there is a missing "}" near the line "424".
Thanks to replace:
By:
We have corrected it on our end.
Indeed there is a missing "}" near the line "424".
Thanks to replace:
Code:
<?php
if(!empty($this->extra_blocks['products'])) {
foreach($this->extra_blocks['products'] as $r) {
if(is_string($r))
echo $r;
if(is_array($r)) {
if(!isset($r['name']) && isset($r[0]))
$r['name'] = $r[0];
if(!isset($r['value']) && isset($r[1]))
$r['value'] = $r[1];
?>
<tr>
<td class="key"><?php echo JText::_(@$r['name']); ?></td>
<td><?php echo @$r['value']; ?></td>
</tr>
<?php
}
}
?>
Code:
<?php
if(!empty($this->extra_blocks['products'])) {
foreach($this->extra_blocks['products'] as $r) {
if(is_string($r))
echo $r;
if(is_array($r)) {
if(!isset($r['name']) && isset($r[0]))
$r['name'] = $r[0];
if(!isset($r['value']) && isset($r[1]))
$r['value'] = $r[1];
?>
<tr>
<td class="key"><?php echo JText::_(@$r['name']); ?></td>
<td><?php echo @$r['value']; ?></td>
</tr>
<?php
}
}
}
?>
We have corrected it on our end.
The following user(s) said Thank You: IDWeb
Please Log in or Create an account to join the conversation.
12 years 6 months ago #149113
by sjmay
Replied by sjmay on topic Hikashop menu creation Problem
Perfect! Mine's working now - thank you!
Please Log in or Create an account to join the conversation.
Time to create page: 0.195 seconds