Fiji Web Design
Welcome, Guest
Please Login or Register.    Lost Password?
I am confused (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: I am confused
#1165
bas1985 (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
I am confused 2 Years ago Karma: 0  
I made a php script to retreive some data from a rss feed wich seems to work fine outside joomla

I tryed this module.
copy/paste the copy into the module, change a few paths to incudes ect.

But when I turn evaluate php on my entire joomla just shows a blank white screen.
if I turn evaluate off the site is displayed

but inside the php module it start echo-ing raw code as soon as it finds the first ">" character in the code

$output='<link rel="stylesheet" type="text/css" href="../style.css">';
$output.='<script src="http://static.wowhead.com/widgets/power.js"></script>';
$output.='<table border="0" cellpadding="3" cellspacing="0">';
$i=0;
$end=0;
and this is what is displayed:
'; $output.=''; $output.=''; $i=0; $end=0; while ($i < count($data) and $end !=1) { $output.=''; $output.=''; $output.=''; $output.=''; $i++; if ($i >= $maxResults) { $end = 1; } } $output.='
'.substr($data[$i]['updated'], 5, 5).'	'.$data[$i]['content'].'
'; $output = str_replace('obtained', '
and after that it does on printing the rest of the php code Any clue ?
 
Report to moderator   Logged Logged  
 
Last Edit: 2010/02/04 01:05 By bas1985.
  The administrator has disabled public write access.
      Topics Author Date
    thread link
I am confused
bas1985 2010/02/04 01:03
    thread link
thread linkthread link Re:I am confused
admin 2010/02/04 07:01
    thread link
thread linkthread link Re:I am confused
bas1985 2010/02/04 07:23
    thread link
thread linkthread link Re:I am confused
mkpeter 2010/08/07 00:29
    thread link
thread linkthread link Re:I am confused
mikecriss 2010/08/25 09:32
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Joomla Downloads

DownloadsDownload our free Joomla! Components, Modules and Plugins.