What is this? -----> } // END } ?>>
Posted: 29 April 2007 10:16 PM   [ Ignore ]  
Grad Student
Rank
Total Posts:  74
Joined  10-12-2006

I have this appearing at the top of my blog. It wasn’t there when I initially got it working, but I cannot determine what it is coming from. It is not in the templets.

} // END } ?>>

Profile
 
 
Posted: 29 April 2007 10:23 PM   [ Ignore ]   [ # 1 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  838
Joined  04-24-2002

It’s a comment in some code, maybe PHP or JavaScript. Have you added any custom scripts, plugins, modules etc since you initially got your blog working?

 Signature 

chrisruzin.netTextMate EE BundleTextMate EE Developer Bundle • Pro Network member
“The greatest barrier to success is the fear of failure.” - Sven Goran Eriksson

Profile
 
 
Posted: 29 April 2007 11:54 PM   [ Ignore ]   [ # 2 ]  
Grad Student
Rank
Total Posts:  74
Joined  10-12-2006

Not that I can think of. Just EE formatting of pages. I do have FLV player and File installed, but that was done before the problem surfaced.

Profile
 
 
Posted: 30 April 2007 07:40 AM   [ Ignore ]   [ # 3 ]  
Administrator
Avatar
RankRankRankRankRankRank
Total Posts:  6507
Joined  03-23-2006

If you create just a simple template with an FLV player code, do you see it?

Do you have PHP enabled for your templates?  If you enable PHP does it go away?

 Signature 

DerekAllard.com - CodeIgniter, ExpressionEngine, and the World of Web Design

Profile
MSG
 
 
Posted: 30 April 2007 09:36 AM   [ Ignore ]   [ # 4 ]  
Grad Student
Rank
Total Posts:  74
Joined  10-12-2006

Forgive me for asking a dumb question, but where do I enable/disable php?

Profile
 
 
Posted: 30 April 2007 10:09 AM   [ Ignore ]   [ # 5 ]  
Administrator
Avatar
RankRankRankRankRankRank
Total Posts:  6507
Joined  03-23-2006

No problem.  PHP in Templates.

 Signature 

DerekAllard.com - CodeIgniter, ExpressionEngine, and the World of Web Design

Profile
MSG
 
 
Posted: 30 April 2007 11:46 AM   [ Ignore ]   [ # 6 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  838
Joined  04-24-2002
johnhopkins - 30 April 2007 09:36 AM

Forgive me for asking a dumb question, but where do I enable/disable php?

There are no dumb questions you can ask.

Well, maybe if you asked what peanut butter was made out of. That could be considered a dumb question. Anything related to EE isn’t dumb though.  wink

 Signature 

chrisruzin.netTextMate EE BundleTextMate EE Developer Bundle • Pro Network member
“The greatest barrier to success is the fear of failure.” - Sven Goran Eriksson

Profile
 
 
Posted: 30 April 2007 12:00 PM   [ Ignore ]   [ # 7 ]  
Grad Student
Rank
Total Posts:  74
Joined  10-12-2006

An enlightening question might be “What ELSE is peanut butter made of?”.

I’ll look at that when I get home, (the PHP not the PB). I have a glorious state job and can’t even check personal email here… let alone client work. Gotta go, big brother is watching wink

Profile
 
 
Posted: 30 April 2007 07:47 PM   [ Ignore ]   [ # 8 ]  
Grad Student
Rank
Total Posts:  74
Joined  10-12-2006

Following is the template that I made to test the problem. I made sure that PHP was enabled and stripped the template down to the essentials.

{assign_variable:my_weblog="video"}
{assign_variable
:my_template_group="site"}

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml">

<
head>

</script>

</head>

<
body>

{exp:weblog:entries orderby="date" limit="1" weblog="{my_weblog}" username="CURRENT_USER"}
    
{exp
:flvplugin playerpath="http://www.adamsmithgolf.com/flash_flv_player/flvplayer.swf" playernumber="1" file="{video_file}" width="640" height="480" showdigits="true"}

{video_comments}
{
/exp:weblog:entries}

</body>
</
html>

Here is the source of the rendered page… at least the beginning of it.

}
// END        
        
        
    
}
?>
>


<!
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml">

<
head>

One thing to note is that on the page where I originally noted the problems, the links on that page that go to the comments page, just take you to a page that looks like the page you came from.

Profile
 
 
Posted: 30 April 2007 07:52 PM   [ Ignore ]   [ # 9 ]  
Administrator
Avatar
RankRankRankRankRankRank
Total Posts:  6507
Joined  03-23-2006

Wow, odd indeed.

Does this happen if you remove the code for the flv plugin?  Can you give me the most minimal template that you can create that will still generate that error?

 Signature 

DerekAllard.com - CodeIgniter, ExpressionEngine, and the World of Web Design

Profile
MSG
 
 
Posted: 30 April 2007 08:01 PM   [ Ignore ]   [ # 10 ]  
Grad Student
Rank
Total Posts:  74
Joined  10-12-2006

The following template does not produce the strange bit of cote:

{assign_variable:my_weblog="video"}
{assign_variable
:my_template_group="site"}

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml">

<
head>

</script>


</head>

<
body>


{exp:weblog:entries orderby="date" limit="1" weblog="{my_weblog}" username="CURRENT_USER"}
    
{video_file}


    
{video_comments}
{
/exp:weblog:entries}


</body>
</
html>

Profile
 
 
Posted: 30 April 2007 08:44 PM   [ Ignore ]   [ # 11 ]  
Administrator
Avatar
RankRankRankRankRankRank
Total Posts:  6507
Joined  03-23-2006

So would it be fair then to say that pages without the flv plugin don’t have this problem?  That would make it a pretty likely candidate.  Try re-installing/upgrading it, and if you’re confident that it is that plugin let me know, and I’ll be happy to move this post into the plugin forums to get more eyeballs on it for you.

 Signature 

DerekAllard.com - CodeIgniter, ExpressionEngine, and the World of Web Design

Profile
MSG
 
 
Posted: 30 April 2007 09:09 PM   [ Ignore ]   [ # 12 ]  
Grad Student
Rank
Total Posts:  74
Joined  10-12-2006

Go ahead and move it over. I’m pretty sure that is the problem. Seems pretty conclusive. Hopefully someone there can get my flv plugin install sorted.

Profile
 
 
Posted: 30 April 2007 09:23 PM   [ Ignore ]   [ # 13 ]  
Administrator
Avatar
RankRankRankRankRankRank
Total Posts:  6507
Joined  03-23-2006

My pleasure.  Good luck and do report back if you get it put away.

 Signature 

DerekAllard.com - CodeIgniter, ExpressionEngine, and the World of Web Design

Profile
MSG
 
 
Posted: 01 May 2007 09:38 AM   [ Ignore ]   [ # 14 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  112
Joined  09-06-2006

Could that unpaired closing script tag

</script>

be effecting anything since there’s no opening tag?

Profile
 
 
Posted: 01 May 2007 10:35 AM   [ Ignore ]   [ # 15 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15002
Joined  06-03-2002
smartpill - 01 May 2007 09:38 AM

Could that unpaired closing script tag

</script>

be effecting anything since there’s no opening tag?

That’s just a result of forum security stripping javascript out of his post.  The problem most definitely has the earmarks of a PHP problem, perhaps a corrupted or truncated file.

 Signature 
Profile
MSG
 
 
Posted: 01 May 2007 10:38 AM   [ Ignore ]   [ # 16 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  735
Joined  03-22-2004

There actually seems to be a problem using the File Extension with the FLV plugin. I will be problem solving it later on.

Profile
 
 
Posted: 02 May 2007 08:45 PM   [ Ignore ]   [ # 17 ]  
Grad Student
Rank
Total Posts:  74
Joined  10-12-2006

Thanks for the help! I reinstalled the plugin as you suggested and it works fine now.

Profile
 
 
Posted: 03 May 2007 03:38 AM   [ Ignore ]   [ # 18 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  735
Joined  03-22-2004

Good stuff!

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 10:33 AM
Total Registered Members: 61010 Total Logged-in Users: 11
Total Topics: 73782 Total Anonymous Users: 9
Total Replies: 398030 Total Guests: 450
Total Posts: 471812    
Members ( View Memberlist )
Newest Members:  kohyeaHRAFFAndrew Doranphantom-am0azamblituxh-nakamurasensakillakynatrocrooter