Announcement

Collapse
No announcement yet.

Add New Channel failure?

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Add New Channel failure?

    Attempting to create a new Channel (AdminCP > Channel Management > Add New Channel). When I click Save, the screen doesn't return showing me all the Channels; it just displays Channel Manager. Reentering Channel Manager shows that the new Channel wasn't created.

    I found this in /var/log/apache2/error.log
    Code:
    [B][email protected]:[/B][B]/var/log/apache2[/B]# tail error.log
    
    [Mon Apr 04 16:03:33.382294 2022] [php7:notice] [pid 3725706] [client 51.222.253.12:45828] PHP Notice: Undefined variable: show in /srv/www/kubuntuforums.net/public_html/core/includes/class_core.php(1310) : eval()'d code on line 5
    
    [Mon Apr 04 16:03:33.382315 2022] [php7:notice] [pid 3725706] [client 51.222.253.12:45828] PHP Notice: Trying to access array offset on value of type null in /srv/www/kubuntuforums.net/public_html/core/includes/class_core.php(1310) : eval()'d code on line 5
    
    [Mon Apr 04 16:03:33.382589 2022] [php7:notice] [pid 3725706] [client 51.222.253.12:45828] PHP Notice: Undefined property: vB_Library_BbCode::$quote_vars in phar:///srv/www/kubuntuforums.net/public_html/core/vb/vb.phar/library/bbcode.php on line 2001
    
    [Mon Apr 04 16:03:33.382778 2022] [php7:notice] [pid 3725706] [client 51.222.253.12:45828] PHP Notice: Undefined variable: show in /srv/www/kubuntuforums.net/public_html/core/includes/class_core.php(1310) : eval()'d code on line 5
    
    [Mon Apr 04 16:03:33.382794 2022] [php7:notice] [pid 3725706] [client 51.222.253.12:45828] PHP Notice: Trying to access array offset on value of type null in /srv/www/kubuntuforums.net/public_html/core/includes/class_core.php(1310) : eval()'d code on line 5
    
    [Mon Apr 04 16:05:47.245474 2022] [php7:error] [pid 3725776] [client 107.4.134.25:51449] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 33554440 bytes) in phar:///srv/www/kubuntuforums.net/public_html/core/vb/vb.phar/db/assertor.php on line 699, referer: https://www.kubuntuforums.net/admincp/forum.php?do=add
    
    [Mon Apr 04 16:09:13.663426 2022] [php7:error] [pid 3725766] [client 107.4.134.25:51461] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 33554440 bytes) in phar:///srv/www/kubuntuforums.net/public_html/core/vb/vb.phar/db/assertor.php on line 699, referer: https://www.kubuntuforums.net/admincp/forum.php?do=add
    
    [Mon Apr 04 16:09:14.670640 2022] [php7:error] [pid 3725639] [client 107.4.134.25:51462] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 33554440 bytes) in phar:///srv/www/kubuntuforums.net/public_html/core/vb/vb.phar/db/assertor.php on line 699, referer: https://www.kubuntuforums.net/admincp/forum.php?do=add
    
    [Mon Apr 04 16:11:19.931388 2022] [php7:notice] [pid 3725639] [client 46.161.11.43:53173] PHP Notice: Undefined index: routeid in /srv/www/kubuntuforums.net/public_html/core/vb5/route/legacy/vbcms.php on line 80, referer: https://www.kubuntuforums.net/content.php
    
    [Mon Apr 04 16:15:03.495774 2022] [php7:error] [pid 3725706] [client 107.4.134.25:51478] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 33554440 bytes) in phar:///srv/www/kubuntuforums.net/public_html/core/vb/vb.phar/db/assertor.php on line 699, referer: https://www.kubuntuforums.net/admincp/forum.php?do=add
    We do have A LOT of Channels. Is parsing all of them now exhausting our allowed memory size (134217728)? Where do I go to increase the memory size limit if that is the case?

    AdminCP > Maintenance > View PHP Info shows:
    memory_limit 128M 128M

    /usr/lib/php/8.1/php.ini-production shows:

    memory_limit = 128M
    The Linux Community has given me much. I do what I can to return the favor!

    #2
    Increase memory_limit in PHP.ini on the server.
    Helpful? Donate. Thanks!
    Buy me a coffeePayPal QR Code
    Fast VPS Host for vBulletin:
    A2 Hosting & IONOS

    Comment


      #3
      To what new value? Our server (Linode Hosted) has 8GB of RAM. Can we safely double it?
      The Linux Community has given me much. I do what I can to return the favor!

      Comment


        #4
        Try increasing it gradually until the error disappears. You don't want to set it too high. Start at 160M.
        Helpful? Donate. Thanks!
        Buy me a coffeePayPal QR Code
        Fast VPS Host for vBulletin:
        A2 Hosting & IONOS

        Comment


          #5
          Thank you. I've already set it to 256M and rebooted. It's now reported as 256M (AdminCP > Maintenance > View PHP Info). I'll keep an eye on things.

          One of our 'problems' with our Forum, is it's size. Not in the amount of server space it uses, but in the shear number of Channels we have. The majority are Archived, but still accessible. So when it's time to add a new Forum (new Channels), the Channel Manager has to parse all of them. We can't just get rid of the the ancient ones, as that would primarily affect the Topic/Post counts of our members. Plus, some like being able to go back and review 'the past' as it were.
          The Linux Community has given me much. I do what I can to return the favor!

          Comment

          Latest Topics

          Collapse

          Working...
          X