[dev] jonah update error

Scott A. Sibert ehorde@hollins.edu
Fri, 16 Nov 2001 10:50:43 -0500


Hi Jan.

Thanks for your reply.  I thought there were two ways to update Jonah 
information, one as the web server user (which requires write access to 
the data files) and one as the local root (which would not require the 
web server user to have write access).

update.sh has a web browser (lynx) calling backend.php, but not calling 
cli-backend.php.  I figured that cli-backend.php meant it was a 
command-line-interface to backend.php.

Am I completely confused?
--Scott

Jan Schneider wrote:

>Zitat von "Scott A. Sibert" <ehorde@hollins.edu>:
>
>>I'm trying to run "php ./cli-backend.php" and it comes back with a huge
>>
>>HTML dump, the top of which has an error 401 Unauthorized.
>>
>>I'm sure it is just a configuration error somewhere but I'm not sure 
>>where to look.  In jonah/config/conf.php under [admin][ips] I've put 
>>('127.0.0.1','the.mach.ip.addr') and it still gives me the error.  I'd 
>>rather run the cli-backend.php rather than update.sh because lynx (or 
>>something) seems to timeout if the update takes more than five minutes.
>>
>> I figured directly running the script would avoid that problem.
>>
>>I have authpw = yes, a username, password and authip = yes.  This is 
>>with around 2pm yesterday's updates from CVS for everything.  I haven't
>>
>>been able to run the cli-backend.php ever, so I don't think this is a 
>>code version problem.
>>
>
>This can't work. If you enable authentication by username/password and/or 
>ip you must use a browser to call cli-backend.php. Where else shoud it get 
>the necessary header informations from?
>If you disable authentication it may work.
>
>Jan.
>
>::::::::::::::::::::::::::::::::::::::::
>AMMMa AG - discover your knowledge
>:::::::::::::::::::::::::::
>Detmolder Str. 25-33 :: D-33604 Bielefeld
>fon +49.521.96878-0 :: fax  +49.521.96878-20
>http://www.ammma.de
>::::::::::::::::::::::::::::::::::::::::::::::
>