Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: [PHP] Error: getimagesizefromstring(): Error #640

Open
6 tasks done
snagglewest opened this issue Feb 29, 2024 · 4 comments
Open
6 tasks done

[BUG]: [PHP] Error: getimagesizefromstring(): Error #640

snagglewest opened this issue Feb 29, 2024 · 4 comments
Labels
bug Something in the app is not working as expected

Comments

@snagglewest
Copy link

⚠️ This issue respects the following points: ⚠️

  • This is a single bug, not a question or a configuration/webserver/proxy issue.
  • This is not a bug in the browser extension or another client.
  • This issue is not already reported on Github (I've searched it).
  • Nextcloud Server and the Passwords App is up to date. See Nextcloud Apps.
  • There are no warnings and errors reported in the Passwords App settings in the admin area
  • The following apps are not installed: Rainloop

Server Information

Server operating system - Ubuntu 22.04 
Web server - Apache
Database engine version - MySQL Version: 10.6.16
PHP engine version - PHP 8.2.15
Nextcloud version - 28.0.3

Client Information

Browser and Version: Chrome, Edge & Firefox
Client OS and Version: Windows 10 & 11, Ubuntu 22.04, mint 21.2

Bug description

For the last several versions I have got these errors in my log. It doens't seem to effect anything but it's the only errors I get in the log.
[PHP] Error: getimagesizefromstring(): Error reading from ! at /var/www/html/nextcloud/apps/passwords/lib/Helper/Image/AbstractImageHelper.php#101 GET /index.php/apps/passwords/api/1.0/service/favicon/[domain]/32 from [IPadress] by [username] at Feb 29, 2024, 7:19:15 AM

Steps to reproduce

view the nextcloud log.

Expected behavior

Errors should not appear

Nextcloud Logs

see above

Browser Logs

n/a
@snagglewest snagglewest added the bug Something in the app is not working as expected label Feb 29, 2024
@marius-wieschollek
Copy link
Owner

I have seen this too in my logs. So far i couldn't see any issue in the files themselves.
It also seems as if the same issue happens in other apps, e.g. the photos app nextcloud/photos#2259 .
Maybe it's an issue with PHP 8.2?

@snagglewest
Copy link
Author

Had not seen that issue but I'm now a bit more concerned. It looks like the files in the photos app stop being displayed though they don't actually disappear or get deleted. I have not noticed any passwords not being displayed but I have over 200 passwords, many which seldom get used so it might be a possibility. I'm not a programmer by any stretch so I can't help track it down but it sounds like it needs to be a priority.

@marius-wieschollek
Copy link
Owner

The favicons have no impact on the passwords. They are fetched trough an extra service provided by the app and even if that fails, you can still see and use the password entries.

I have looked at this issue closer today, and i think i could fix the problem. The fix is currently available in the nightly version.

@benoitdr
Copy link

Seeing this too with 28.0.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something in the app is not working as expected
Projects
None yet
Development

No branches or pull requests

3 participants