Support

Home Forums Event Espresso Premium Registration Page CSS Not Being Applied

Registration Page CSS Not Being Applied

Posted: March 28, 2019 at 5:58 pm


Mike Doughty

March 28, 2019 at 5:58 pm

Hi,

We are using EE4.

When an event and ticket is selected and the contact selects to go the registration page the CSS is not being applied to the page.

Can you let me know what would be causing this, and how to fix it.

https://www.useloom.com/share/aa5da087b4804bd8a9733a9247686a21

Thanks, Mike


Josh

  • Support Staff

March 29, 2019 at 7:01 am

Hi Mike,

I checked the page in question and checked its source and found the start of some custom JavaScript just before the page generation was halted. Here’s the start of that script:

 
 attendee_details = {
  infId: "[i4w_infusion_id]",
  contact: "ERROR: 5 - [RecordNotFound]Record was not found",
  fname: "E",
  lname: "E",
  email: "E",
  withCompany:

My guess is there’s some custom code PHP that’s used there to generate the output and it’s throwing a fatal error. So the remainder of the page isn’t allowed to load.

The first thing to check is the PHP error log, or set up WP_DEBUG to log the error. You could also check any custom code that was added recently.


Mike Doughty

March 31, 2019 at 1:55 pm

Hi,

How do I find where to edit the script? I’ve looked at the checkout page and it just as the normal event espresso shortcode on it.

So the script is being loaded in another way.

Where would I find where this is being loaded?

Thanks Mike


Tony

  • Support Staff

April 1, 2019 at 5:20 am

Hi Mike,

The script could have been added anywhere on your site, usually within functions.php or within a plugin used to hold custom functions but the name of which could be anything.

If there is a fatal error being thrown on the page the error will usually include the location and line number of where that error is from. So I’d recommend enabling WP_Debug using the code in the link Josh provided (which logs errors to /wp-content/debug.log), throw the error again and then check the log for a location.

I’ve just tried looking at this myself but when loading the same single event from your video I see [AW_TEO_SINGLE_EVENT], that’s a custom shortcode and the code that’s adding that shortcode may also add the code Josh mentioned, but we can’t know for sure as its not our code.


Mike Doughty

April 1, 2019 at 3:39 pm

This reply has been marked as private.


Tony

  • Support Staff

April 2, 2019 at 4:31 am

Currently your live-courses page wont load for me and shows:

Attention: The internal data of table “6” is corrupted!

I’m guessing your working on it but noting all the same.

Depending on where the table is pulling the link from your could try setting the ‘Alternative registration URL’ to your other URL within the Event and see if the table pulls the link. If it’s the Event Table (can’t confirm because of the above) it should do.

The support post ‘Registration Page CSS Not Being Applied’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Tony 2 weeks, 2 days ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!