Problems setting up example server (newbie)

A.Little A.Little at open.ac.uk
Tue Nov 27 12:50:57 PST 2007


Cheers Jonathan, yes that definitely helps ;-)

I'll switch to the 2.x release - I'd not used that to start with as it wasn't stable release, but sounds like the way to go.

Alex


-----Original Message-----
From: dev-bounces at lists.openidenabled.com on behalf of Jonathan Daugherty
Sent: Tue 27/11/2007 18:23
To: discuss OpenID libraries and development
Subject: Re: Problems setting up example server (newbie)
 
> I've been following the (server/: OpenID Example Server) instructions in http://<myserver>/php-openid-1.2.3/examples/README and have created a config.php file. However when I then visit http://<myserver>/php-openid-1.2.3/examples/server/server.php all I see if the config.php dumped out, followed by the message "This server needs to be configured before it can be used. Edit config.php to reflect your server's setup, then load this page again." - but I've already setup config.php.

You figured out what was going on, but that bug has been fixed in the
2.x.x series for quite some time.  I strongly encourage you to use the
2.x.x release instead; the 1.x.x series is only being updated when we
discover security problems.  As soon as we release a stable 2.x.x
library, the 1.x.x library is going away.

> Something else I'm unsure about... if I were to use a mysql database, where/how do the tables etc get setup - or do I need to create my own tables and then do some additional configuration?

The tables will be created for you.  The generated config.php calls
the createTables() method on the store object.  If you're using a
database-backed store in your own application code, just be sure to
call createTables() on it to get the tables set up.

Hope that helps,

-- 
  Jonathan Daugherty

_______________________________________________
Dev mailing list
Dev at lists.openidenabled.com
http://lists.openidenabled.com/mailman/listinfo/dev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 3708 bytes
Desc: not available
Url : http://lists.openidenabled.com/pipermail/dev/attachments/20071127/04695168/attachment.bin 


More information about the Dev mailing list