Link gets Error Msg.

6 posts by 3 authors in: Forums > CMS Builder
Last Post: April 1, 2009   (RSS)

By webfoot - March 26, 2009

This worked before and now well something is awry!

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!
melinda
webfootstudios.com

Re: [webfoot] Link gets Error Msg.

By ross - March 27, 2009

Hi Melinda

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: [webfoot] Link gets Error Msg.

By Perchpole - April 1, 2009

Hi, Melinda -

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('../header.ssi'); ?>
<?php require_once('../footer.ssi'); ?>

thanks....
melinda
webfootstudios.com

Re: [webfoot] Link gets Error Msg.

By Perchpole - April 1, 2009

Hi, Melinda -

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