WordPress.org

Support

Support » Themes and Templates » ‘Rin’ & ‘Majin’ themes not working

‘Rin’ & ‘Majin’ themes not working

  • 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

Viewing 9 replies - 1 through 9 (of 9 total)
  • That sounds like a hosting restriction. Have you contacted them ? Who is your host ?

    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)

    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.

    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();

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

    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.

    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.

    Moderator James Huff

    @macmanx

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

    http://www.brokenkode.com/board

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘‘Rin’ & ‘Majin’ themes not working’ is closed to new replies.
Skip to toolbar