You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 153 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Fatal error: Call to undefined function: themes_get_language [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
shamend143
Private
Private


Joined: Oct 17, 2003
Posts: 46


PostPosted: Sun Jul 18, 2004 1:44 pm Reply with quoteBack to top

Hello
help me with this error someone please

Fatal error: Call to undefined function: themes_get_language() in /home/arcade/public_html/html/themes/Giga_insetable_rogue/theme.php on line 42


http://www.halfdedicated.com/~arcade/html/

thanks
_Shamend

_________________
www.halfdedicated.com
Contact us for best hosting plans.....
www.arcadejunction.com
Real Arcaders Site
Find all posts by shamend143View user's profileSend private messageVisit poster's website
luchtzak
Support Mod
Support Mod


Joined: Mar 19, 2003
Posts: 308


PostPosted: Sun Jul 18, 2004 2:20 pm Reply with quoteBack to top

That theme needs a language-file in your map 'language', what language do you use for your site?

_________________
Luchtzak Aviation - Snookerforum Belgium
Find all posts by luchtzakView user's profileSend private messageVisit poster's website
shamend143
Private
Private


Joined: Oct 17, 2003
Posts: 46


PostPosted: Sun Jul 18, 2004 2:36 pm Reply with quoteBack to top

english

_________________
www.halfdedicated.com
Contact us for best hosting plans.....
www.arcadejunction.com
Real Arcaders Site
Find all posts by shamend143View user's profileSend private messageVisit poster's website
luchtzak
Support Mod
Support Mod


Joined: Mar 19, 2003
Posts: 308


PostPosted: Mon Jul 19, 2004 12:13 am Reply with quoteBack to top

and is there a language-English.php file in your map 'language' ?

_________________
Luchtzak Aviation - Snookerforum Belgium
Find all posts by luchtzakView user's profileSend private messageVisit poster's website
shamend143
Private
Private


Joined: Oct 17, 2003
Posts: 46


PostPosted: Mon Jul 19, 2004 1:17 am Reply with quoteBack to top

yes its lang-english.php a 10kb file in html/languages

_________________
www.halfdedicated.com
Contact us for best hosting plans.....
www.arcadejunction.com
Real Arcaders Site
Find all posts by shamend143View user's profileSend private messageVisit poster's website
hubson
Sergeant
Sergeant


Joined: Feb 21, 2004
Posts: 102

Location: UK

PostPosted: Mon Jul 19, 2004 5:37 am Reply with quoteBack to top

is there a file in your theme directory called lang_main.php, if this missing then you have to see if the original has the file for you to replace it.
Find all posts by hubsonView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
Darrell3831
Captain
Captain


Joined: Jan 05, 2004
Posts: 425


PostPosted: Mon Jul 19, 2004 7:23 am Reply with quoteBack to top

Quote:
Fatal error: Call to undefined function: themes_get_language() in /home/arcade/public_html/html/themes/Giga_insetable_rogue/theme.php on line 42


From my limited experience this means that the code in theme.php tried to call a function named themes_get_language() and that function did not exist, or was not yet defined.

The solution would be to see why the function was not in scope at that particular moment.

Is the function name mistyped in the theme.php. Is an #include statement missint or mistyped, is a file referenced in an include statement missing as hudson suggested, etc...

Shamend143, could you please post the first 50 or so lines of theme.php for us to look at?

Thanks,
Darrell

_________________
http://www.psy-center.com
Find all posts by Darrell3831View user's profileSend private messageVisit poster's website
shamend143
Private
Private


Joined: Oct 17, 2003
Posts: 46


PostPosted: Mon Jul 19, 2004 2:22 pm Reply with quoteBack to top

i get this error with almost 5-10 themes i have, i downloaded these themes form some nuke site dont rem now
lol
lemme paste it


<?php
global $sepcolor, $thename, $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $bgcolor5;
/************************************************************************/
/* Post-Nuke: Content Management System */
/* ==================================== */
/* */
/* Copyright (c) 2001 by the Post Nuke development team */
/* http://www.postnuke.com */
/************************************************************************/
/************************/
/* Modified version of: */
/************************************************************************/
/* PHP-NUKE: Web Portal System */
/* =========================== */
/* */
/* Copyright (c) 2001 by Francisco Burzi (fbc@mandrakesoft.com) */
/* http://phpnuke.org */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/
/************************/
/************************************************************************/
/* Filename: Giga_gui_signal - Theme PostNuke 0.64 */
/* Design : http://www.guistuff.com/ */
/* Theme by: NUNO LUCIANO PEREIRA */
/* Email : webmaster@divertidos.org */
/* URL : http://www.divertidos.org */
/* Date : 27 December 2001 */
/************************************************************************/
$thename = "Giga_gui_signal";
$bgcolor1 = "#808080";
$bgcolor2 = "#999999";
$bgcolor3 = "#7D7D7D";
$bgcolor4 = "#999999";
$sepcolor = "#000000"; // Color for the seperator used in the theme. Theme only.
$textcolor1 = "#000000";
$textcolor2 = "#000000";
$postnuke_theme = true;

themes_get_language();

function OpenTable() {
global $bgcolor1, $bgcolor2;
echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\"><tr><td>\n";
echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}

function OpenTable2() {
global $bgcolor1, $bgcolor2;
echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\" align=\"center\"><tr><td>\n";
echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}

function CloseTable() {
echo "</td></tr></table></td></tr></table>\n";
}

function CloseTable2() {
echo "</td></tr></table></td></tr></table>\n";
}

function FormatStory($thetext, $notes, $aid, $informant) {
global $anonymous;
if ($notes != "") {
$notes = ""._NOTE."<i>$notes</i>\n";
} else {
$notes = "";
}
if ("$aid" == "$informant") {
echo "$thetext<br>$notes\n";
} else {
$boxstuff .= "$thetext <br><br>$notes\n";
echo "$boxstuff\n";
}
}


ALSO HELP ME WITH ONE THING
like i got this error on line 42 , how can i goto line 42 directly. on my notepad goto line dont work

thanks to all
Regards
_Shamend

_________________
www.halfdedicated.com
Contact us for best hosting plans.....
www.arcadejunction.com
Real Arcaders Site
Find all posts by shamend143View user's profileSend private messageVisit poster's website
Darrell3831
Captain
Captain


Joined: Jan 05, 2004
Posts: 425


PostPosted: Mon Jul 19, 2004 2:48 pm Reply with quoteBack to top

Shamend143,

Where this theme came from can be determined from the comments at the top of the file.

Quote:
/* Filename: Giga_gui_signal - Theme PostNuke 0.64 */
/* Design : http://www.guistuff.com/ */
/* Theme by: NUNO LUCIANO PEREIRA */
/* Email : webmaster@divertidos.org */
/* URL : http://www.divertidos.org */
/* Date : 27 December 2001 */


The best possible place for support would be the author.

This theme appears to have been developed for PostNuke. That's somewhat different from the versions used and supported here.

I don't have any experience with PostNuke. However, the themes seem to be very similar in construction.

This is line 42 of your theme:

Quote:
themes_get_language();


I use a commercial development package called Dreamweaver MX. It can be configured to show line numbers. I don't recall seeing a place to turn line numbers on in notepad. Try another text editor that supports line numbering.

As I suspected line 42 is a call to a function that has not been previously defined at the time it is being executed.

Do you have a Nuke or PostNuke site?

If you have a Nuke site, try commenting it out and let us know what happens.

Change line 42 to this:

Quote:
// themes_get_language();


If you have a PostNuke site you'll need someone else to help you. I'm sorry, I don't have any experience with that.

Basically this theme needs to be converted back to a standard Nuke theme if that's the style site you have.

Darrell

_________________
http://www.psy-center.com
Find all posts by Darrell3831View user's profileSend private messageVisit poster's website
shamend143
Private
Private


Joined: Oct 17, 2003
Posts: 46


PostPosted: Mon Jul 19, 2004 3:00 pm Reply with quoteBack to top

then someone misleading coz i know diff between post nuke and phpnuke and i clicked on phpnuke themes and got this
lol

thanks anyway lemme reinstall it then Sad

_________________
www.halfdedicated.com
Contact us for best hosting plans.....
www.arcadejunction.com
Real Arcaders Site
Find all posts by shamend143View user's profileSend private messageVisit poster's website
Darrell3831
Captain
Captain


Joined: Jan 05, 2004
Posts: 425


PostPosted: Mon Jul 19, 2004 3:06 pm Reply with quoteBack to top

Well if you like the theme don't give up. If you take your time you might be able to convert it. I was just curious how far you'd get by commenting that line out.

Darrell

_________________
http://www.psy-center.com
Find all posts by Darrell3831View user's profileSend private messageVisit poster's website
shamend143
Private
Private


Joined: Oct 17, 2003
Posts: 46


PostPosted: Mon Jul 19, 2004 3:13 pm Reply with quoteBack to top

ALSO HELP ME WITH ONE THING
like i got this error on line 42 , how can i goto line 42 directly. on my notepad goto line dont work

_________________
www.halfdedicated.com
Contact us for best hosting plans.....
www.arcadejunction.com
Real Arcaders Site
Find all posts by shamend143View user's profileSend private messageVisit poster's website
shamend143
Private
Private


Joined: Oct 17, 2003
Posts: 46


PostPosted: Mon Jul 19, 2004 3:40 pm Reply with quoteBack to top

actually iam planning to setup a site with clan files and game maps
so can u suggest me 2-3 themes pls with thumbnails atleast so i can see how it looks

_________________
www.halfdedicated.com
Contact us for best hosting plans.....
www.arcadejunction.com
Real Arcaders Site
Find all posts by shamend143View user's profileSend private messageVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.819 Seconds - 170 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::