Jump to content

INDIG0

Clients
  • Posts

    75
  • Joined

  • Last visited

 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 INDIG0

  1. Hello.

    Why can't I upload large files >200 MB?

    [Thu Dec 02 18:36:05.815738 2021] [fcgid:warn] [pid 30965] [client xx.xx.xxx.xx:xxxxx] mod_fcgid: stderr: PHP Fatal error:  Allowed memory size of 3246391296 bytes exhausted (tried to allocate 1063040304 bytes) in /var/www/site/data/www/site.ru/system/Http/Request/Sockets.php on line 269, referer: https://site.ru/topic/4447-test/

    There are maximum limits everywhere

    php.ini

    max_input_vars = "10000"
    opcache.max_accelerated_files = "100000"
    output_buffering = "4096"
    session.save_path = "/var/www/site/data/tmp"
    upload_max_filesize = "3000M"
    log_errors = "On"
    mail.add_x_header = "On"
    max_execution_time = "1800"
    memory_limit = "3096M"
    sendmail_path = "/usr/sbin/sendmail -t -i -f 'admin@site.ru'"
    upload_tmp_dir = "/var/www/site/data/tmp"
    date.timezone = "Europe/Moscow"
    post_max_size = "3000M"
    opcache.blacklist_filename = "/opt/opcache-blacklists/opcache-*.blacklist"
    short_open_tag = "On"
    display_errors = "off"

  2. @onlyME I bought your plugin and I have a question, I will have all the videos without images, is it possible to create an image of the first frame, for example, how is it done when uploading to YouTube?

  3. Hi.

    I got a video problem after I chose the s3 storage method.
    A background Processes was started to move files to the cloud. With pictures, everything is ok, they are displayed normally, but there is no video. I looked at the database and the URL was saved there incorrectly.

     

    The new video attachment is saved like this and displays correctly.

    <video class="ipsEmbeddedVideo" controls="" data-fileid="13910" data-unique="z9zpwee8s" data-video-embed=""><source type="video/mp4" data-video-src="//cdn.MYWEBSITE.com/monthly_2021_11/NEWVIDEO.mp4"><a class="ipsAttachLink" href="<___base_url___>/applications/core/interface/file/attachment.php?id=13910&amp;key=3871571212c403e8b19b6cd2aa272715" data-fileid="13910" data-fileext="mp4" rel="">NEWVIDEO.mp4</a>
    </source></video>

     

    Old videos not showing.

    <video class="ipsEmbeddedVideo" controls="" data-video-embed="">
    <source type="video/mp4" src=«//MYWEBSITE.com/applications/core/interface/js/spacer.png" data-video-src="<___base_url___>/uploads/monthly_2021_04/OLDVIDEO.mp4"><a class="ipsAttachLink" data-fileext="mp4" data-fileid="13207" href="<___base_url___>/applications/core/interface/file/attachment.php?id=13207" rel="">OLDVIDEO.mp4</a>
    </source></video>

    Is it possible to resave them using sql query?

  4. Hi.

    I have a problem with the cache error notification.

    I connected Redis and in my opinion it works fine, but for some reason it gives an error.

    359500721_2021-11-0119_58_52.png.608851cfa8321bbe51fe3586d015fd8c.png

    760678162_2021-11-0119_59_21.thumb.png.97acb0fb53fca237beadfefa1f2f1dac.png

    538249112_2021-11-0120_01_31.png.332191a7b726014af52dc8fa67e4c78c.png

    What could be the reason?

    And I also have two setup questions. Do I need to set a password on the Redis server or not? There is no password now.

    And second, if Redis is enabled, is it possible to configure additional compression and caching at the server level?

    405873744_2021-11-0120_02_13.png.fc56f3bbc2207c7b3cb2bc98e290ed50.png

  5. @Marc Stridgen I have the latest version 4.6.7

    PHP 7.4.24, MYSQL 8.0.21

    Also, such an error after converting to InnoDB, some of the tables were converted, and some remained in MyISAM

    Quote

    InnoDB database tables typically perform more efficiently and reliably than other database engines such as MyISAM on most modern hosts when configured correctly. It is strongly encouraged to ensure all of your database tables are using the InnoDB storage engine, and that your hosting provider has configured MySQL for InnoDB use.

     

  6. admin/?app=core&module=achievements&controller=ranks

    For example, this page opens in 20-30 seconds

    In logs:

    access("/var/www/siteuser/data/www/mysite.com/applications/core/sources/Advertisement.php", F_OK) = -1 ENOENT (No such file or directory)

    delay goes to

    sendto(5, "\23\6\0\0\26/*siteuser::siteuser::IPS\\Session\\Sto"..., 1559, MSG_DONTWAIT, NULL, 0) = 1559
    
    poll([{fd=5, events=POLLIN|POLLERR|POLLHUP}], 1, 86400000) = 1 ([{fd=5, revents=POLLIN}])

    and

    access("/var/www/siteuser/data/www/mysite.com/conf_global.php", F_OK) = 0
    setitimer(ITIMER_PROF, {it_interval={tv_sec=0, tv_usec=0}, it_value={tv_sec=0, tv_usec=0}}, NULL) = 0
    sendto(5, "\1\0\0\0\1", 5, MSG_DONTWAIT, NULL, 0) = 5
    close(5)                                = 0
    fcntl(3, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0
    write(4, "\1\3\0\1\0\10\0\0\0\0\0\0\0ere", 16) = 16
    shutdown(4, SHUT_WR)                    = 0
    recvfrom(4, "\1\5\0\1\0\0\0\0", 8, 0, NULL, NULL) = 8
    recvfrom(4, "", 8, 0, NULL, NULL)       = 0
    close(4)                                = 0
    munmap(0x7f4fec200000, 2097152)         = 0
    munmap(0x7f4febe00000, 2097152)         = 0
    accept(0,

     

    What's wrong? 🙃

×
×
  • Create New...