CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Help! My registration _was_ working... Blank page in IE and dojo load error in
Pages: [1]

Author Topic: Help! My registration _was_ working... Blank page in IE and dojo load error in  (Read 2078 times)

seanick

  • Guest
Help! My registration _was_ working... Blank page in IE and dojo load error in
April 10, 2008, 07:19:38 pm
So, I don't have a clue what happened -- my form seemed to be working and then, voila like a ghost, it stopped.  It _does_ work in Firefox, but not IE7 -- though if you look at the source, it does exist.  However, it's not displaying.

The URL for the form is http://depts.washington.edu/careers/civicrm/event/info?reset=1&id=5 -- anyone who can help me with this, I would really appreciate it.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Help! My registration _was_ working... Blank page in IE and dojo load error in
April 10, 2008, 09:21:35 pm

You might want to run the form through the W3C validator and see if it reports some obvious errors (i did, and it gave me some tag mismatch errors in your right column blocks)

if that still does not fix the issue, you might want to store a local copy of the file and figure out whats happening etc.

we dont run windows in our development environment, so our help will be limited

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

seanick

  • Guest
Re: Help! My registration _was_ working... Blank page in IE and dojo load error
April 11, 2008, 08:22:45 am
The only one I could see is this:

Code: [Select]
Line 46, Column 135: there is no attribute "djConfig".
…packages/dojo/dojo/dojo.js" djConfig="isDebug: false, parseOnLoad: true, useP

The rest, although valid, haven't changed in the past few weeks so, although not great, I know they work.

One thing - there wouldn't be any issues with CiviCRM and Jquery, or the JQuery_Update, would there?
« Last Edit: April 11, 2008, 09:02:26 am by seanick »

seanick

  • Guest
Re: Help! My registration _was_ working... Blank page in IE and dojo load error
April 11, 2008, 10:30:28 am
Update: 

This appears to have something to do with the /info?reset=1&id=5 page that is redirected to 1) after registration and 2) at the start of the registration process.

If cookies are cleared, I can go directly to the /register?id=5&reset=1 page and it works fine (except the final confirmation print that I posted about before).

Any further thoughts?

seanick

  • Guest
Re: Help! My registration _was_ working... Blank page in IE and dojo load error
April 15, 2008, 06:58:37 pm
This IS directly related to code in the CiviCRM head.  Upon removing these lines:
Code: [Select]
    // include the below files ONLY if needed, since they are heavy weight
    if ( arg(0) == 'civicrm' ) {
        // do not include this in contribution and profile pages
        if ( arg(1) == 'profile' ||
             ( arg(1) == 'contribute' ) && arg(2) == 'transact' ) {
            // skip, do nothing
            $config->includeDojo = 0;
        } else {
            $head .= "<style type=\"text/css\">@import url({$config->resourceBase}css/skins/aqua/theme.css);</style>\n";
            $head .= "<script type=\"text/javascript\" src=\"{$config->resourceBase}packages/dojo/dojo/dojo.js\" djConfig=\"isDebug: false, parseOnLoad: true, usePlainJson: true\" ></script>";
            $head .= "<script type=\"text/javascript\" src=\"{$config->resourceBase}packages/dojo/dojo/commonWidgets.js\"></script>";
            $head .= "<style type=\"text/css\">@import url({$config->resourceBase}packages/dojo/dijit/themes/tundra/tundra.css);</style>";
            $head .= "<script type=\"text/javascript\" src=\"{$config->resourceBase}js/calendar.js\"></script>";
            $head .= "<script type=\"text/javascript\" src=\"{$config->resourceBase}js/lang/calendar-lang.php?{$config->lcMessages}\"></script>";
            $head .= "<script type=\"text/javascript\" src=\"{$config->resourceBase}js/calendar-setup.js\"></script>";
        }
    } else {
        $config->includeDojo = 0;
    }

    return $head;
   
}

the "operation aborted" error disappeared.  The form still would not show, but the error went away.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Help! My registration _was_ working... Blank page in IE and dojo load error in
April 15, 2008, 08:32:36 pm

Can you reproduce this issue on our demo server, http://drupal.demo.civicrm.org/

if so, we can investigate and figure out what needs to be fixed. If you need to create an event to reproduce, please feel free to do so

thanx

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

seanick

  • Guest
Re: Help! My registration _was_ working... Blank page in IE and dojo load error
April 15, 2008, 08:34:35 pm
I will try, but at this point I'm scrambling to find something other than CiviCRM to use as this is for an event tomorrow.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Help! My registration _was_ working... Blank page in IE and dojo load error in

This forum was archived on 2017-11-26.