<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>The following is the information from test site.</p>
<p><br>
</p>
<p>Server: 000webhost</p>
<p>PmWiki: <span>pmwiki-2.2.99</span></p>
<p><span>PHP: 7.1.6</span></p>
<p><span>Attachtable: attachtable-php55.zip with attachtable-getid3-more.tar.gz</span></p>
<p><span>Added to config.php (sample-config.php copied to local and renamed):</span></p>
<p><span></span></p>
<p>$WikiTitle = 'TestWiki';</p>
<p>$UploadPrefixFmt = '/$Group/$Name';<br>
$UploadMaxSize = 5000000;</p>
<p><span>$EnablePathInfo = 1;</span></p>
<span></span>
<p></p>
<p><span><span><span>$DefaultPasswords['admin'] = pmcrypt('secret');</span></span></span></p>
<p><span><span><span><span>$EnableGUIButtons = 1;</span></span></span></span></p>
<p><span><span><br>
</span></span></p>
<p><span><span>$WikiTitle = 'TestWiki';</span></span></p>
<p><span></span></p>
<p>$EnableUpload = 1;<br>
$UploadPermAdd = 0;<br>
$DefaultPasswords['upload'] = pmcrypt('secret');</p>
<p>switch($action) {<br>
  case 'delattach':<br>
  case 'renameattach':<br>
  case 'downloaddeleted':<br>
    include_once("$FarmD/cookbook/attachtable/attachtable-actions.php");<br>
    break;<br>
  case 'fileinfo':<br>
  case 'thumbnail':<br>
    include_once("$FarmD/cookbook/attachtable/fileinfo.php");<br>
    break;<br>
  case 'upload':<br>
  default:<br>
    include_once("$FarmD/cookbook/attachtable/attachtable.php");<br>
    break;<br>
}</p>
<p><br>
</p>
<p>WikiSandbox (-> Works verified files in the uploads/Main/WikiSandbox directory):</p>
<p>Attach:bd1b2eaac1ee68222e2c74b693aec3b1.jpg\\</p>
<p>Attach:landing_bg.jpg\\</p>
<p>Attach:bg_newsletter_1483052655.jpg\\</p>
<p><br>
</p>
<p>Addition of following to WikiSandbox (-> Save gives blank screen, preview shows correctly);</p>
<p>(:attachtable:)</p>
<p><br>
</p>
<p>Source Images:</p>
<p><br>
</p>
<p></p>
<div>https://s-media-cache-ak0.pinimg.com/736x/bd/1b/2e/bd1b2eaac1ee68222e2c74b693aec3b1.jpg<br>
https://bubbleup.vo.llnwd.net/o2/margaritaville/margaritaville2014/landing_bg.jpg<br>
https://s3.amazonaws.com/busites_www/mville2017/user_data/5/uploads/bg_newsletter_1483052655.jpg</div>
<p></p>
<p><br>
</p>
<p></p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="width: 98%; display: inline-block;">
<div id="divRplyFwdMsg" dir="ltr"><font color="#000000" face="Calibri, sans-serif" style="font-size: 11pt;"><b>From:</b> pmwiki-users <pmwiki-users-bounces@pmichaud.com> on behalf of Monte Padget <m_padget@hotmail.com><br>
<b>Sent:</b> Thursday, July 6, 2017 2:20 PM<br>
<b>To:</b> pmwiki-users@pmichaud.com<br>
<b>Subject:</b> Re: [pmwiki-users] Cookbook Recipe Attachtable problem</font>
<div> </div>
</div>
<div>
<div id="divtagdefaultwrapper" style="color: rgb(0, 0, 0); font-family: Calibri,Helvetica,sans-serif; font-size: 12pt;" dir="ltr">
<p>I have started a fresh install on 000webhost with pmwiki-2.2.99.</p>
<p><br>
</p>
<p>I'll start setting up a new one from scratch to see what I can find. I'll post what I find.</p>
<p><br>
</p>
<p>I wasn't listing any audio files, the only ones I had so far where a couple of image files.<br>
</p>
<p><br>
</p>
<p>Thanks,</p>
<p>Monte<br>
<br>
</p>
<div style="color: rgb(0, 0, 0);">
<div>
<hr tabindex="-1" style="width: 98%; display: inline-block;">
<div id="x_divRplyFwdMsg" dir="ltr"><font color="#000000" face="Calibri, sans-serif" style="font-size: 11pt;"><b>From:</b> pmwiki-users <pmwiki-users-bounces@pmichaud.com> on behalf of Petko Yotov <5ko@5ko.fr><br>
<b>Sent:</b> Thursday, July 6, 2017 12:57 PM<br>
<b>To:</b> pmwiki-users@pmichaud.com<br>
<b>Subject:</b> Re: [pmwiki-users] Cookbook Recipe Attachtable problem</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size: 10pt;">
<div class="PlainText">You don't mention your PmWiki version and your PHP version. I assume you
<br>
installed the latest PmWiki version.<br>
<br>
These symptoms suggest an older PmWiki installation, and/or an older <br>
recipe that calls the function "htmlspecialchars" directly, while the <br>
text contains what PHP considers invalid bytes. See:<br>
<br>
   <a id="LPlnk273265" href="http://www.pmwiki.org/wiki/PmWiki/Troubleshooting#blank_sections" previewremoved="true">
