Jump to content

Owdy

Clients
  • Posts

    3,023
  • Joined

  • Last visited

  • Days Won

    2

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by Owdy

  1. If i use my custom skin and try ti read forum posts, i get this error

     

    Error: Class "IPS\Theme\Cache\class_forums_front_topics" not found (0)
    #0 /home/hjdhxc/domains/ajat.net/public_html/system/Theme/Theme.php(926): eval()
    #1 /home/hjdhxc/domains/ajat.net/public_html/system/Theme/Cache/Template.php(108): IPS\_Theme::overloadHooks()
    #2 /home/hjdhxc/domains/ajat.net/public_html/system/Theme/Theme.php(777): IPS\Theme\Cache\_Template->exists()
    #3 /home/hjdhxc/domains/ajat.net/public_html/applications/forums/modules/front/forums/topic.php(553): IPS\_Theme->getTemplate()
    #4 /home/hjdhxc/domains/ajat.net/public_html/system/Dispatcher/Controller.php(101): IPS\forums\modules\front\forums\_topic->manage()
    #5 /home/hjdhxc/domains/ajat.net/public_html/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute()
    #6 /home/hjdhxc/domains/ajat.net/public_html/applications/forums/modules/front/forums/topic.php(39): IPS\Content\_Controller->execute()
    #7 /home/hjdhxc/domains/ajat.net/public_html/system/Dispatcher/Dispatcher.php(153): IPS\forums\modules\front\forums\_topic->execute()
    #8 /home/hjdhxc/domains/ajat.net/public_html/index.php(13): IPS\_Dispatcher->run()
    #9 {main}

    Any ideas what is wrong?

  2. I use pages, and database page is site default page. I dont know what happend, but suddenly database stopped use that template what was confugured. And i dont even find anymore how to change that template.

    This is what it should use:

    image.png.a52fdf98ca912a08aef601016586211b.png

    But that isnt in here anymore
    image.png.9d9dc2e9d48c908c8be03fbf8e6199fc.png

    What happend?

  3. 4 hours ago, Daniel F said:

    Take a look at your server logs!

    My guess is that your php8 installation is missing some mandatory modules ( I’ve seen few tickets with missing php-mbstring module on their PHP 8 installations) 

    It is one database template file. Something in this make it crash with php8
     

    <div class='ipsPageHeader ipsBox ipsPadding ipsResponsive_pull ipsClearfix ipsSpacer_bottom'>
        <div class='ipsFlex ipsFlex-ai:center ipsFlex-jc:between sm:ipsFlex-fd:column sm:ipsFlex-ai:stretch ipsGap:4'>
            <div class='ipsFlex-flex:11'>
                <h1 class='ipsType_pageTitle'>{$database->_title}</h1>
                {{if $database->_description}}
                    <div class='ipsPageHeader_info ipsType_light'>
                        {$database->_description}
                    </div>
                {{endif}}
            </div>
            <div class='ipsFlex-flex:00'>
                {{if $database->use_categories}}
                    <a href="{$url->setQueryString('show', 'categories')}" class="ipsButton ipsButton_small ipsButton_fullWidth ipsButton_light"><i class="fa fa-folder-open"></i> {lang="cms_show_categories"}</a>
                {{else}}
                    {{$catClass = 'IPS\cms\Categories' . $database->id; $category = $catClass::load( $database->default_category );}}
                    {template="follow" app="core" group="global" params="'cms','categories' . $database->id, $category->_id, \IPS\cms\Records::containerFollowerCount( $category )"}
                {{endif}}
            </div>
        </div>
    </div>
    
    {{if $database->can('add') or \IPS\Member::loggedIn()->member_id}}
        <ul class="ipsToolList ipsToolList_horizontal ipsClearfix ipsSpacer_both ipsResponsive_hidePhone">
            {{if $database->can('add')}}
                <li class='ipsToolList_primaryAction'>
                    <a class="ipsButton ipsButton_medium ipsButton_important ipsButton_fullWidth" {{if $database->use_categories}}data-ipsDialog="1" data-ipsDialog-size="narrow" data-ipsDialog-title="{lang="cms_select_category"}"{{endif}} href="{$url->setQueryString( array( 'do' => 'form', 'd' => \IPS\cms\Databases\Dispatcher::i()->databaseId ) )}">{lang="cms_add_new_record_button" sprintf="$database->recordWord( 1 )"}</a>
                </li>
            {{endif}}
        </ul>
    {{endif}}
    
    <section class='ipsType_normal ipsSpacer_both'>
        {{if \count($articles)}}
            {{foreach $articles as $id => $record}}
                {template="entry" app="cms" location="database" group="category_articles" params="$record, $database"}
            {{endforeach}}
        {{endif}}
    </section>
    {{if $database->featured_settings['pagination'] and ( $pagination['pages'] > 1 )}}
        {template="pagination" app="core" location="global" group="global" params="$url, $pagination['pages'], $pagination['page'], $database->featured_settings['perpage'], TRUE, 'page'"}
    {{endif}}

     

×
×
  • Create New...