WordPress.org

Ready to get started?Download WordPress

Forums

'Rin' & 'Majin' themes not working (10 posts)

  1. WPfan
    Member
    Posted 9 years ago #

    All of the previous themes I tried out worked without problems in WP 1.5 (latest version), but I can't get 'Rin' or 'Majin' (http://www.brokenkode.com/rin/) to work.
    I even uploaded all the WP and theme files up again and installed the whole WP again, but again I only get that page full of errors:
    ####################################

    Warning: main() [function.main]: open_basedir restriction in effect. File(../header.php) is not within the allowed path(s): (/www/htdocs/theblogg/) in /www/htdocs/theblogg/wp-content/themes/rin/index.php on line 1

    Warning: main(header.php) [function.main]: failed to create stream: Operation not permitted in /www/htdocs/theblogg/wp-content/themes/rin/index.php on line 1

    [Repeated errors]

    ######################################
    I find this very strange as all the other themes I tried worked without problems.
    My server is running PHP 4.3.1 and I ran phpinfo() and under 'open_basedir' says 'no value'. I don't know what else to try ...

    Thx

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    That sounds like a hosting restriction. Have you contacted them ? Who is your host ?

  3. WPfan
    Member
    Posted 9 years ago #

    No, I haven't contacted them yet, as everything worked well without problems on the other themes.
    (My host is http://www.all-inkl.com)

  4. ifelse
    Member
    Posted 9 years ago #

    Try changing
    include('header.php'); , include('sidebar.php'); and include('footer.php'); to
    get_header(); get_sidebar() and get_footer(); respectively.

    You'll need to do this on all the php pages.

  5. WPfan
    Member
    Posted 9 years ago #

    Thanks 'ifelse' - now it works!
    If for some reason someone gets a page full of errors with the 'rin' theme, but all the other themes work without errors, change the following in all PHP files of the theme:

    include('header.php'); --> get_header();
    include('sidebar.php');--> get_sidebar();
    include('footer.php'); --> get_footer();

  6. Marc
    Member
    Posted 9 years ago #

    Strange... I have used Manji2 and currently use Rin with zero problems.

  7. ifelse
    Member
    Posted 9 years ago #

    It's an environment config issue for the OP's hosting companies server. 99.99% of users should find that Rin/Manji works fine out of the box.

    However, the get_XX() syntax is the canonical way of retrieving theme pages for WP.

  8. Root
    Member
    Posted 9 years ago #

    Thanks guys for that php support. When Khaled sees this I am sure he will fix it up. TY. Sorry to TOP for any inconvenience. Manji / Rin will be more robust as a result.

  9. James
    Happiness Engineer
    Posted 9 years ago #

    Khaled will see this sooner if it's posted on the Rin/Manji support forums.

    http://www.brokenkode.com/board

  10. khaled
    Member
    Posted 8 years ago #

    Thanks guys for the heads up, will sort it out as soon as possible.

Topic Closed

This topic has been closed to new replies.

About this Topic