Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-09-16 12:02:54

squidink
New Member
Registered: 2008-09-14
Posts: 5

Always defaulting to admin, no user mode

I installed it on my test bed localhost
works fine
admin OK, may create and publish
however if I logout it still shows me the admin login page
what should I do to see what a regular user should see
it seems correct to point to http://www.localhost/textpattern/
but again it only goes to admin
thanks

Offline

#2 2008-09-16 12:29:21

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: Always defaulting to admin, no user mode

however if I logout it still shows me the admin login page

That’s quite OK.

Do you mean the “view site” tab appears broken for you?


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#3 2008-09-16 12:37:21

squidink
New Member
Registered: 2008-09-14
Posts: 5

Re: Always defaulting to admin, no user mode

Thanks, it is not broken but leads also to admin.

so if I am a simple user, without any admin power, how do I view the site content
as a user entering simply the site url ending by /textpattern/ should be suffucient or do I miss the whole concept?

Offline

#4 2008-09-16 13:12:43

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: Always defaulting to admin, no user mode

squidink

Firstly, welcome to the txp-forum and hope you like txp.

Ok, to view the site as a regular visitor; don’t type the /textpattern/ part. You just want the base url. For example, you want to type…

http:/my.local.urlnothttp:/my.local.url/textpattern/ …or… http:/my.local.url/textpattern

http:/my.local.url/textpattern/ …is the admin face of your site.
http:/my.local.url …is the user face of your site.

However, if clicking on the “View Site” tab on the admin login page either does nothing or leaves you back at the same page then something probably wasn’t done right during your install.

If that’s the case then…

  1. login to your site’s admin interface,
  2. navigate to Admin > Preferences > Diagnostics
  3. make sure Javascript is enabled in your browser
  4. look for the “detail” control below the textarea and set the diagnostic level to “high”
  5. copy the content of the resulting textarea into a new post here using the bc.. textile command like this…
bc.. <paste your diagnositc results here>

 p. Here are my diagnostics.

Adding the blank line and then the p. line after pasting your results are needed to get a good looking post here.

Hope that helps!

Last edited by net-carver (2008-09-16 13:53:51)


Steve

Offline

#5 2008-09-16 13:38:33

squidink
New Member
Registered: 2008-09-14
Posts: 5

Re: Always defaulting to admin, no user mode

Hi net_carver, thanks for the warm welcome,

And again thank you for the help details
the debug mode in “high” did it: I had a wrong path
which I figured out due to your explanation about admin and user access.

Yes, I like it, I am presently reviewing the script to figure how I can “Skin” it to my needs
and mostly how I may use it as a CMS base and seemlessly includes a cart and other already developped applications

best regards.
<edit>Typo</edit>

Last edited by squidink (2008-09-16 13:40:32)

Offline

#6 2008-09-16 13:56:26

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: Always defaulting to admin, no user mode

squidink

Ok. Happy explorations.


Steve

Offline

Board footer

Powered by FluxBB