| 
      
      
      From: Chris W. <ch...@cw...> - 2002-03-05 03:56:28
      
     | 
| On Mon, 2002-03-04 at 19:26, Bernie Ledwick wrote:
> Many thanks for your prompt responses regarding my problems yesterday. The 
> new release seems to have done the trick.
Good news!
> However, I have now reached another stumbling block. The web site is up 
> (using  defaults -except see below - and template web site) and I can login 
> as the superuser and/or create a new user (using "create one" in the Login 
> box).
> 
> The "user - new" link gives me (as superuser)
> 
> Error 
> 
> Sorry, you do not have access to create a new user object. Returning to 
> listing. 
> 
> Anything that should allow me to do anything interesting, e.g. Page actions, 
> results in a "Task is Forbidden" message (as superuser). 
Interesting. What happens if you run the following query in psql:
 SELECT class, scope, scope_id, security_level 
   FROM sys_security WHERE class like '%Handler%'
Also, see what uid the superuser is:
 SELECT user_id FROM sys_user WHERE login_name = 'superuser'
It could be that the superuser doesn't have the ID that OI expects,
normally '1'. If not, you can change this in the server configuration
under the 'default_objects.superuser' key.
> The only changes I have made to the defaults are:
> 
> . 	use postgresql instead of mysql
Did you modify the various SPOPS definitions to use SPOPS::DBI::Pg
rather than SPOPS::DBI::MySQL? You should be able to accomplish this all
at once by doing:
 $ oi_manage change_spops_driver \
             --website_dir=/path/to/mysite \
             --driver=SPOPS::DBI::Pg
> .	change the Apache listener to 81/8081, because if I leave them at the 			
> default of 80/8080 httpd-perl runs, but httpd doesn't run, with errors saying 
> it can't start because port 80 is already in use.
Sounds like you've got another webserver running somewhere. This isn't a
big deal.
See how the security stuff above pans out. Hopefully one of those items
will get a hit.
Chris
-- 
Chris Winters (ch...@cw...)
Building enterprise-capable snack solutions since 1988.
 |