Bazilisk

+Clients
  • Content count

    22
  • Joined

  • Last visited


1 Follower



About Bazilisk

  • Rank
    core_member_rank_44

Bazilisk's Activity

  1. Bazilisk added a post in a topic: Is it possible to clear global frame from template without Developer mode?   

    Hello!
    Is it possible to have access to function global_frame_wrapper();  without Developer mode?
    1. ipsRegistry::getClass('output')->setTitle( "Hello, World"); 2. ipsRegistry::getClass('output')->addNavigation( "Hello, World", NULL); 3. ipsRegistry::getClass('output')->addContent( ipsRegistry::getClass('output')->getTemplate('bullion')->index12()); 4. ipsRegistry::getClass('output')->html_main .= ipsRegistry::getClass('output')->global_template->global_frame_wrapper(); 5. ipsRegistry::getClass('output')->sendOutput(); I have error:
    Fatal error : Call to a member function global_frame_wrapper() on a non-object in file. php on line 4
     
    Maybe possible to use another methods to clear global frame?
    I have just to use my template for external pages. 
    If I deleted line 4 I have my template inside standard forum skin.
     
    I think if I will use Developer mode all will be Ok. But not sure. Also will be problems with additional templates support etc...
  2. Bazilisk added a post in a topic: Call to a member function global_frame_wrapper() on a non-object   

    Hello,
     
    I not used IPB API for get templates before and have a strange error now.
    When I use code:
    ipsRegistry::getClass('output')->html_main .= ipsRegistry::getClass('output')->global_template->global_frame_wrapper(); I have error:
    PHP Fatal error: Call to a member function global_frame_wrapper() on a non-object in ... I also tried follow to IPB manual, used:
     
     
    $this->registry->getClass('output')->html_main .= $this->registry->getClass('output')->global_template->global_frame_wrapper(); but get:
    PHP Fatal error: Using $this when not in object context in ... Where is my mistake or where I can read more about it?
     
    Code:   
    ipsRegistry::getClass('output')->setTitle( "Hello, World" );ipsRegistry::getClass('output')->addNavigation( "Hello, World", NULL );ipsRegistry::getClass('output')->addContent( ipsRegistry::getClass('output')->getTemplate('bullion')->index12() );   work without same problem, I just have to delete standard forum template.
  3. Bazilisk added a post in a topic: PHP fatal error: Net/IDNA2/Exception.php   

    I resolved it.
    I install Net-IDNA2 on server.
  4. Bazilisk added a post in a topic: PHP fatal error: Net/IDNA2/Exception.php   

    After update to 3.4.2 version I have errors 500:
     [error] [client ] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'Net/IDNA2/Exception.php'