Fork me on GitHub

Watch

GitHub Core

Show your support for Zikula! Sign up at Github account and watch the Core project!




GitHub Modules

Forum Activity

Forum feed

» Visit forum | » View latest posts

failed to open theme.php, pnAPI.php for inclusion, fatal err  Bottom

  • I have tried loading several new themes on PN 7.2.3 and get the following errors for a lot of them. What am I doing wrong? How can I fix? Please let me know which files to modify, I am not an experienced programmer and need lots of detail to figure it out.

    Warning: Failed opening 'themes/Blue/theme.php' for inclusion (include_path='.:/usr/share/php') in /srv/www/htdocs/postnuke/postnuke-phoenix-0.7.2.3/html/includes/pnAPI.php on line 996

    QBPATH='/postnuke/postnuke-phoenix-0.7.2.3/html/javascript'; VISUAL=0; SECURE=1;

    Fatal error: call to undefined function: themeheader() in /srv/www/htdocs/postnuke/postnuke-phoenix-0.7.2.3/html/header.php on line 191

    I have seen a couple of other posts on this and many views, but the responses did not give any detail on how to fix.

    Thanks!
  • I tried the Blue theme on a Windows server, and it worked.

    I'm no Unix/Linux expert, but are the permissions for the theme files set right, that is at least Read permissions for the server?
    Some of your themes at least are working, you say, so I can't be sure.
    Have you tried this from the themes directory:

    chown -R apache:apache *
    (or whatever the apache username is on the system)
    perhaps

    chmod -R 664 *
    from the same directory.

    Just a thought. The first error is the most significant, lots of errors are produced as a result of files not being included etc. They will go away once the first is fixed.

    Martin

This list is based on users active over the last 60 minutes.