TinyPortal

Development => Support => Topic started by: sieurvaa on September 12, 2009, 03:32:48 PM

Title: Frontpage Slideshow error in a php block
Post by: sieurvaa on September 12, 2009, 03:32:48 PM
Link to my site: http://www.oldrepublic-fr.com/old
SMF version: 1.1.10
TP version: 1.0 beta 4
Theme name and version: DSv4
Browser Name and Version: Opera 10.0
Mods installed: Youtube BBCode

Hi there !

I'm trying to install Frontpage Slideshow from http://www.frontpageslideshow.net/ on my TinyPortal / SMF website. I added the code to a php block but I get this error :

Parse error: syntax error, unexpected '<' in /homez.305/oldrepub/www/old/Sources/Load.php(1745) : eval()'d code(48) : eval()'d code on line 1

It seems FPSS isn't working in a TinyPortal php block, because I just created a test.php file with the same Frontpage Slideshow code in it and it works... Any suggestions ?
Title: Re: Frontpage Slideshow error in a php block
Post by: G6Cad on September 12, 2009, 03:43:32 PM
Please read the Posting Guidelines.html (http://www.tinyportal.net/index.php/topic,581)

My first thought is you left the php tags intact, they meed to be removed as TP renders them on auto. so remove the start and end php tags and try again
Title: Re: Frontpage Slideshow error in a php block
Post by: sieurvaa on September 12, 2009, 03:50:58 PM
God thanks, that was that !

Thank you very much !
Title: Re: Frontpage Slideshow error in a php block
Post by: G6Cad on September 12, 2009, 04:21:15 PM
Marking this solved then  :up: