[Pmwiki-users] Upload not working
John Oakley
oakleyje
Wed Jan 5 17:26:45 CST 2005
Well thanks to my smart buddy, Joshua Layne, we now have the problem
resolved. The problem was, as Patrick suggested, an authentication problem.
The only change that we made to fix the issue we were having with upload
authentication was to add a cookie domain.
This was really a core PHP setup issue, but as the box is running multiple
sites (on multiple domains), it was not set correctly for this app.
For pmwiki the line that needs to be added to local/config.php is:
ini_set('session.cookie_domain','.domain');
where .domain is (in our case) = .applera.net
We also created a session directory under the pmwiki docroot and pointed the
session.save_path there rather than /var/lib/php4, but that was not the
fundamental problem.
Jo
----- Original Message -----
From: "John Oakley" <oakleyje at wingonline.com>
To: "Patrick R. Michaud" <pmichaud at pobox.com>
Cc: "pmwiki" <Pmwiki-users at pmichaud.com>
Sent: Wednesday, January 05, 2005 8:20 AM
Subject: Re: [spam] Re: [Pmwiki-users] Upload not working
> Well I have session files in /var/lib/php4 with timestamps that correspond
> to the times I try the upload..
>
> Yes, it is an internal site. I can't get access to an externally available
> site on the same platform for you to check.
>
> jo
> ----- Original Message -----
> From: "Patrick R. Michaud" <pmichaud at pobox.com>
> To: "John Oakley" <oakleyje at wingonline.com>
> Cc: "pmwiki" <Pmwiki-users at pmichaud.com>
> Sent: Wednesday, January 05, 2005 7:43 AM
> Subject: [spam] Re: [Pmwiki-users] Upload not working
>
>
>> On Wed, Jan 05, 2005 at 01:02:14AM -0800, John Oakley wrote:
>>>
>>> I get an intial prompt for a password after which the Upload page
>>> is
>>> displayed, as expected. After filling in the "File to upload"
>>> and
>>> "Name attachment as" fields with valid entries, when I press Upload
>>> I
>>> am returned to the password prompt, after completing I am returned
>>> to
>>> my originating page and subsequent investigations show that the
>>> file
>>> was not uploaded.
>>
>> You shouldn't be prompted for that second password, so I suspect the
>> problem is there. Once a password is entered you shouldn't have to
>> re-enter it until you close the browser. So, it looks like sessions
>> aren't working on your Debian host. What's the value of
>> session_save_path
>> (in ?action=phpinfo)? Is that directory writable?
>>
>>> $UploadUrlFmt = "http://itwiki.dev.applera.net/uploads";
>>
>> I'm guessing that this is a purely internal development site of
>> some sort, as the above URL gives me a DNS error. Just checking. :-)
>>
>> Pm
>>
>
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 265.6.8 - Release Date: 1/3/2005
>
>
> --
> Pmwiki-users mailing list
> Pmwiki-users at pmichaud.com
> http://pmichaud.com/mailman/listinfo/pmwiki-users_pmichaud.com
>
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.8 - Release Date: 1/3/2005
More information about the pmwiki-users
mailing list