ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

This XML Does Not Appear...

April 23, 2011 9:14am

Subscribe [4]
  • #1 / Apr 23, 2011 9:14am

    daczac

    32 posts

    Hi There,

    Wondering if you could help me with this. I’m setting up a login page. When I hit the “submit” button to login, it takes me to this page:
    http://seafoamcampground.com/index.php/home/banner_xml

    And it says the following: “This XML file does not appear to have any style information associated with it. The document tree is shown below.”
    The login works but it always goes to this warning page first. What could be in my login page that would cause this?

    Thanks,
    dave

  • #2 / Apr 23, 2011 9:57am

    giusi

    94 posts

    The Login Form Tag has a return parameter where you can define where the user will be returned after successfully logging in.

    Have you defined this parameter? If so which value you assigned to it?

  • #3 / Apr 23, 2011 10:13am

    daczac

    32 posts

    Thanks for your reply,

    I’m actually using this form:

    <!-- Template: Login Form -->
    <form id="member_login_form" method="post" action="http://seafoamcampground.com/index.php"  >
    <div class='hiddenFields'>
    <input type="hidden" name="XID" value="9aa6c6528f832968143b2399a65c3571689abedf" />
    <input type="hidden" name="ACT" value="10" />
    <input type="hidden" name="RET" value="-2" />
    <input type="hidden" name="FROM" value="" />
    <input type="hidden" name="site_id" value="1" /></div>
  • #4 / Apr 23, 2011 10:37am

    giusi

    94 posts

    Is this code generated by the Login Form Tag or are you using hard coded html?
    The action attribute seems correct. If I try to visit the xml page I get a blank page with some xml inside (I guess it’s for the flash gallery on your site).

    Edit: i see now that xml file is for the header background and not for the gallery

    Which flash gallery solution are you using?

  • #5 / Apr 23, 2011 10:47am

    daczac

    32 posts

    This code was generated by the Login Form Tag in the sample provided by EE. So what I did is copied it out and placed it into a hard coded html… kind of unorthodox way to do it, I know, but I’m just learning EE and I’m under pressure to get this site completed for my client. Any suggestions would be most helpful. I tried using the simple login form tag hwich you linked to already) but I got a message saying “you are not authorized to post in this channel”. This shouldn’t be as I’m super admin. I’m a bit confused why this would be.

    I’m using a simple flash file that calls an xml file for the images to my banner on the top of my page.

    Thanks again…

  • #6 / Apr 23, 2011 10:57am

    giusi

    94 posts

    Could you try to create a member group (and a member that belong to the group) with the right posting permission for that channel and logging with the standard simple login form?

    I would try this first, because there is no reason the simple login shouldn’t work or give you access if the permissions are right (also, you risk to get the hard coded form working then meet the “you are not authorized to post in this channel” messagge again.)

  • #7 / Apr 23, 2011 11:30am

    daczac

    32 posts

    I’ve created the group and member in the group but still giving me the:
    “you are not authorized to post in this channel”

    I simply pasted the code and added a return path, that’s all I did to the login form tag. Is there other parameters within this tag that I need to set?

    Thanks…

  • #8 / Apr 23, 2011 12:10pm

    giusi

    94 posts

    In the Edit Group page of the new group,  in Channel Assigment have you set the “Can post and edit entries in (channels name)”: to yes ?

  • #9 / Apr 23, 2011 12:17pm

    daczac

    32 posts

    Yes… all channel permissions are given (all are set to “yes”) for this member. I’m even trying to login as SuperAdmin and it still gives me that error message. How could this be??

  • #10 / Apr 23, 2011 12:24pm

    giusi

    94 posts

    I don’t understand why you have a “you are not authorized to post in this channel” error while trying to loggin in. Usually it would be a “You are not authorized to perform this action”.

    Could you paste a larger part of the template you are working on? Maybe the simple form is improperly nested?

  • #11 / Apr 23, 2011 12:35pm

    giusi

    94 posts

    I don’t know if this can cause problems because it has never happened to me, but I accidentally discovered that the default theme is still active on your site http://seafoamcampground.com/index.php/news/archives/C2 , http://seafoamcampground.com/index.php/site

  • #12 / Apr 23, 2011 12:49pm

    daczac

    32 posts

    You maybe on to something here. What’s the best way to disable or change default theme? In the back-end there are two “Member Profile Templates”, one is “Agile records” the other is “default”. Both are not writable.

  • #13 / Apr 23, 2011 1:03pm

    giusi

    94 posts

    I was not talking about the member profiles themes but the default site (Agile Records) you can optionally install with ExpressionEngin. You can find it in the template manager. With the default site also the agile record member templates are installed. You can try to change to default theme from agile records theme in Membership Preferences General Configuration (Members > Preferences)

  • #14 / Apr 23, 2011 1:11pm

    daczac

    32 posts

    Ok… you can set this for your member groups but what about Super Admin?

  • #15 / Apr 23, 2011 1:36pm

    giusi

    94 posts

    As I said before I would try to get it working with another user than super admin, maybe you can use the member in the group you have created before.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases