I was trying to install the links manager today and I got this error --
Parse error: syntax error, unexpected $end in C:\apache2triad\htdocs\138\admin\includes\boxes\extra_boxes\links_extras_dhtml.p hp on line 9
this is a great addon and I would like to get it up and running if you could give me the low down on the error - nothing loads below the menu of admin with the error........
thanks
additional info - line 9 is the ?> shabang
<?php
if (!defined('IS_ADMIN_FLAG')) {
die('Illegal Access');
$za_contents[] = array('text' => BOX_LINKS, 'link' => zen_href_link(FILENAME_LINKS, '', 'NONSSL'));
$za_contents[] = array('text' => BOX_LINK_CATEGORIES, 'link' => zen_href_link(FILENAME_LINK_CATEGORIES, '', 'NONSSL'));
$za_contents[] = array('text' => BOX_LINKS_CONTACT, 'link' => zen_href_link(FILENAME_LINKS_CONTACT, '', 'NONSSL'));
?>
try this,
Just unzip the file and upload the entire admin folder to your server
Attachment 3284
Last edited by clydejones; 31 Dec 2009 at 02:31 AM.
tried it, but it didn't do the trick... still gave me the error
Parse error: syntax error, unexpected $end in C:\apache2triad\htdocs\138\admin\includes\boxes\extra_boxes\links_extras_dhtml.p hp on line 17
3.3.1 is the version I downloaded - I've installed it on my development platform which is XP professional running Apache2triad server - the enviroment replicates the linux environment pretty good -
difference being, my live site is on linux, php4 and this one is on windows, php5 - would that make a difference??
I usually try everthing on my development platform first before going live with it and have found that sometimes there is a difference between the 2 platforms.
Try this and see what happens.
Attachment 3286
I use XAMPP on windows XP php5 with no problem.
Last edited by clydejones; 31 Dec 2009 at 02:31 AM.
that appears to be the right fix, it works great now, I'll swap a link with you when I get it on the live site http://www.wlsheadliners.com
thanks again
Bookmarks