Giter Club home page Giter Club logo

Comments (5)

ignacionelson avatar ignacionelson commented on June 12, 2024

Hi! Please check if this fixes it for you
a3c8e66

Another option would be to set php for PS to version 7.4 until the next release, which will fully support php 8+
Sorry for the inconvenience!

from projectsend.

ignacionelson avatar ignacionelson commented on June 12, 2024

Also try setting display_errors to 0 in the php config, since this is just a warning and not a fatal error but it's being set as part of the ajax response which makes the json invalid

from projectsend.

https505 avatar https505 commented on June 12, 2024

Hi, thanks to reply.
My "i18n.php" is fixed, i don't have that lines in my code.
I have change my PHP version from 8.0 to 7.4.
PHP "display_errors" is Off, from my "www.conf".

This is my config:

Details www.conf PHP-FPM

php_admin_value[memory_limit] = 256M
php_admin_value[post_max_size] = 200M
php_admin_value[upload_max_filesize] = 128M
php_admin_value[date.timezone] = Europe/Rome
php_admin_value[session.save_path] = /var/www/.internal/php_sessions
php_admin_value[session.serialize_handler] = igbinary
php_admin_value[session.save_handler] = files
php_admin_value[session.cookie_samesite] = "Strict"
php_admin_flag[display_errors] = off
php_admin_flag[log_errors] = on
php_admin_value[error_log] = /var/log/php7.4-fpm.log
php_admin_value[opcache.error_log] = /var/log/php7.4-opcache.log

The problem persist after this change.

ProjectSend_JSON-Errors

I have another site, very simple for upload, with FileGator and don't have problems, the config of the server is the same so in my opinion can't be a wrong config of web server.

from projectsend.

https505 avatar https505 commented on June 12, 2024

Hi everyone,
i have good news (for me).

Can be a issue with Debian 11 configuration or other, i don't know.
I have try Rocky 8 and Rocky 9, and the upload process goes fine!

I don't know if the problemi is on the config file of php/apache, but with a production-ready distro like Rocky (or Alma) seem to work.

Thanks for help and have a nice day and weekend!
Cheers from Italy ;)

from projectsend.

https505 avatar https505 commented on June 12, 2024

After further testing and research, I found that the problem occurs when HTTP/2 is enabled in Apache2.
Inserting in the vhost file "Protocols http/1.1" instead of the default "Protocols h2 h2c http/1.1" the problem does not seem to occur.
Probably a problem with HTTP/2's "push" functionality or other protocol mechanisms.
I hope that the information is welcome to those who will encounter a similar problem.

from projectsend.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.