Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 2    Views: 38

mixology
I hate code!
Profile
Posts: 24
Reg: Oct 01, 2011
Merelbeke
240
05/24/14 03:21 PM (10 years ago)

RSS ( with php )results in white screen

a long time ago I downloaded over here the "montesino php". A nice php that gave me the opportunity, after some modification, to get my Joomla site news into an RSS on the IOS. Now I want to migrate that site to Joomla 3.2, and while testing some stuff, the php gives a white screen when I want to read the details of the RSS article. http://mixology.be/acodtest2014/index.php/ is the mainsite and http://www.mixology.be/php4apps/acodovl2014.php is the overview result. On http://www.mixology.be/php4apps/acodovl2014.zip you can download the php file. I guess the error is in line 238. Is there anybody who can help me ? Thanks ! Yuri
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
05/24/14 03:32 PM (10 years ago)
http://www.mixology.be/php4apps/acodovl2014.php brings me this result: https://dl.dropboxusercontent.com/u/115208762/ss_mixology.png clicking on the top button generates this URL: http://www.mixology.be/php4apps/acodovl2014.php?storyURL=http://mixology.be/acodtest2014/index.php/131-test-2 clicking on the bottom button generates this one: http://www.mixology.be/php4apps/acodovl2014.php?storyURL=http://mixology.be/acodtest2014/index.php/130-test I don't get any errors; just a white screen. And although the screen may 'look' blank, it has this data: (one of them did, anyway) <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" > <html> <head> <title>ACOD-OVl</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width; initial-scale=1.0; minimum-scale=0.35; maximum-scale=1.6; user-scalable=0;"/> <meta http-equiv="imagetoolbar" content="no" /> <meta http-equiv="imagetoolbar" content="false" /> <style type="text/css"> body{ font-family:verdana; font-size:11pt;padding:0px; margin:0px; } table{ margin:0px; } div{ padding:0px; margin:0px; } .rounded{ -moz-border-radius-topright: 6px; border-top-right-radius: 6px; -moz-border-radius-topleft: 6px; border-top-left-radius: 6px; -moz-border-radius-bottomright: 6px; border-bottom-right-radius: 6px; -moz-border-radius-bottomleft: 6px; border-bottom-left-radius: 6px; } .itemOff{ padding:5px; margin:0px; border-bottom:1px solid gray; background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FFFFFF), color-stop(1, #CCCCCC)); } .itemOn{ padding:5px; margin:0px; border-bottom:1px solid gray; background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FFFFFF), color-stop(1, #737072)); } td{ padding:0px; vertical-align:top; } .imageCell{ width:65px; height:65px; overflow:hidden; } .image{ width:65px; height:65px; overflow:hidden; } .description{ padding-left:5px; padding-right:5px; margin-top:0px; height:30px; overflow:hidden; font-size:9pt; } .date{ padding-left:5px; padding-right:5px; margin-top:0px; color:#999999; font-size:1pt; } .article{ font-size:10pt; margin-bottom:25px; padding:10px; } .createdate{ color:#999999; } </style> <script type="text/javascript"> function fnSelected(theElId, linkURL){ document.getElementById(theElId).className = "itemOn"; var divs = document.getElementsByTagName('div'); for(var i = 0; i < divs.length; i++){ if(divs[i].id.indexOf("item_", 0) > -1 && divs[i].id != theElId){ divs[i].className = "itemOff"; } } //navigate to "linkURL" var currentURL = document.location.href; document.location.href = currentURL + "?storyURL=" + linkURL; } </script> </head> <body> <div class='article'></div> </body> </html> My suggestion would be to revisit your scripts, and figure out what is supposed to add content to the pages... But I don't think it's line 238... at least, not on my machine. Cheers! -- Smug
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
05/24/14 03:34 PM (10 years ago)
Have you seen the joomla extensions?there might be more if you search around http://extensions.joomla.org/extensions/content-sharing/rss-syndicate Maybe they can help
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.