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

Dizkus

Goto page: [-1] 1 - 2

Bottom
undefined function: themeheader() error
  • Posted: 12.04.2004, 02:02
     
    jsellnau
    rank:
    Freshman Freshman
    registered:
     April 2004
    Status:
    offline
    last visit:
    18.06.04
    Posts:
    36
    I successfuly installed windows 2000 serve and iis 5.0 and the script runs fine...thanks for your support...

    I was curious as to if there was a guide to the way the theme files are setup and there relationship to each other.

    I am looking to edit one of the themes and I would like to know where to find some of the prperties I want to edit.
  • Posted: 12.04.2004, 02:42
     
    mhalbrook
    rank:
    Legend Legend
    registered:
     December 1969
    Status:
    offline
    last visit:
    01.12.08
    Posts:
    6533
    Everything is in the /themes/themename folder. Images are in teh images, stylesheets in teh styles.
  • Posted: 15.04.2004, 16:11
     
    cheeder
    rank:
    Freshman Freshman
    registered:
     October 2002
    Status:
    offline
    last visit:
    28.04.04
    Posts:
    4
    I have several PostNuke installations running on different servers.
    Three weeks ago I had my own server re-initialized and switched from Red Hat Linux 7.2 to 9.0 (PHP 4.2.2 and MySQL 3.23.56).

    All my PostNuke installations looked fine after putting them back. I had to adjust some things (i.e. DB settings) but that was no problem. But after a few hours all of the PostNuke portals on that server stopped running; ending in an error message "Fatal error: call to undefined function: themeheader() in [...]/header.php on line 188".

    First I thought, this was an AutoTheme issue so I set the theme to a PostNuke standard theme (didn't help). Then I restarted the MySQL-Server from a shell (didn't help). Then I rebootet my server (didn't help). Then I restarted MySQL from phpMyAdmin. That finally worked and brought my pages online again - but only for 5 hours or so. After that, the same error message above appears.

    Then I installed a fresh PostNuke without any additional modules or themes; unpacking the files directly with a shell on the server. But this installation behaves like the others.

    I have some other PHP- and MySQL-based scripts running on my server. While PostNuke is down, there's no problem with the other scripts running PHP or accessing the database.

    Has anyone got a clue what I should do next?
  • Posted: 15.04.2004, 19:08
     
    mhalbrook
    rank:
    Legend Legend
    registered:
     December 1969
    Status:
    offline
    last visit:
    01.12.08
    Posts:
    6533
    Post a link to a phpinfo() report.
  • Posted: 15.04.2004, 20:45
     
    cheeder
    rank:
    Freshman Freshman
    registered:
     October 2002
    Status:
    offline
    last visit:
    28.04.04
    Posts:
    4
    Here it is:

    http://217.160.176.82/info.php
  • Posted: 17.04.2004, 16:37
     
    cheeder
    rank:
    Freshman Freshman
    registered:
     October 2002
    Status:
    offline
    last visit:
    28.04.04
    Posts:
    4
    Another little detail:

    When the above error message appears and the PostNuke's index.php is called, i get the following entry in the /var/log/messages-file:

    "File does not exist: /home/httpd/vhosts/postnuke.meinserver.biz/httpdocs/pages/themes/style"

    As it seems, PostNuke "forgets" the theme in that path.

    When I restart mysql with phpMyAdmin; there's no such error message anymore (for a few hours).
  • Posted: 29.04.2004, 01:59
     
    cheeder
    rank:
    Freshman Freshman
    registered:
     October 2002
    Status:
    offline
    last visit:
    28.04.04
    Posts:
    4
    I had to restart MySQL with phpMyAdmin about 6 times a day in order to keep my PostNuke pages running. I tried to do this with a hourly cronjob (flush-privileges) but somehow phpMyAdmin's flush has got other effects than mysql's from a shell; doing it with a cronjob didn't work. The only solution would have been to run a desktop macro which would click automatically the restart-Link in phpMyAdmin. Not very professional...

    Last nigth, I backuped my pages and told my webhost to re-initialize my server (which is quite a nice service) and put back all the pages and accounts. Now everything is running fine (same Apache, PHP and MySQL versions).

    In order to solve my problem, I searched in a lot of forums. The "line 188"-error seems to be quite common. But besides misconfiguration of themes and file permissions there seems to be one or more other reason, which hasn't been found out yet. For me, everything is fine now. But for the others, who checked everything which is recommended in this forum with no success, i see only one way: set up a fresh system.

Goto page: [-1] 1 - 2

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula