[SOLVED] fatal error:

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 03-02-2009, 07:36 PM
New Pligger
 
Join Date: Mar 2009
Posts: 12
Hi,

Just installed pligg 1.0. Very nice CMS. However, I got below error message when I tried to insert the blacklabel ad codes into pligg.tpl:

Fatal error: TPL: [in wistie/pligg.tpl line 88]: syntax error: font function does not exist (class.compiler.php, line 485) in /home/digg/public_html/en/class.template.php on line 923

line 88 starts like this:
<style type="text/css">
.adHeadline {font: bold 10pt Arial; text-decoration: underline; color: #006699;}
.adText {font: normal 10pt Arial; text-decoration: none; color: #808080;}
</style>
.....

How can I fix it? Thank you very much!
Reply With Quote
  #2 (permalink)  
Old 03-02-2009, 09:35 PM
chuckroast's Avatar
Pligg Developer/Coder/Designer
Pligg Version: SVN
Pligg Template: Social Pro Kit
 
Join Date: Jun 2006
Posts: 5,448
Moving this post to the customization assistance forum where it should have originally been posted. Please only post to the correct forum.

To answer your question. You probable need to wrap this 3rd party code in literal tags.

{literal} CODE HERE {/literal}
Reply With Quote
  #3 (permalink)  
Old 03-02-2009, 10:27 PM
New Pligger
 
Join Date: Mar 2009
Posts: 12
It works. Thank you!

NP will post in correct forum next time.

Quote:
Originally Posted by chuckroast View Post
Moving this post to the customization assistance forum where it should have originally been posted. Please only post to the correct forum.

To answer your question. You probable need to wrap this 3rd party code in literal tags.

{literal} CODE HERE {/literal}
Reply With Quote
  #4 (permalink)  
Old 03-02-2009, 10:46 PM
chuckroast's Avatar
Pligg Developer/Coder/Designer
Pligg Version: SVN
Pligg Template: Social Pro Kit
 
Join Date: Jun 2006
Posts: 5,448
Glad you got it worked out.
Reply With Quote
Reply

Tags
function does not exist

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Clean install: Submit New Story = Fatal error: Call to undefined function: starguy Questions and Comments 5 01-29-2012 03:58 AM
[SOLVED] Pligg 9.9.5 site not accessible - Fatal error: Allowed memory size of 251658 idig Questions and Comments 3 03-03-2009 09:20 PM
[SOLVED] Fatal error when placing a comment in 9.9 kole Questions and Comments 2 01-16-2008 09:20 PM
[SOLVED] pagestatistics: Fatal error: Cannot redeclare get_category_id() ... dragan Questions and Comments 1 10-30-2007 03:25 PM
Got This Parse Error on c_ file on line 141 endph Questions and Comments 0 02-14-2007 07:44 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development