Get the most out of your Centmin Mod LEMP stack
Become a Member

Any Sendy.co Users ?

Discussion in 'Other Web Apps usage' started by eva2000, Feb 7, 2016.

  1. BamaStangGuy

    BamaStangGuy Premium Member Premium Member

    651
    189
    43
    May 25, 2014
    Ratings:
    +264
    Local Time:
    5:49 PM
    I figured I might as well start documenting things on a blog and see if I can't make something out of it :)
     
  2. Patrick_Kane

    Patrick_Kane New Member

    6
    2
    3
    Feb 21, 2019
    Ratings:
    +4
    Local Time:
    1:49 AM
    oh you guys beat me to it :)
     
  3. upgrade81

    upgrade81 Premium Member Premium Member

    266
    16
    18
    Sep 5, 2016
    Italy
    Ratings:
    +27
    Local Time:
    11:49 PM
    1.17
    10.3
    Hi everyone
    I would like to use Sendy to send an email every day with the latest Wordpress news.

    Every day we publish about 20 to 30 News.

    We currently use Mailster which automatically creates the list of the latest news of the day.

    Is there a way to create the same function on Sendy?
     
  4. Andy

    Andy Premium Member Premium Member

    477
    77
    28
    Aug 6, 2014
    Ratings:
    +109
    Local Time:
    6:49 PM
    Anyone with latest Sendy version got broken/blank page after updating to PHP 7.4?
     
  5. eva2000

    eva2000 Administrator Staff Member

    45,449
    10,313
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,997
    Local Time:
    8:49 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    downgrade to PHP 7.3 fixes it ? could be not ready for PHP 7.4 ?
     
  6. Andy

    Andy Premium Member Premium Member

    477
    77
    28
    Aug 6, 2014
    Ratings:
    +109
    Local Time:
    6:49 PM
    Yes, it seems to be not ready for 7.4. Downgrade works again.
     
  7. Andy

    Andy Premium Member Premium Member

    477
    77
    28
    Aug 6, 2014
    Ratings:
    +109
    Local Time:
    6:49 PM
    How would I search error log for any hints regarding this sendy blank page error?
     
  8. pamamolf

    pamamolf Premium Member Premium Member

    3,861
    379
    83
    May 31, 2014
    Ratings:
    +731
    Local Time:
    12:49 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    You can check at:

    Code:
    /home/nginx/domains/yourdomain.com/log/access.log
    or
    Code:
    /home/nginx/domains/yourdomain.com/log/error.log
     
  9. Andy

    Andy Premium Member Premium Member

    477
    77
    28
    Aug 6, 2014
    Ratings:
    +109
    Local Time:
    6:49 PM
    Nothing related to Sendy shows up. The dev of sendy emailed me that they haven't tested it with php 7.4.0 yet.
    Just curious to see if other CMM members here having the same issues.
     
  10. eva2000

    eva2000 Administrator Staff Member

    45,449
    10,313
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,997
    Local Time:
    8:49 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    See official Centmin Mod site FAQ item 19 https://centminmod.com/faq.html for PHP-FPM error log locations
     
  11. Andy

    Andy Premium Member Premium Member

    477
    77
    28
    Aug 6, 2014
    Ratings:
    +109
    Local Time:
    6:49 PM
    Was able to locate the error at /var/log/php-fpm/www-php.error.log. Does this look like I need to install zlib on PHP 7.4

    Code:
    06-Dec-2019 13:06:55 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function gzinflate() in /home/nginx/domains/quantnet.com/public/sendy/includes/functions.php(1) : eval()'d code:1
    Stack trace:
    #0 /home/nginx/domains/quantnet.com/public/sendy/includes/functions.php(1): Il1IlIl1Il()
    #1 /home/nginx/domains/quantnet.com/public/sendy/includes/header.php(1): include('/home/nginx/dom...')
    #2 /home/nginx/domains/quantnet.com/public/sendy/report.php(1): include('/home/nginx/dom...')
    #3 {main}
      thrown in /home/nginx/domains/quantnet.com/public/sendy/includes/functions.php(1) : eval()'d code on line 1
     
  12. Andy

    Andy Premium Member Premium Member

    477
    77
    28
    Aug 6, 2014
    Ratings:
    +109
    Local Time:
    6:49 PM
  13. eva2000

    eva2000 Administrator Staff Member

    45,449
    10,313
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,997
    Local Time:
    8:49 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    PHP 7.4 bug tracker PHP :: Bugs :: Search might have clues though you can check what zlib version is installed or whether it is installed via these 2 commands
    Code (Text):
    php-config
    php --ri zip
    php --ri zlib
    

    examples
    Code (Text):
    php --ri zip
    
    zip
    
    Zip => enabled
    Zip version => 1.15.5
    Libzip headers version => 1.5.2
    Libzip library version => 1.5.2

    Code (Text):
    php --ri zlib
    
    zlib
    
    ZLib Support => enabled
    Stream Wrapper => compress.zlib://
    Stream Filter => zlib.inflate, zlib.deflate
    Compiled Version => 1.2.7
    Linked Version => 1.2.7
    
    Directive => Local Value => Master Value
    zlib.output_compression => Off => Off
    zlib.output_compression_level => -1 => -1
    zlib.output_handler => no value => no value

    Code (Text):
    php-config
    Usage: /usr/local/bin/php-config [OPTION]
    Options:
      --prefix            [/usr/local]
      --includes          [-I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib]
      --ldflags           [ -L/usr/local/lib64]
      --libs              [-lcrypt  -lc-client  -ltidy -largon2 -lresolv -lcrypt -lncurses -laspell -lpspell -lrt -lldap -llber -lstdc++ -lcrypt -lpam -lgmp -lbz2 -lrt -lm -ldl  -lsystemd -lxml2 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lsqlite3 -lz -lcurl -lxml2 -lenchant -lgmodule-2.0 -lglib-2.0 -lffi -lssl -lcrypto -lz -lpng15 -lwebp -ljpeg -lXpm -lX11 -lfreetype -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -licuio -licui18n -licuuc -licudata -lonig -lsqlite3 -ledit -ltinfo -lxml2 -lnetsnmp -lssl -lssl -lcrypto -lm -lxml2 -lsodium -lcrypt -largon2 -lxml2 -lxml2 -lxml2 -lxml2 -lxslt -lm -lxml2 -lexslt -lxslt -lm -lgcrypt -ldl -lgpg-error -lxml2 -lzip -lssl -lcrypto -lcrypt ]
      --extension-dir     [/usr/local/lib/php/extensions/no-debug-non-zts-20190902]
      --include-dir       [/usr/local/include/php]
      --man-dir           [/usr/local/php/man]
      --php-binary        [/usr/local/bin/php]
      --php-sapis         [ cli embed fpm phpdbg cgi]
      --ini-path          [/usr/local/lib]
      --ini-dir           [/etc/centminmod/php.d]
      --configure-options [--enable-fpm --enable-opcache --enable-intl --enable-pcntl --with-mcrypt --with-snmp --enable-embed=shared --with-mhash --with-zlib --with-gettext --enable-exif --with-zip --with-libzip --with-bz2 --enable-soap --enable-sockets --enable-sysvmsg --enable-sysvsem --enable-sysvshm --with-mysql-sock=/var/lib/mysql/mysql.sock --with-curl --enable-gd --with-xmlrpc --enable-bcmath --enable-calendar --enable-ftp --enable-gd-native-ttf --with-freetype --with-jpeg --with-png-dir=/usr --with-xpm --with-webp --with-t1lib=/usr --enable-shmop --with-pear --enable-mbstring --with-openssl --with-mysql=mysqlnd --with-libdir=lib64 --with-mysqli=mysqlnd --enable-pdo --with-pdo-sqlite --with-pdo-mysql=mysqlnd --enable-inline-optimization --with-imap --with-imap-ssl --with-kerberos --with-readline --with-libedit --with-gmp --with-pspell --with-tidy --with-enchant --with-fpm-user=nginx --with-fpm-group=nginx --with-ldap --with-ldap-sasl --with-password-argon2=/usr/local --with-sodium=/usr/local --with-config-file-scan-dir=/etc/centminmod/php.d --with-fpm-systemd --with-ffi --with-xsl LIBSODIUM_CFLAGS=-I/usr/local/include LIBSODIUM_LIBS=-L/usr/local/lib64 -lsodium LIBZIP_CFLAGS=-I/usr/local/include LIBZIP_LIBS=-L/usr/local/lib64 -lzip]
      --version           [7.4.0]
      --vernum            [70400]
    

    also test PHP file to check
    PHP:
    <?php
    $compressed   
    gzdeflate('Compress me'9);
    $uncompressed gzinflate($compressed);
    echo 
    $uncompressed;
    ?>
     
    Last edited: Dec 7, 2019
  14. Andy

    Andy Premium Member Premium Member

    477
    77
    28
    Aug 6, 2014
    Ratings:
    +109
    Local Time:
    6:49 PM
    @eva2000
    Code:
    php --ri zlib
    
    zlib
    
    ZLib Support => enabled
    Stream Wrapper => compress.zlib://
    Stream Filter => zlib.inflate, zlib.deflate
    Compiled Version => 1.2.8
    Linked Version => 1.2.8
    
    Directive => Local Value => Master Value
    zlib.output_compression => Off => Off
    zlib.output_compression_level => -1 => -1
    zlib.output_handler => no value => no value
    
    php --ri zip
    
    zip
    
    Zip => enabled
    Zip version => 1.15.4
    Libzip headers version => 1.5.2
    Libzip library version => 1.5.2
    Code:
    php --ri zlib
    
    zlib
    
    ZLib Support => enabled
    Stream Wrapper => compress.zlib://
    Stream Filter => zlib.inflate, zlib.deflate
    Compiled Version => 1.2.8
    Linked Version => 1.2.8
    
    Directive => Local Value => Master Value
    zlib.output_compression => Off => Off
    zlib.output_compression_level => -1 => -1
    zlib.output_handler => no value => no value
    The test.php file, would return "compress me" in php 7.3.12 but will return blank page http code 500 if I updated to 7.4
     
  15. eva2000

    eva2000 Administrator Staff Member

    45,449
    10,313
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,997
    Local Time:
    8:49 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    I see zlib 1.2.8 instead of zlib 1.2.7 in your output, are you using persistent config /etc/centminmod/custom_config.inc enabled variable CLOUDFLARE_ZLIBPHP='y' to use Cloudflare zlib fork instead of system zlib ? could be the problem. Remove CLOUDFLARE_ZLIBPHP from persistent config file, and re-run centmin.sh menu option 5 to recompile PHP 7.4.0 and see if that fixes it
     
  16. Andy

    Andy Premium Member Premium Member

    477
    77
    28
    Aug 6, 2014
    Ratings:
    +109
    Local Time:
    6:49 PM
    You got it.
    Updated again to 7.4 and this time it works. Thanks a lot.
    I will see if any errors popping up.
     
  17. eva2000

    eva2000 Administrator Staff Member

    45,449
    10,313
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,997
    Local Time:
    8:49 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    Thanks for confirmation :)
     
  18. Kintaro

    Kintaro Member

    79
    5
    8
    Dec 2, 2016
    Italy
    Ratings:
    +19
    Local Time:
    11:49 PM
    1.15.x
    MariaDB 10
    @eva2000 are you still using sendy for transactional emails? have you set up a dedicated VPS?
     
  19. eva2000

    eva2000 Administrator Staff Member

    45,449
    10,313
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,997
    Local Time:
    8:49 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    No longer use sendy was only testing sendy out.
     
  20. BamaStangGuy

    BamaStangGuy Premium Member Premium Member

    651
    189
    43
    May 25, 2014
    Ratings:
    +264
    Local Time:
    5:49 PM
    Last edited: Feb 16, 2020