Not logged in. · Lost password · Register
Forum: General Help and Support Plugins RSS
panoview - displays no pictures
Avatar
micha #1
Member since Jun 2009 · 3 posts · Location: Schwabmünchen
Group memberships: Members
Show profile · Link to this post
Subject: panoview - displays no pictures
Hi,

I've installed panoview and tried to use it in a page, but no pictures are loaded, only these circles show
that the script is executed.

In the apache accesslog http status 500 is shown for /lib/plugins/panoview/tiles.php?tile=2-2-0&image=bi[...]

When opening the page with the panoviewer for the first time, on the server starts convert (ImageMagick)
and a scaled image is stored in the cache. This jpeg can be viewed with gimp and has the correct dimensions,
but isn't diisplay by panoview.

dokuwiki is Version 2009-02-14b, and panoview the "latetest" from the plugin page.

thanks in advance
micha
Avatar
andi (Administrator) #2
Member since May 2006 · 1619 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by micha on 2009-06-18, 22:26:
In the apache accesslog http status 500 is shown for /lib/plugins/panoview/tiles.php?tile=2-2-0&image=bi[...]

Check the apache error log and try to open a tile URL manually. This should give some better error description.
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
Avatar
micha #3
Member since Jun 2009 · 3 posts · Location: Schwabmünchen
Group memberships: Members
Show profile · Link to this post
When calling the URL manually the error message stays the same, except there ist no referer.
The Browser shows a empty page, even with debug enabled. Sorry, that's all I have.
Avatar
andi (Administrator) #4
Member since May 2006 · 1619 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
A 500 error is thrown by PHP or Apache itself. When PHP does not print any error messages to the browser they usually end up in the Apache *error log* (that it not the access log).

From your description (tile is created and stored but not displayed) I'd guess the readfile function is disabled. But without any error message I can't help
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
Avatar
micha #5
Member since Jun 2009 · 3 posts · Location: Schwabmünchen
Group memberships: Members
Show profile · Link to this post
The error log is also empty, I forgot to explicitly mention this. Anyway, I can't change the php.ini on the system, so I have no possibility to get more datailed error reporting. But I was able to reproduce the error on one of my own servers:

PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/some/where/htdocs/inc/httputils.php' (include_path='.:/usr/share/php:/usr/share/pear') in /some/where/htdocs/lib/plugins/panoview/tiles.php on line 12

The file httputils.php is missing and it seems to me, that this file is only available in the nightly snapshots. Copying the httputils.php from a nightly snapshot leaded in much more errors. Do you know any other way to use panoview, besides upgrading to a snapshot?
Avatar
andi (Administrator) #6
Member since May 2006 · 1619 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by micha on 2009-06-26, 22:46:
Do you know any other way to use panoview, besides upgrading to a snapshot?

Nope. Thanks for figuring this out. I wasn't sure if I was using any development functionality, now I know. I will update the requirements.
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please note the verification code from the picture into the text field next to it.
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20090606-dev, © 2003-8 by Yves Goergen
Current time: 2010-03-19, 08:42:34 (UTC +01:00)
WikiForumIRCBugsGitXRefTranslate