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

PHP Error for comments on protected images in newsstream #463

Closed
networkCat opened this issue Jun 17, 2014 · 0 comments
Closed

PHP Error for comments on protected images in newsstream #463

networkCat opened this issue Jun 17, 2014 · 0 comments
Assignees
Labels
Bug Something is broken
Milestone

Comments

@networkCat
Copy link

I've protected the photos in fcms as described in the manual. But if I comment on a picture, a php error appear in newstream. Furthermore, the picture is not displayed because of a wrong source url: ***/fcms/gallery/photo.php?id=0&size=thumbnail


PHP Error
Undefined index: id
File: /***/fcms/inc/Upload/Destination/PhotoGallery/Protected.php

Line: 44
Stack:
#0 __construct called at [///fcms/home.php:40]
#1 control called at [/
/fcms/home.php:69]
#2 displayWhatsNew called at [//fcms/home.php:94]
#3 displayWhatsNewAll called at [/
/fcms/home.php:276]
#4 getWhatsNewDataObject called at [//fcms/home.php:573]
#5 getPhotoSource called at [/
/fcms/home.php:813]
#6 getPhotoSource called at [//fcms/inc/gallery_class.php:2845]
#7 fcmsErrorHandler called at [/
/fcms/inc/Upload/Destination/PhotoGallery/Protected.php:44]

PHP: 5.4.9 (Linux)

@ryanhowdy ryanhowdy added this to the FCMS 3.4.2 milestone Jul 7, 2014
@ryanhowdy ryanhowdy self-assigned this Jul 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken
Projects
None yet
Development

No branches or pull requests

2 participants