PDA

View Full Version : Login URL problem



essnerr
08-02-2007, 11:11 PM
Background:
I installed DekiWiki (Hayes latest stable release) on a machine that it had not previously been on, with a database from another installation. The conversion seems to have gone through without any problems as all the pages seem to be intact.

Problem:
My proxy seems to be working properly as I can load random content pages already in the wiki. When I try to log in though, I am denied with the error:

Request URI: http://[USERNAME_REMOVED]:###@localhost/@api/deki//users/authenticate?dream.out.format=php&dream.in.host=[SERVER_NAME]&dream.in.origin=[IP_ADDRESS]&authprovider=1
Server response
<?xml-stylesheet type='text/xsl' href='/@api/host/resources/error.xslt'?><error><status>404</status><title>Not Found</title><message>resource not found</message><uri>http://[SERVER_NAME]/@api/deki//users/authenticate?dream.out.format=php&amp;dream.in.host=[SERVER_NAME]&amp;dream.in.origin=[IP_ADDRESS]&amp;authprovider=1</uri></error>

The first thing I noticed while looking at this error message is that the request has double slashes between 'deki' and 'users' (deki//users). If I remove the extra slash and try the same uri through the proxy, the file is found.

Where have I gone wrong?

royk
08-03-2007, 12:22 AM
from mysql:


mysql> select * from services where service_id = 1;

Does the service_uri value have an appended "/"? You can manually do an update to remove this slash, and this should fix your problem.

essnerr
08-03-2007, 06:37 PM
The URI did have a slash on the end. Removing that slash in the database does appear to have fixed my problem, as I can now log in.

Thanks!