<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
ah, this worked!<br><br>$UploadDir = 'uploads';<br><br>silly double quotes played a trick on me. <br><br>Now I just need to find where the file has gone... <br>It is not under the uploads directory, but it can be accessed online with:<br>&nbsp;&nbsp;&nbsp; .../pmwiki/uploads//Main/text2.txt<br><br>ahaha... a battle at a time<br><br><hr id="stopSpelling">From: litows4th@hotmail.com<br>To: pmwiki-users@pmichaud.com<br>Date: Wed, 11 Aug 2010 20:31:41 +1200<br>Subject: [pmwiki-users] no file uploaded<br><br>

<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

</style>


<font style="font-size: 10pt;" size="2">Hello, </font><font style="font-size: 10pt;" size="2"><br></font><font style="font-size: 10pt;" size="2">I apologize if this is not going to the right place. Be kind on a first mailing-list timer.</font><font style="font-size: 10pt;" size="2"><br></font><font style="font-size: 10pt;" size="2"><br></font><font style="font-size: 10pt;" size="2">I have been using pmwiki for a few years now. I love it. But still cannot get an "upload files" scheme to work.</font><font style="font-size: 10pt;" size="2"><br></font><font style="font-size: 10pt;" size="2">I have tried all I know. Read all the docs, faqs, mailing list. Tried countless configurations. Every once in a while I try. To no avail. </font><font style="font-size: 10pt;" size="2"><br></font><font style="font-size: 10pt;" size="2"><br></font><font style="font-size: 10pt;" size="2">I assume I must be missing some simple bit somewhere... but I downloaded the very last release today, spent another few hours today and got nowhere.</font><font style="font-size: 10pt;" size="2"><br></font><font style="font-size: 10pt;" size="2"><br></font><font style="font-size: 10pt;" size="2">#########################</font><font style="font-size: 10pt;" size="2"><br></font><font style="font-size: 10pt;" size="2">Steps:</font><font style="font-size: 10pt;" size="2"><br></font><font style="font-size: 10pt;" size="2">When I add</font><font style="font-size: 10pt;" size="2"><br></font><font style="font-size: 10pt;" size="2">&nbsp;&nbsp; ?action=upload</font><font style="font-size: 10pt;" size="2"><br></font><font style="font-size: 10pt;" size="2">to my page, I get asked for the password.</font><font style="font-size: 10pt;" size="2"><br></font><font style="font-size: 10pt;" size="2"><br></font><font style="font-size: 10pt;" size="2">The upload page appears.</font><font style="font-size: 10pt;" size="2"> <br>Also, as a side note, a new menu item under the Action menu list appear, called: Attach<br><br></font><font style="font-size: 10pt;" size="2">I point a simple txt file in the File To Upload space.</font><font style="font-size: 10pt;" size="2"><br>I set a new name attachment. (I also tried leaving this blank)<br><br></font><font style="font-size: 10pt;" size="2">After I click on upload, I get asked for the password once.</font><font style="font-size: 10pt;" size="2"><br></font><font style="font-size: 10pt;" size="2"><br></font><font style="font-size: 10pt;" size="2">Then the path in the browser changes to:</font><font style="font-size: 10pt;" size="2"><br></font><font style="font-size: 10pt;" size="2">&nbsp; pmwiki/pmwiki.php/Main/HomePage?action=upload&amp;uprname=&amp;upresult=nofile</font><font style="font-size: 10pt;" size="2"><br></font><font style="font-size: 10pt;" size="2">and I get asked for the password again.</font><font style="font-size: 10pt;" size="2"><br></font><font style="font-size: 10pt;" size="2"><br></font><font style="font-size: 10pt;" size="2">Finally the upload page comes up again with:</font><font style="font-size: 10pt;" size="2"><br></font><font style="font-size: 10pt;" size="2">&nbsp;&nbsp;&nbsp; ... no file uploaded</font><font style="font-size: 10pt;" size="2"><br></font><font style="font-size: 10pt;" size="2"><br></font><font style="font-size: 10pt;" size="2">###########################</font><font style="font-size: 10pt;" size="2"><br></font><font style="font-size: 10pt;" size="2">My config.php is using:</font><font style="font-size: 10pt;" size="2"><br></font><font style="font-size: 10pt;" size="2"><br></font><font style="font-size: 10pt;" size="2">$EnableUpload = 1;</font><font style="font-size: 10pt;" size="2"><br></font><font style="font-size: 10pt;" size="2">$UploadMaxSize = 1024*1024*10; </font><font style="font-size: 10pt;" size="2"><br></font><font style="font-size: 10pt;" size="2">$EnableUploadVersions=1; </font><font style="font-size: 10pt;" size="2"><br></font><font style="font-size: 10pt;" size="2">$UploadDir = "uploads";</font><font style="font-size: 10pt;" size="2"><br></font><font style="font-size: 10pt;" size="2">$EnableUploadOverwrite = 0;</font><font style="font-size: 10pt;" size="2"><br></font><font style="font-size: 10pt;" size="2"><br></font><font style="font-size: 10pt;" size="2">I tried quite a few variations to this, but none worked.</font><font style="font-size: 10pt;" size="2"><br>I tried including and removing an upload password, but nothing changed in the workflow.<br></font><font style="font-size: 10pt;" size="2"><br></font><font style="font-size: 10pt;" size="2">###########################</font><font style="font-size: 10pt;" face="Tahoma" size="2"><br></font><font style="font-size: 10pt;" face="Tahoma" size="2">I checked my ?action=phpinfo and it says I can upload up to 11Mb and </font><code><font style="font-size: 10pt;" face="Tahoma" size="2">file_uploads is set to on.<br><br><br>##########################<br>I do not have a php.ini anywhere on my powweb.com server that I could find.<br><br><br><br>##########################<br>What's the secret to get this working? It is driving me crazy. <br>I understand the security needs, but this has been impossible to solve.<br><br>Also, I need to make this as soft as adding a permanent "Attach" entry to the Actions menu. Is that possible?<br><br>Anyone?<br>Thank You in advance.<br>lito<br><br><br></font></code>                                               
<br>_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users                                               </body>
</html>