| Author |
Message |
shamend143
Private


Joined: Oct 17, 2003
Posts: 46
|
Posted:
Sun Jul 18, 2004 1:44 pm |
  |
|
    |
 |
luchtzak
Support Mod


Joined: Mar 19, 2003
Posts: 308
|
Posted:
Sun Jul 18, 2004 2:20 pm |
  |
|
    |
 |
shamend143
Private


Joined: Oct 17, 2003
Posts: 46
|
Posted:
Sun Jul 18, 2004 2:36 pm |
  |
|
    |
 |
luchtzak
Support Mod


Joined: Mar 19, 2003
Posts: 308
|
Posted:
Mon Jul 19, 2004 12:13 am |
  |
|
    |
 |
shamend143
Private


Joined: Oct 17, 2003
Posts: 46
|
Posted:
Mon Jul 19, 2004 1:17 am |
  |
|
    |
 |
hubson
Sergeant


Joined: Feb 21, 2004
Posts: 102
Location: UK
|
Posted:
Mon Jul 19, 2004 5:37 am |
  |
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. |
|
|
        |
 |
Darrell3831
Captain


Joined: Jan 05, 2004
Posts: 425
|
Posted:
Mon Jul 19, 2004 7:23 am |
  |
| 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 |
|
    |
 |
shamend143
Private


Joined: Oct 17, 2003
Posts: 46
|
Posted:
Mon Jul 19, 2004 2:22 pm |
  |
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 |
|
    |
 |
Darrell3831
Captain


Joined: Jan 05, 2004
Posts: 425
|
Posted:
Mon Jul 19, 2004 2:48 pm |
  |
Shamend143,
Where this theme came from can be determined from the comments at the top of the file.
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 |
|
    |
 |
shamend143
Private


Joined: Oct 17, 2003
Posts: 46
|
Posted:
Mon Jul 19, 2004 3:00 pm |
  |
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  |
_________________ www.halfdedicated.com
Contact us for best hosting plans.....
www.arcadejunction.com
Real Arcaders Site |
|
    |
 |
Darrell3831
Captain


Joined: Jan 05, 2004
Posts: 425
|
Posted:
Mon Jul 19, 2004 3:06 pm |
  |
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 |
|
    |
 |
shamend143
Private


Joined: Oct 17, 2003
Posts: 46
|
Posted:
Mon Jul 19, 2004 3:13 pm |
  |
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 |
|
    |
 |
shamend143
Private


Joined: Oct 17, 2003
Posts: 46
|
Posted:
Mon Jul 19, 2004 3:40 pm |
  |
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 |
|
    |
 |
|
|