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

file_get_contents: failed to open stream: No such file or directory #22

Closed
fullmetaljacket opened this issue Feb 17, 2012 · 1 comment
Closed

Comments

@fullmetaljacket
Copy link

I'm not sure if it's every file, but there are many file_get_contents warnings when attaching a file to a shoutout:

PHP WARNING: 2012-02-16 16:13:17 (EST): "file_get_contents(/var/www/Elgg-data/2012/02/06/921/attachments//thumbBHPFC LOGOinvert.jpg): failed to open stream: No such file or directory" in file /var/www/Elgg/mod/shoutout/models/model.php (line 427

@kevinjardine
Copy link
Owner

These messages appear because an earlier bug meant that timestamps weren't being stored in attachment annotations for files with blanks in their names.

I fixed the bug but older shoutouts still trigger the error in listings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants