Jump to content
You're invited! Join our 4.6 Live Event on ZOOM 6/24 ×


ipsRegistry::init() redirects to 404 page


Recommended Posts


I want to create forums directly from a Laravel page (Laravel 5.6) and I'm getting redirected to forum's 404 page (Sorry, we couldn't find that!). If i'm using this code bellow in a simple php file is working, if I'm using it from a Laravel Model it redirects me to the forum saying that the page is not found.

My test code from Forum model is:


namespace App;

use Illuminate\Database\Eloquent\Model;

require_once ('/../../forum/initdata.php');
require_once ('/../../forum/admin/sources/base/ipsRegistry.php');

class Forum extends Model
    public static function test_forum ()
        $reg = \ipsRegistry::instance();

        $member = \IPSMember::load( 1 );

        return $member;

Is there a way to solve this?

Link to comment
Share on other sites


  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy