Giter VIP home page Giter VIP logo

Comments (4)

ignacionelson avatar ignacionelson commented on June 20, 2024 1

Hi! Sorry that you are having this issue.
Please enable debug mode to see if php shows the error/s that result in the 500 response.
https://docs.projectsend.org/about/troubleshooting/debug-mode

from projectsend.

protego-it avatar protego-it commented on June 20, 2024

Thank you for your fast reply.
I get a lot of deprecated messages. I'm on PHP 8.2.14
` Creation of dynamic property ProjectSend\Classes\Users::$statement is deprecated in
/var/www/vhosts/download.mywebsite.com/httpdocs/includes/Classes/Users.php
on line
176

Deprecated
: Creation of dynamic property ProjectSend\Classes\Users::$row is deprecated in
/var/www/vhosts/download.mywebsite.com/httpdocs/includes/Classes/Users.php
on line
187

Deprecated
: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in
/var/www/vhosts/download.mywebsite.com/httpdocs/includes/functions.php
on line
966

Deprecated
: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in
/var/www/vhosts/download.mywebsite.com/httpdocs/includes/functions.php
on line
966

Deprecated
: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in
/var/www/vhosts/download.mywebsite.com/httpdocs/includes/functions.php
on line
966

Deprecated
: Creation of dynamic property ProjectSend\Classes\Users::$contact is deprecated in
/var/www/vhosts/download.mywebsite.com/httpdocs/includes/Classes/Users.php
on line
211

Deprecated
: Creation of dynamic property ProjectSend\Classes\Users::$file is deprecated in
/var/www/vhosts/download.mywebsite.com/httpdocs/includes/Classes/Users.php
on line
222`

from projectsend.

protego-it avatar protego-it commented on June 20, 2024

Ok, this was the error messages for the dashboard.
When I directly go to manage-files.php I get a better error message.

Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 102400 bytes) in /var/www/vhosts/download.mysite.com/httpdocs/vendor/claviska/simpleimage/src/claviska/SimpleImage.php on line 159

So I guess SimpleImage.php can't handle the memory. Weird part is that I did not update the memory settings and a few days ago everything was working fine.
What is the recommended Memory size for the PHP settings?

image

Edit: My Server is running on 2GB RAM.

from projectsend.

protego-it avatar protego-it commented on June 20, 2024

Ok, I could solve the problem now.
A user uploaded several images over 50MB. This should work, because we're far ahead of my 1GB limit, but anyhow, SimpleImage.php couldn't handle it and ran into error 500.
I removed the Images from the upload folder and afterwards from the now working manage-files.php list.

Thanks again, for pointing out the Debug function.

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.