http://www.pmwiki.org/wiki/PmWiki/Troubleshooting#blank_sections</a>
<p></p>
<div id="LPBorder_GT_14993650595980.6829123020112608" style="width: 100%; text-indent: 0px; overflow: auto; margin-bottom: 20px; display: inline-block;">
<table id="LPContainer_14993650595880.5778538951529547" style="width: 90%; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top-color: rgb(200, 200, 200); border-bottom-color: rgb(200, 200, 200); border-top-width: 1px; border-bottom-width: 1px; border-top-style: dotted; border-bottom-style: dotted; background-color: rgb(255, 255, 255);" cellspacing="0">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td id="TextCell_14993650595890.6910888449854374" style="padding: 0px; vertical-align: top; display: table-cell; position: relative;" colspan="2">
<div id="LPRemovePreviewContainer_14993650595900.738403310444016" style="float: right;">
</div>
<div id="LPTitle_14993650595900.8352532272348171" style="top: 0px; color: rgb(0, 120, 215); line-height: 21px; font-family: "wf_segoe-ui_light","Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 21px; font-weight: 400;">
<a id="LPUrlAnchor_14993650595920.3751156086514306" style="text-decoration: none;" href="http://www.pmwiki.org/wiki/PmWiki/Troubleshooting#blank_sections" target="_blank">PmWiki | PmWiki / Troubleshooting</a></div>
<div id="LPMetadata_14993650595920.4605944463847845" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); line-height: 14px; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; font-weight: 400;">
www.pmwiki.org</div>
<div id="LPDescription_14993650595940.7457480623898025" style="color: rgb(102, 102, 102); line-height: 20px; overflow: hidden; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; font-weight: 400; display: block; max-height: 100px;">
PmWiki is pretty robust and can automatically adapt to a very wide variety of environments. However, sometimes things don't go as we expect, so we're cataloging ...</div>
</td>
</tr>
</tbody>
</table>
</div>
<p></p>
<br>
<br>
<br>
Attachtable doesn't appear to call this function but the file <br>
getid3.lib.php calls "htmlentities" 3 times and it may also suffer from <br>
the bug - I suspect it may happen if you list audio/video files whose <br>
metadata has a different charset than the wiki.<br>
<br>
It could be another recipe or a skin. To check it, disable all recipes <br>
then test the wiki: if the bug persists, it could be a PmWiki bug and <br>
I'd be very interested to test and review that installation and fix the <br>
bug. Re-enable one recipe at a time and check the wiki for the bug: at <br>
some point it will re-appear and you'll know the recipe you just enabled <br>
is the culprit. There may be more than one -- we can fix them all.<br>
<br>
Petko<br>
<br>
On 2017-07-06 17:38, Monte Padget wrote:<br>
> I am able to preview the (:attachtable:) and it shows correctly, but<br>
> if I try to save, the page is blank. Not sure what I'm missing at this<br>
> point. I'll post more when I can find something.<br>
> <br>
> <br>
> Been reading through the Talk page, but unable to find what I need.<br>
> <br>
> <br>
> Are there any nuggets of wisdom that I might be missing?<br>
> <br>
> <br>
> -Monte<br>
> <br>
> <br>
> ________________________________<br>
> From: pmwiki-users <pmwiki-users-bounces@pmichaud.com> on behalf of<br>
> Monte Padget <m_padget@hotmail.com><br>
> Sent: Thursday, July 6, 2017 10:48 AM<br>
> To: Pmwiki-users@pmichaud.com<br>
> Subject: Re: [pmwiki-users] Cookbook Recipe Attachtable problem<br>
> <br>
> <br>
> I think I found a problem. With all the checking I was doing, I had<br>
> commented out the password at some point and forgot to un-comment. I'm<br>
> not sure if it is completely working yet, but it is progressing again.<br>
> <br>
> <br>
> Thanks,<br>
> <br>
> Monte<br>
> <br>
> <br>
> ________________________________<br>
> From: pmwiki-users <pmwiki-users-bounces@pmichaud.com> on behalf of<br>
> Monte Padget <m_padget@hotmail.com><br>
> Sent: Thursday, July 6, 2017 9:48 AM<br>
> To: Pmwiki-users@pmichaud.com<br>
> Subject: [pmwiki-users] Cookbook Recipe Attachtable problem<br>
> <br>
> <br>
> I'm in the process of setting up a site on 000webhost and am having<br>
> problems getting the Cookbook Recipe Attachtable to work.<br>
> <br>
> <br>
> This recipe I have used in the past and want to use it still, but the<br>
> wiki won't load.<br>
> <br>
> <br>
> Following the steps, when I get to the step to edit the<br>
> Site.UploadQuickReference, I am not able to edit. I am prompted for<br>
> the password, but it won't go beyond that screen. I have verified my<br>
> password several times, I have verified the permissions of the wiki.d<br>
> directory. I do have uploads allowed. Could that be the problem? Not<br>
> being allowed to edit this Site?<br>
> <br>
> <br>
> -Monte<br>
<br>
_______________________________________________<br>
pmwiki-users mailing list<br>
pmwiki-users@pmichaud.com<br>
<a id="LPlnk538793" href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" previewremoved="true">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a>
<p></p>
<div id="LPBorder_GT_14993650596430.9797232610501483" style="width: 100%; text-indent: 0px; overflow: auto; margin-bottom: 20px; display: inline-block;">
<table id="LPContainer_14993650596330.9498917924606152" style="width: 90%; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top-color: rgb(200, 200, 200); border-bottom-color: rgb(200, 200, 200); border-top-width: 1px; border-bottom-width: 1px; border-top-style: dotted; border-bottom-style: dotted; background-color: rgb(255, 255, 255);" cellspacing="0">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td id="TextCell_14993650596360.17447091660593433" style="padding: 0px; vertical-align: top; display: table-cell; position: relative;" colspan="2">
<div id="LPRemovePreviewContainer_14993650596360.5195772072553031" style="float: right;">
</div>
<div id="LPTitle_14993650596370.516035693427475" style="top: 0px; color: rgb(0, 120, 215); line-height: 21px; font-family: "wf_segoe-ui_light","Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 21px; font-weight: 400;">
<a id="LPUrlAnchor_14993650596390.40819375596180274" style="text-decoration: none;" href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank">pmwiki-users Info Page</a></div>
<div id="LPMetadata_14993650596390.7756196291372424" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); line-height: 14px; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; font-weight: 400;">
www.pmichaud.com</div>
<div id="LPDescription_14993650596410.6288183422732092" style="color: rgb(102, 102, 102); line-height: 20px; overflow: hidden; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; font-weight: 400; display: block; max-height: 100px;">
To see the collection of prior postings to the list, visit the pmwiki-users Archives. Using pmwiki-users: To post a message to all the list members ...</div>
</td>
</tr>
</tbody>
</table>
</div>
<p></p>
<br>
<br>
</div>
</span></font></div>
</div>
</div>
</div>
</div>
</body>
</html>