[ZendTo] Re: statistics image errors
Jules
Jules at Zend.To
Fri Aug 7 10:00:16 BST 2015
Many thanks for those 2!
I have just updated the main codebase, so those corrections will appear
in all future versions.
Thanks!
Jules.
On 06/08/2015 02:22, bbrendon at gmail.com wrote:
> After much toying around I figured out what was wrong. There were two
> things I discovered. #2 was the major one and for me it took about an
> hour to finally narrow it down!
>
>
> 1. www/graph.php has a bug. Comment out and change. Like below.
> //readfile(RRD_DATA_DIR.'notfound.png');
> readfile(NSSDROPBOX_BASE_DIR.'www/images/notfound.png');
>
> 2. Add this to the very end of preferences.php
>
> // DO NOT PUT EXTRA SPACES OR LINES AFTER THE PHP TAG.
> // IT WILL BREAK DYNAMIC/RRD IMAGES
> ?>
>
>
>
>
>
>
>
> On Mon, Aug 3, 2015 at 2:16 AM, Jules <Jules at zend.to
> <mailto:Jules at zend.to>> wrote:
>
> Can you send me the HTML source of the page you sent the screen
> capture of please?
> Where is the web server trying to find the images?
> It also might just be a permissions problem, make sure the
> /u0/zendto-storage/rrd directory (and images within it) are
> readable by everyone.
>
> Hope that helps,
> Jules.
>
>
>
> On 31/07/2015 19:26, bbrendon at gmail.com
> <mailto:bbrendon at gmail.com> wrote:
>> The only obvious thing is that notfound.png is actually in
>> zendto/www/images/notfound.png. I'm not sure why its looking
>> under NSSDROPBOX_DATA_DIR. Also, the apache error log is at the
>> end. I don't think this feature has ever worked. I just ignored
>> it for the longest time. I just updated to the latest version and
>> thought I've try it again.
>>
>> Any hints would be great!
>>
>> A screen capture of the webpage:
>> https://goo.gl/trHNa1
>>
>> My NSSDROPBOX_DATA_DIR :
>> define('NSSDROPBOX_DATA_DIR','/u0/zendto-storage/');
>>
>> And inside that is...
>> $ find .
>> .
>> ./dropoffs
>> ./dropoffs/sQHhq2BU3mWNdyKW
>> find: `./dropoffs/sQHhq2BU3mWNdyKW': Permission denied
>> ./dropoffs/UCfZamAxWWEwh3yd
>> find: `./dropoffs/UCfZamAxWWEwh3yd': Permission denied
>> ./dropoffs/wgUpCJbsg7BPoXm5
>> find: `./dropoffs/wgUpCJbsg7BPoXm5': Permission denied
>> ./dropoffs/fYMhAw3m3f6DKg5q
>> find: `./dropoffs/fYMhAw3m3f6DKg5q': Permission denied
>> ./dropoffs/orYcKdkH6eNH4cJW
>> find: `./dropoffs/orYcKdkH6eNH4cJW': Permission denied
>> ./dropoffs/ujQWsP9QKXyZz3Jq
>> find: `./dropoffs/ujQWsP9QKXyZz3Jq': Permission denied
>> ./zendto.log
>> ./rrd
>> ./rrd/total_files90.png
>> ./rrd/total_size3650.png
>> ./rrd/total_files7.png
>> ./rrd/total_files365.png
>> ./rrd/total_size365.png
>> ./rrd/files_per_dropoff90.png
>> ./rrd/total_files30.png
>> ./rrd/files_per_dropoff7.png
>> ./rrd/dropoff_count3650.png
>> ./rrd/total_files3650.png
>> ./rrd/files_per_dropoff365.png
>> ./rrd/files_per_dropoff30.png
>> ./rrd/dropoff_count30.png
>> ./rrd/dropoff_count365.png
>> ./rrd/dropoff_count7.png
>> ./rrd/total_size30.png
>> ./rrd/zendto.rrd
>> ./rrd/files_per_dropoff3650.png
>> ./rrd/total_size90.png
>> ./rrd/total_size7.png
>> ./rrd/dropoff_count90.png
>>
>>
>>
>>
>> [Fri Jul 31 11:19:12 2015] [error] [client 1.1.1.1] PHP Notice:
>> Undefined index: p in
>> /usr/local/share/ZendTo-4.12-5/www/graph.php on line 41
>> [Fri Jul 31 11:19:12 2015] [error] [client 1.1.1.1] PHP Warning:
>> mysqli::mysqli(): Headers and client library minor version
>> mismatch. Headers:50540 Library:100020 in
>> /usr/local/share/ZendTo-4.12-5/lib/MySQL.php on line 48
>> [Fri Jul 31 11:19:12 2015] [error] [client 1.1.1.1] PHP Notice:
>> Undefined index: authLDAPAdmins in
>> /usr/local/share/ZendTo-4.12-5/lib/NSSADAuthenticator.php on line 83
>> [Fri Jul 31 11:19:12 2015] [error] [client 1.1.1.1] PHP Notice:
>> Undefined index: authLDAPMemberKey in
>> /usr/local/share/ZendTo-4.12-5/lib/NSSADAuthenticator.php on line 104
>> [Fri Jul 31 11:19:12 2015] [error] [client 1.1.1.1] PHP Notice:
>> Undefined index: authLDAPMemberRole in
>> /usr/local/share/ZendTo-4.12-5/lib/NSSADAuthenticator.php on line 105
>> [Fri Jul 31 11:19:12 2015] [error] [client 1.1.1.1] PHP Notice:
>> Undefined variable: period in
>> /usr/local/share/ZendTo-4.12-5/www/graph.php on line 59
>> [Fri Jul 31 11:19:12 2015] [error] [client 1.1.1.1] PHP Notice:
>> Undefined index: metric in
>> /usr/local/share/ZendTo-4.12-5/www/graph.php on line 59
>> [Fri Jul 31 11:19:12 2015] [error] [client 1.1.1.1] PHP Warning:
>> readfile(/u0/zendto-storage/rrd/notfound.png): failed to open
>> stream: No such file or directory in
>> /usr/local/share/ZendTo-4.12-5/www/graph.php on line 68
>>
>>
>> _______________________________________________
>> ZendTo mailing list
>> ZendTo at zend.to <mailto:ZendTo at zend.to>
>> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>>
>> Jules
>>
>> --
>> Julian Field MEng MBCS CITP CEng
>>
>>
>> www.Zend.To <http://www.Zend.To> Twitter: @JulesFM PGP footprint:
>> EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to <mailto:ZendTo at zend.to>
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>
>
>
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>
> Jules
>
> --
> Julian Field MEng MBCS CITP CEng
>
> 'Talent is God-given ... be humble;
> fame is man-given ... be grateful;
> conceit is self-given ... be careful.' - John Wooden
>
> www.Zend.To
> Twitter: @JulesFM
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20150807/cc6caa17/attachment.html
More information about the ZendTo
mailing list