<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Many thanks for those 2!<br>
<br>
I have just updated the main codebase, so those corrections will
appear in all future versions.<br>
<br>
Thanks!<br>
Jules.<br>
<br>
<br>
<div class="moz-cite-prefix">On 06/08/2015 02:22, <a class="moz-txt-link-abbreviated" href="mailto:bbrendon@gmail.com">bbrendon@gmail.com</a>
wrote:<br>
</div>
<blockquote
cite="mid:CADrfcdbTbOeL_x1Zuv+m-7+deRcR9K=yVx0NQkFN8kxCLAkDEg@mail.gmail.com"
type="cite">
<div dir="ltr">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!
<div><br>
<div><br>
</div>
<div>1. www/graph.php has a bug. Comment out and change. Like
below.</div>
</div>
<div>
<div>//readfile(RRD_DATA_DIR.'notfound.png');</div>
<div>readfile(NSSDROPBOX_BASE_DIR.'www/images/notfound.png');</div>
</div>
<div><br>
</div>
<div>2. Add this to the very end of preferences.php</div>
<div><br>
</div>
<div>
<div>// DO NOT PUT EXTRA SPACES OR LINES AFTER THE PHP TAG.</div>
<div>// IT WILL BREAK DYNAMIC/RRD IMAGES</div>
<div>?></div>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Aug 3, 2015 at 2:16 AM, Jules <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:Jules@zend.to" target="_blank">Jules@zend.to</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> Can you send me the
HTML source of the page you sent the screen capture of
please?<br>
Where is the web server trying to find the images?<br>
It also might just be a permissions problem, make sure the
/u0/zendto-storage/rrd directory (and images within it)
are readable by everyone.<br>
<br>
Hope that helps,<br>
Jules.
<div>
<div class="h5"><br>
<br>
<br>
<div>On 31/07/2015 19:26, <a moz-do-not-send="true"
href="mailto:bbrendon@gmail.com" target="_blank">bbrendon@gmail.com</a>
wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">
<div dir="ltr">
<div>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.</div>
<div><br>
</div>
<div>Any hints would be great!</div>
<div><br>
</div>
<div>A screen capture of the webpage:<br>
</div>
<div><a moz-do-not-send="true"
href="https://goo.gl/trHNa1" target="_blank">https://goo.gl/trHNa1</a><br>
</div>
<div><br>
</div>
<div>My NSSDROPBOX_DATA_DIR : </div>
<div>
<div>define('NSSDROPBOX_DATA_DIR','/u0/zendto-storage/');</div>
</div>
<div><br>
</div>
<div>And inside that is...</div>
<div>
<div>$ find .</div>
<div>.</div>
<div>./dropoffs</div>
<div>./dropoffs/sQHhq2BU3mWNdyKW</div>
<div>find: `./dropoffs/sQHhq2BU3mWNdyKW':
Permission denied</div>
<div>./dropoffs/UCfZamAxWWEwh3yd</div>
<div>find: `./dropoffs/UCfZamAxWWEwh3yd':
Permission denied</div>
<div>./dropoffs/wgUpCJbsg7BPoXm5</div>
<div>find: `./dropoffs/wgUpCJbsg7BPoXm5':
Permission denied</div>
<div>./dropoffs/fYMhAw3m3f6DKg5q</div>
<div>find: `./dropoffs/fYMhAw3m3f6DKg5q':
Permission denied</div>
<div>./dropoffs/orYcKdkH6eNH4cJW</div>
<div>find: `./dropoffs/orYcKdkH6eNH4cJW':
Permission denied</div>
<div>./dropoffs/ujQWsP9QKXyZz3Jq</div>
<div>find: `./dropoffs/ujQWsP9QKXyZz3Jq':
Permission denied</div>
<div>./zendto.log</div>
<div>./rrd</div>
<div>./rrd/total_files90.png</div>
<div>./rrd/total_size3650.png</div>
<div>./rrd/total_files7.png</div>
<div>./rrd/total_files365.png</div>
<div>./rrd/total_size365.png</div>
<div>./rrd/files_per_dropoff90.png</div>
<div>./rrd/total_files30.png</div>
<div>./rrd/files_per_dropoff7.png</div>
<div>./rrd/dropoff_count3650.png</div>
<div>./rrd/total_files3650.png</div>
<div>./rrd/files_per_dropoff365.png</div>
<div>./rrd/files_per_dropoff30.png</div>
<div>./rrd/dropoff_count30.png</div>
<div>./rrd/dropoff_count365.png</div>
<div>./rrd/dropoff_count7.png</div>
<div>./rrd/total_size30.png</div>
<div>./rrd/zendto.rrd</div>
<div>./rrd/files_per_dropoff3650.png</div>
<div>./rrd/total_size90.png</div>
<div>./rrd/total_size7.png</div>
<div>./rrd/dropoff_count90.png</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>[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</div>
<div>[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</div>
<div>[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</div>
<div>[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</div>
<div>[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</div>
<div>[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</div>
<div>[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</div>
<div>[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</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
ZendTo mailing list
<a moz-do-not-send="true" href="mailto:ZendTo@zend.to" target="_blank">ZendTo@zend.to</a>
<a moz-do-not-send="true" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></pre>
<br>
<pre cols="72">Jules
--
Julian Field MEng MBCS CITP CEng
<span class="HOEnZb"><font color="#888888"><a moz-do-not-send="true" href="http://www.Zend.To" target="_blank">www.Zend.To</a>
Twitter: @JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
</font></span></pre>
</blockquote>
</div>
<br>
_______________________________________________<br>
ZendTo mailing list<br>
<a moz-do-not-send="true" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a><br>
<a moz-do-not-send="true"
href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto"
rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a><br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
ZendTo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a>
<a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></pre>
<br>
<pre class="moz-signature" cols="72">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
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
</pre>
</blockquote>
</body>
</html>