Cannot get external images working - Module externals and randimg only produces empty pages.
|
habakuk
Joined: 2006-03-24
Posts: 28 |
Posted: Fri, 2013-12-06 20:14
|
|
Hello everybody, I have installed the modules externals (http://codex.galleryproject.org/Gallery3:Modules:externals) and randimg (http://codex.galleryproject.org/Gallery3:Modules:randimg) but if I try to open the urls I only get empty pages: Any idea why? I have this version installed: Version: 3.0.9 (Chartres) Thanks! |
|

Posts: 27300
Blank pages are normally a php error. Anything in the servers error logs when you visit any of those urls?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 28
Hi Dave, thanks for your answer!
I checked my error logs, but there are no entries.
I already created a local.php file according to http://codex.galleryproject.org/Gallery3:FAQ#How_do_I_see_debug_information.3F but I don't see any messages.
Is there another way to get more informations?
Ciao!
Stefan Wagner
Posts: 27300
Ask your host
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 28
Hello Dave,
what should I ask him? Error logging is enabled...
Ciao!
Stefan
Posts: 27300
They should have access to the _servers_ error log.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 28
Hello Dave,
I think I get all errors in my error log, but there are no relevant informations regarding this problem in it.
I changed the file "html/modules/externals/controllers/externals.php" a little bit, to get some more information:
class externals_Core { static function externals_link() { $block_id = $_GET['block_id']; switch ($block_id) { case "random_photo": print "1\n"; do { print "2\n"; $item = item::random_query(array(array("type", "!=", "album")))->find_all(1)->current(); } while (!$item && $attempts++ < 3); if ($item && $item->loaded()) { print "3\n"; $externals = new View("externals.html"); $externals->item = $item; $externals->exif = exif::get($item); print "4\n"; } print "externals: "; print_r($externals); return $externals; break; case "random_album": ...If I call http://galerie.cvjm-nuernberg.de/externals?block_id=random_photo I get this output:
See attachment for full output.
So the script itself is running, but after that there is a problem...
Any idea how to fix it or how to debug deeper into it?
Thanks!
Stefan