Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Goto page: 1 - 2 [+1]

Bottom
undefined function: themeheader() error
  • Posted: 08.04.2004, 06:53
     
    jsellnau
    rank:
    Freshman Freshman
    registered:
     April 2004
    Status:
    offline
    last visit:
    18.06.04
    Posts:
    36
    I have install under windows. The install went fine but when I go to my index page I get to errors

    Code

    Fatal error: Call to undefined function: themeheader() in C:\sambar51\docs\tsg_portal\header.php on line 188

    and

    Code

    Fatal error: Call to undefined function: themefooter() in C:\sambar51\docs\tsg_portal\footer.php on line 55


    What can be done about this?
  • Posted: 08.04.2004, 07:26
     
    jsellnau
    rank:
    Freshman Freshman
    registered:
     April 2004
    Status:
    offline
    last visit:
    18.06.04
    Posts:
    36
    I have searched through your entire forum and FAQ's and none of it works.


    Do I need either apache or IIS specifically?
  • Posted: 08.04.2004, 11:37
     
    mhalbrook
    rank:
    Legend Legend
    registered:
     December 1969
    Status:
    offline
    last visit:
    01.12.08
    Posts:
    6533

    jsellnau

    I have searched through your entire forum and FAQ's and none of it works.


    http://forums.postnuke.com/modules.php?op=modload&name=FAQ&file=index&myfaq=yes&id_cat=33#255

    It is either missing files or a flawed theme, the PostNuke Swiss Army Knife should be helpful in geting a them that workes. Try changing it to PostNuke or ExtraLite.
  • Posted: 08.04.2004, 18:19
     
    jsellnau
    rank:
    Freshman Freshman
    registered:
     April 2004
    Status:
    offline
    last visit:
    18.06.04
    Posts:
    36

    jsellnau

    I have searched through your entire forum and FAQ's and none of it works.


    Do I need either apache or IIS specifically?
  • Posted: 08.04.2004, 22:22
     
    mhalbrook
    rank:
    Legend Legend
    registered:
     December 1969
    Status:
    offline
    last visit:
    01.12.08
    Posts:
    6533
    You need a web server that works with PHP.
  • Posted: 08.04.2004, 23:05
     
    geekster
    rank:
    Professional Professional
    registered:
     December 1969
    Status:
    offline
    last visit:
    06.09.05
    Posts:
    763
    I'm not sure what you meant when you said "none of it works" -

    If you were searching for the part of the error message that is unique to your own installation (i.e. "C:\sambar51\docs\tsg_portal") you won't get any finds except your own message. I just did a sear for the string
    call to undefined function: themeheader()
    and got 256 finds with that.

    If you haven't already done so - you might want to install "phpMyAdmin" on your site and check things out just to make certain your Windows web server/MySQL/PHP installation is working.

    You can grab phpMyAdmin from:
    http://sourceforge.net/projects/phpmyadmin/

    Even if that is not the problem, I would be willing to bet that later on phpMyAdmin turns into a valuable tool for you and your site endeavors - particularly for doing quick and dirty backups of your MySQL databases.

    Hope this helps!

    -=dave=-
  • Posted: 09.04.2004, 01:07
     
    jsellnau
    rank:
    Freshman Freshman
    registered:
     April 2004
    Status:
    offline
    last visit:
    18.06.04
    Posts:
    36
    All of the strings suggest to do the same thing......and it doesn't work. Also your FAQ was not helpful either.

    I have mySQL and PHP running just fine on the site because all of the other PHP and SQL pages run fine.

    That is why i asked:

    Quote

    Do I need either apache or IIS specifically?
  • Posted: 09.04.2004, 18:38
     
    jsellnau
    rank:
    Freshman Freshman
    registered:
     April 2004
    Status:
    offline
    last visit:
    18.06.04
    Posts:
    36
    This is sure is hell of a support team we got going here. Won't even answer a simple question.
  • Posted: 09.04.2004, 19:51
     
    batpuppy
    registered:
     June 2002
    Status:
    offline
    last visit:
    10.11.04
    Posts:
    611
    They have already answer your question a few posts up.

    Quote


    You need a web server that works with PHP.

    They also stated that the problem is with the theme.

    Quote


    It is either missing files or a flawed theme, the PostNuke Swiss Army Knife should be helpful in geting a them that workes. Try changing it to PostNuke or ExtraLite.

    Have you even attempted to switch themes using this utility? Do you still get the same error with other themes (PostNuke or extralite) ?
  • Posted: 09.04.2004, 19:56
     
    jsellnau
    rank:
    Freshman Freshman
    registered:
     April 2004
    Status:
    offline
    last visit:
    18.06.04
    Posts:
    36
    I have tried several themes using your Swiss Army Knife file. The error occurs with them all.

    Quote

    I have mySQL and PHP running just fine on the site because all of the other PHP and SQL pages run fine.
    Which I also said a few posts up.

    AND AGAIN:

    Quote

    Do I need either apache or IIS specifically?
  • Posted: 09.04.2004, 20:10
     
    mhalbrook
    rank:
    Legend Legend
    registered:
     December 1969
    Status:
    offline
    last visit:
    01.12.08
    Posts:
    6533
    AND AGAIN:

    Quote

    You need a web server that works with PHP.


    Given you said:

    Quote

    I have mySQL and PHP running just fine on the site because all of the other PHP and SQL pages run fine.


    That means whatever server you're using is fine.

    If all themes, even the core themes are giving you problems, then something is either missing or your PHP is misconfigured.

    If you want help, you need to give us more information on your server setup, what versions of PHP, MySQL, What Server, ect.
  • Posted: 09.04.2004, 22:58
     
    jsellnau
    rank:
    Freshman Freshman
    registered:
     April 2004
    Status:
    offline
    last visit:
    18.06.04
    Posts:
    36
    PHP 4.3.5
    mySQL 4.0.18
    Sambar server soon to be IIS 6.0

    And I am the host for the web server.......and all of the other php/mySQL pages work fine.

    The only issue is with the install of PostNuke
  • Posted: 10.04.2004, 03:08
     
    mhalbrook
    rank:
    Legend Legend
    registered:
     December 1969
    Status:
    offline
    last visit:
    01.12.08
    Posts:
    6533
    I'm not familar with Sambar, it could be something in the way it works with PHP.

    Can you open your PHP.INI file (Should be in the root windows system folder (where command.com and such is, usually WinNT for 2000 and Windows for the others I think) and post the include_path line?
  • Posted: 10.04.2004, 08:33
     
    jsellnau
    rank:
    Freshman Freshman
    registered:
     April 2004
    Status:
    offline
    last visit:
    18.06.04
    Posts:
    36

    Quote

    ;include_path = ".;c:\PHP\includes"


    I will probably be switching to iis tomorrow
  • Posted: 10.04.2004, 08:55
     
    mhalbrook
    rank:
    Legend Legend
    registered:
     December 1969
    Status:
    offline
    last visit:
    01.12.08
    Posts:
    6533
    Personally, I'd go with Apache, even though there will be some differences between Windows Apache & Linux apache, you'll probably have more help under Apache than IIS.

Goto page: 1 - 2 [+1]

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula