ah, this worked!

$UploadDir = 'uploads';

silly double quotes played a trick on me. 

Now I just need to find where the file has gone... 
It is not under the uploads directory, but it can be accessed online with:
    .../pmwiki/uploads//Main/text2.txt

ahaha... a battle at a time

From: [email protected]
To: [email protected]
Date: Wed, 11 Aug 2010 20:31:41 +1200
Subject: [pmwiki-users] no file uploaded








Hello, 
I apologize if this is not going to the right place. Be kind on a first 
mailing-list timer.

I have been using pmwiki for a few years now. I love it. But still cannot get 
an "upload files" scheme to work.
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. 

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.

#########################
Steps:
When I add
   ?action=upload
to my page, I get asked for the password.

The upload page appears. 
Also, as a side note, a new menu item under the Action menu list appear, 
called: Attach

I point a simple txt file in the File To Upload space.
I set a new name attachment. (I also tried leaving this blank)

After I click on upload, I get asked for the password once.

Then the path in the browser changes to:
  pmwiki/pmwiki.php/Main/HomePage?action=upload&uprname=&upresult=nofile
and I get asked for the password again.

Finally the upload page comes up again with:
    ... no file uploaded

###########################
My config.php is using:

$EnableUpload = 1;
$UploadMaxSize = 1024*1024*10; 
$EnableUploadVersions=1; 
$UploadDir = "uploads";
$EnableUploadOverwrite = 0;

I tried quite a few variations to this, but none worked.
I tried including and removing an upload password, but nothing changed in the 
workflow.

###########################
I checked my ?action=phpinfo and it says I can upload up to 11Mb and 
file_uploads is set to on.


##########################
I do not have a php.ini anywhere on my powweb.com server that I could find.



##########################
What's the secret to get this working? It is driving me crazy. 
I understand the security needs, but this has been impossible to solve.

Also, I need to make this as soft as adding a permanent "Attach" entry to the 
Actions menu. Is that possible?

Anyone?
Thank You in advance.
lito


                                          

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users                           
          
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to