Jump to content

white pages/broken links


wednesday

Recommended Posts

Hi There.

Massive apologies in advanced. Absolute novice at all this. Sorry to trouble you with such simple stuff.
I have a web-site, somebody made for me, that I am trying to update: http://www.regencyint.com

http://www.regencyint.com/market.php has some links under Other Articles. These don't seem to be working and I can't fathom why.

I have created these files by (for example) duplicating the market.php changing the file name itself to pensions.php and within the code 'main' => "market.tpl" to  'main' => "pensions.tpl".

I then edit the text in market.tpl using dreamweaver and resave as pensions.tpl

Then I upload pensions.tpl and (I think) in theory it should work. But it does not. 'There's the rub' as ol' Will would say.

I only get a blank page, so I'm thinking that it could be the php (but what do I know?!) Would much appreciate any advice/help/guidance anyone could offer.

Many thanks.

Keep on keeping on.
Link to comment
https://forums.phpfreaks.com/topic/27962-white-pagesbroken-links/
Share on other sites

Sure thing Ray.

Here is the code for the PHP.

<?php

include('template.php');







$template->set_filenames(array(

'main' => "indiantaxlaw.tpl"

) );





//include('function.php');



//readFeeds("http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/business/rss.xml");





$template->pparse("main");

?>
lol
Going to need a little more than that. The links on the page
[code]Other Articles
Retirement planning >>
Retirement planning continued >>
UK Domicility >>
UK Domicility continued >>
Cross Border Wills >>
EU Directive>>
Pensions >> [/code]

What does their code look like?? also post the code to the page they go to.

Ray
Sorry. Sorry. Of course

Other Articles<br />
                          </span><span class="style13"><a href="retirementplanning.php">Retirement planning &gt;&gt;<br />
                          </a><a href="retirementplanning.php">Retirement planning continued &gt;&gt;<br />
                          </a><a href="ukdomicility.php">UK Domicility &gt;&gt;</a> </span><a href="ukdomicility2.php"><br />
                        UK Domicility continued &gt;&gt;<br />
                        </a></span><span class="style13"><a href="crossborderwills.php">Cross Border Wills &gt;&gt;<br />
                          </a><a href="eudirective.php">EU Directive&gt;&gt;</a>                          <br />
                          <a href="contact.php">Pensions &gt;&gt;</a>                          <br />
</span>
So this one... 'talks to' indiantaxlaw.tpl

<?php

include('template.php');







$template->set_filenames(array(

'main' => "indiantaxlaw.tpl"

) );





//include('function.php');



//readFeeds("http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/business/rss.xml");





$template->pparse("main");

?>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.