[RESOLVED] Parse error when adding YouTube mod

Support for IntegraMOD 141

Moderator: Integra Moderator

[RESOLVED] Parse error when adding YouTube mod

PostAuthor: hornakapopolis » Tue Jul 01, 2008 6:43 am

When I add the YouTube bbcode mod to my site, I get the following error at the top of the center portal blocks, the bottom of the forum list, and at the top of the shoutbox.

Parse error: syntax error, unexpected '<' in /home/marysvil/public_html/zz-horn/includes/bbcode.php(67) : eval()'d code on line 1


Also, everything seems to function when I try to add the YouTube link, but when the post is submitted, the area where the video should be is blank, I'm assuming due to this error.

When I replace the bbcode.tpl file from my template's directory with the original, the error goes away, but obviously, still nothing works.

The YouTube button is showing in the posting screen.

I aalso have a block on my portal page that uses bbcode to provide RSS links. It uses nothing but images and links, but it doesn't display correctly, either when this error appears.

I've removed the bbcode.tpl file and posting_body.tpl files in the meantime.

Here are the screenshots and I've attached my bbcode.php file. I tied removed my comments from the bbcode.php file to see if that made a difference, but it does not.

[url=http][flash=,:27etp1uc]http://img388.imageshack.us/img388/7924/youtubeerrorscreenshot0pg5.th.jpg[/flash:27etp1uc][/url]

[url=http][flash=,:27etp1uc]http://img353.imageshack.us/img353/775/youtubeerrorscreenshot0xi1.th.jpg[/flash:27etp1uc][/url]
You do not have the required permissions to view the files attached to this post.
Last edited by hornakapopolis on Tue Jul 01, 2008 7:12 pm, edited 1 time in total.

hornakapopolis
Members
Members
 
Posts: 45
Likes: 0 post
Liked in: 0 post
Joined: Fri Apr 14, 2006 7:03 pm
Cash on hand: 0.00

Re: Parse error when adding YouTube mod

PostAuthor: Helter » Tue Jul 01, 2008 6:01 pm

youtube is already included in 141, however it appears that a few files were overwritten in one of the updates. here are the correct files IM141 files
You do not have the required permissions to view the files attached to this post.
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

PostAuthor: hornakapopolis » Tue Jul 01, 2008 7:12 pm

Great... those files worked perfectly.

Thanks a lot. It's appreciated!
Last edited by hornakapopolis on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

hornakapopolis
Members
Members
 
Posts: 45
Likes: 0 post
Liked in: 0 post
Joined: Fri Apr 14, 2006 7:03 pm
Cash on hand: 0.00


Return to IntegraMOD 141

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot], Majestic-12 [Bot]