• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

Getting postnuke theme to work

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

IceMan3928

Member
I just started using postnuke for my website, so far I really like it. However I just installed a new theme called nukesolution, and it gives me an error in the story section right below where it says "posted by". The error it gives me is this:

Fatal error: Call to undefined function: formataidheader() in /home/iceman/public_html/postnuke-phoenix-0.7.2.3/postnuke-phoenix-0.7.2.3/html/themes/nukesolution/theme.php on line 194

Now im not very familiar with php so i was hoping someone here could help me out. Here is the section of code it is refering to:


formatAidHeader($aid); //<---line 194
echo " "._ON." $time $timezone ($counter "._READS.")<br></font>\n"
."<font size=\"2\">$morelink</font>\n"
."</td></tr></table></td></tr></table>\n"
."<br><br>\n\n\n";
 
I'm only a beginner but i think it is because of the problem with the double quotes on the echo line. Try replacing it with this:
echo " '._ON.' $time $timezone ($counter '._READS.')<br></font>\n"

i think the ._ON and ._READS should be enclosed with single quotes.
 
Back