Link gets Error Msg.
6 posts by 3 authors in: Forums > CMS Builder
Last Post: April 1, 2009 (RSS)
By webfoot - March 26, 2009
Linking from list page to detail page is not working. Here is the link -
<a href="<?php echo $record['_link'] ?>">More information...</a>
My error message is this -
Parse error: syntax error, unexpected $end in /home/infinite/public_html/store/storeDetail.php on line 102
Here is the actual link from list page;
<a href="/store/storeDetail.php?Olive-Oil-Dried-Berries-Dark-Chocolate-5-33">See more information</a>
What am I missing? One thing is the -5-33 Not sure where -33 is from? Help!
webfootstudios.com
Re: [webfoot] Link gets Error Msg.
By ross - March 27, 2009
Thanks for posting!
Could you attach a copy of /storeDetail.php for me? I'd like to have a closer look at how that page is coded. Thanks!
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com
Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/
Re: [ross] Link gets Error Msg.
By webfoot - April 1, 2009
Attached pls find the storeDetail.php and storeList.php
See store list with links on homepage -
http://infinitewell-being.com/indexcss.php
Can't open any individual product pages.
[:/]
webfootstudios.com
Re: [webfoot] Link gets Error Msg.
By Perchpole - April 1, 2009
Could be a conflict. I've also seen problems like this related to XML file data.
Either way could you post the code for your header and footer server side includes, please.
:0)
Perchpole
Re: [Perchpole] Link gets Error Msg.
By webfoot - April 1, 2009
<?php require_once('../footer.ssi'); ?>
thanks....
webfootstudios.com
Re: [webfoot] Link gets Error Msg.
By Perchpole - April 1, 2009
I suspect the error is due to the way you are calling your SSIs. Currently the call for your header is...
<?php require_once('../header.ssi'); ?>
I think it should be...
<?php require_once "../header.ssi"; ?>
The same is no-doubt true of the footer.
Give it a go.
:0)
Perchpole