Closed GoogleCodeExporter closed 9 years ago
What happens if you add this feed directly as "photo feed"?
I can't reproduce the problem. Ensure, that no items will be fetched after
changing
the feed from "Regular Feed" to "Photo Feed". You have to wait until the next
update
run until the feed items will be fetched as photo.
Original comment by zzuzzlwuzzl@googlemail.com
on 24 Jan 2010 at 12:18
Original comment by zzuzzlwuzzl@googlemail.com
on 24 Jan 2010 at 12:22
- Set logger.level = DEBUG
- Added the feed directly as "photo feed".
- Forced an update with http://<rsslounge url>/update/silent
- No Images.
A guess: Could it be that the problem is not fetching the image but writing a
thumbnail? (server-rights?) /data/thumbnails is empty.
errorlog:
2010-01-24T14:11:22+01:00 DEBUG (7): start feed fetching "Interfacelift"
2010-01-24T14:11:22+01:00 DEBUG (7): load feed plugin
2010-01-24T14:11:22+01:00 DEBUG (7): load feed content
2010-01-24T14:11:22+01:00 DEBUG (7): plugins_rss_feed: 5 items fetched
2010-01-24T14:11:22+01:00 DEBUG (7): current date 26.10.2009 14:11:22
2010-01-24T14:11:22+01:00 DEBUG (7): start item fetching
2010-01-24T14:11:22+01:00 DEBUG (7): start insert new item
2010-01-24T14:11:22+01:00 ERR (3): thumbnail error File
'http://interfacelift.com/wallpaper_beta/previews/02140_romanbath.jpg' appears
to be
an invalid image source.
2010-01-24T14:11:22+01:00 DEBUG (7): start insert new item
2010-01-24T14:11:22+01:00 ERR (3): thumbnail error File
'http://interfacelift.com/wallpaper_beta/previews/02139_theycoming.jpg' appears
to be
an invalid image source.
2010-01-24T14:11:22+01:00 DEBUG (7): start insert new item
2010-01-24T14:11:22+01:00 ERR (3): thumbnail error File
'http://interfacelift.com/wallpaper_beta/previews/02138_mrniceguy.jpg' appears
to be
an invalid image source.
2010-01-24T14:11:22+01:00 DEBUG (7): start insert new item
2010-01-24T14:11:22+01:00 ERR (3): thumbnail error File
'http://interfacelift.com/wallpaper_beta/previews/02137_stonehenge.jpg' appears
to be
an invalid image source.
2010-01-24T14:11:22+01:00 DEBUG (7): start insert new item
2010-01-24T14:11:22+01:00 ERR (3): thumbnail error File
'http://interfacelift.com/wallpaper_beta/previews/02136_magentamorning.jpg'
appears
to be an invalid image source.
2010-01-24T14:11:22+01:00 DEBUG (7): cleanup old items
2010-01-24T14:11:22+01:00 DEBUG (7): destroy feed object
2010-01-24T14:11:22+01:00 DEBUG (7): start feed fetching "SS Feed das Bilder"
2010-01-24T14:11:22+01:00 DEBUG (7): load feed plugin
2010-01-24T14:11:22+01:00 DEBUG (7): load feed content
2010-01-24T14:11:22+01:00 DEBUG (7): plugins_rss_feed: 5 items fetched
2010-01-24T14:11:22+01:00 DEBUG (7): current date 26.10.2009 14:11:22
2010-01-24T14:11:22+01:00 DEBUG (7): start item fetching
2010-01-24T14:11:22+01:00 DEBUG (7): start insert new item
2010-01-24T14:11:22+01:00 ERR (3): thumbnail error File
'http://interfacelift.com/wallpaper_beta/previews/02140_romanbath.jpg' appears
to be
an invalid image source.
2010-01-24T14:11:22+01:00 DEBUG (7): start insert new item
2010-01-24T14:11:22+01:00 ERR (3): thumbnail error File
'http://interfacelift.com/wallpaper_beta/previews/02139_theycoming.jpg' appears
to be
an invalid image source.
2010-01-24T14:11:22+01:00 DEBUG (7): start insert new item
2010-01-24T14:11:22+01:00 ERR (3): thumbnail error File
'http://interfacelift.com/wallpaper_beta/previews/02138_mrniceguy.jpg' appears
to be
an invalid image source.
2010-01-24T14:11:22+01:00 DEBUG (7): start insert new item
2010-01-24T14:11:22+01:00 ERR (3): thumbnail error File
'http://interfacelift.com/wallpaper_beta/previews/02137_stonehenge.jpg' appears
to be
an invalid image source.
2010-01-24T14:11:22+01:00 DEBUG (7): start insert new item
2010-01-24T14:11:22+01:00 ERR (3): thumbnail error File
'http://interfacelift.com/wallpaper_beta/previews/02136_magentamorning.jpg'
appears
to be an invalid image source.
2010-01-24T14:11:22+01:00 DEBUG (7): cleanup old items
2010-01-24T14:11:22+01:00 DEBUG (7): destroy feed object
Original comment by k.kr...@gmail.com
on 24 Jan 2010 at 1:17
Do you have the GD Library installed on your php installation? You can check
this by
using the phpinfo() function.
Original comment by zzuzzlwuzzl@googlemail.com
on 24 Jan 2010 at 3:58
Yes, it's installed:
GD enabled, bundled (2.0.34 compatible)
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
Original comment by k.kr...@gmail.com
on 24 Jan 2010 at 4:05
Have you tested the write access on /data/thumbnails? (set them to 777 for
testing it).
I updated the wideimage library to the newest version (the old one was beta).
The
next release (1.3) will contain the newest version. Possible that this solve
the problem!
Original comment by zzuzzlwuzzl@googlemail.com
on 24 Jan 2010 at 6:06
Checked with 777 for all folders and files in /data - still the same problem.
Notice something else, could be related: If you add a feed, the favicon is
always the
generic one, not the sites favicon. Even if I set it manually to
http://www.example.com/favicon.ico. File on my server (/tmp/example.ico) are
working.
I'll checkout from SVN and try with these files.
Original comment by k.kr...@gmail.com
on 25 Jan 2010 at 6:25
Did a checkout from SVN (Rev 69) - no change.
Added a customer errorhandler, results are:
/application/Bootstrap.php: 187
(Notice) Trying to get property of non-object
/application/Bootstrap.php: 192
(Notice) Trying to get property of non-object
/library/Zend/Loader.php: 164
(Warning) fopen(/[...]/application/views/helpers/Translate.php): failed to open
stream: No such file or directory
(Warning) fopen(/[...]/application/views/helpers/PartialLoop.php): failed to
open
stream: No such file or directory
(Warning) fopen(/[...]/application/controllers/helpers/Json.php): failed to open
stream: No such file or directory
Which is true, the three files are not in the project.
Original comment by k.kr...@gmail.com
on 25 Jan 2010 at 2:52
The Zend Loader errors seems to be ok, because the Zend Loader tries to load the
View_Helper from applications directory first.
Is allow_url_fopen in your php.ini set to true?
I think the error occurs on line 223 in library/WideImage/WideImage.php. There
WideImage checks whether a valid gd resource was found.
Original comment by zzuzzlwuzzl@googlemail.com
on 25 Jan 2010 at 6:41
No it's not, and I can't change that :(
My Provider does not give access to my php.ini or to change this setting via
ini_set('allow_url_fopen', 1)
Original comment by k.kr...@gmail.com
on 25 Jan 2010 at 7:24
Hm, thats really bad. Can you set the param using the .htaccess file. Just add
php_flag allow_url_fopen on
Original comment by zzuzzlwuzzl@googlemail.com
on 25 Jan 2010 at 8:52
.htaccess with "php_flag allow_url_fopen on" will result in Server Error 500.
A one line php.ini with "allow_url_fopen = on" did the job.
With that change, it's running as expected: Fotofeeds working.
But is my website open to Cross-Site-Attacks with that setting?
Original comment by k.kr...@gmail.com
on 26 Jan 2010 at 7:44
Cool, I'm glad that rsslounge are working now.
"allow_url_fopen off" prevents the usage of urls in functions like "fopen" or
"file_get_contents". It offers a additional security, but setting it to off
will not
open a security hole. On my hosting its per default on.
Original comment by zzuzzlwuzzl@googlemail.com
on 26 Jan 2010 at 8:42
Original issue reported on code.google.com by
k.kr...@gmail.com
on 24 Jan 2010 at 11:18