Support

Home Forums Event Espresso Premium Error Registration CSV Report and users Registration Reciept view- PHP Warning:

Error Registration CSV Report and users Registration Reciept view- PHP Warning:

Posted: August 14, 2018 at 2:15 pm

Viewing 16 reply threads


TBWA-Web

August 14, 2018 at 2:15 pm

We can’t export a csv report, filtered on regular, for registration. It blanks the page and returns this message: PHP Warning: Cannot modify header information – headers already sent by (output started at D:\home\***.com\wwwroot\wp-includes\script-loader.php:1554) in D:\home\***.com\wwwroot\wp-includes\pluggable.php on line 1219

We also sometimes get a PHP error code after a user successfully registers and tries to view the .pdf copy of their registration receipt:
PHP Warning: A non-numeric value encountered in D:\home\***.com\subdomains\staging\wp-content\plugins\event-espresso-core-reg\core\third_party_libs\dompdf\include\page_frame_decorator.cls.php on line 439

I have boosted our servers PHP ini settings to max allowed (512mb). We have no way of changing the outsource mode, as you suggested to someone with a similar problem.

Registration starts tomorrow and we would love to have this working smoothly before the rush hits.
Thanks,
HK

(url changed to *** for display purposes)


Josh

  • Support Staff

August 14, 2018 at 2:42 pm

Hi HK,

We received your request for priority support, but it seems the site you sent access for has no registrations. Were those removed?


TBWA-Web

August 14, 2018 at 3:24 pm

We found these issue on our testing site: staging.***.com
I can supply the log-in for that so you can see the testing registrations.

Any fixes to the system will need to be applied to the live site, though.
Thanks.


Josh

  • Support Staff

August 14, 2018 at 3:37 pm

OK, that is good to know.

The CSV report tool is switched over to use the older CSV report class, so you’ll be able to do reports now. Your server isn’t allowing temporary files to be written to /wp-content/uploads/espresso/batch_temp_folder. If the server can be configured to allow WordPress to write to that file, we can switch it back to use the newer CSV report class.

The PDF issue appears to be related to using a Windows server. I can try removing the CSS that gets applied to the Receipt to see if that will help. If it doesn’t, then we’ll probably need to disable PDF generation for now.


TBWA-Web

August 14, 2018 at 3:41 pm

Yes, that worked great! Thanks.

Most of our site users won’t even access the .pdf so it will be fine to remove that feature. Please go ahead with that.


Josh

  • Support Staff

August 14, 2018 at 3:59 pm

OK the PDF setting is turned off, so no PDF button will display in the Receipts going forward.


TBWA-Web

August 14, 2018 at 4:03 pm

Excellent! It sounds like we’ll have to move the site to a new, modern webhosting service – but not GoDaddy – to get the newer capabilities EE offers.

Thanks for your help with this. Could you point me to tuts on styling the cart result modal and the button on the cart page that keeps taking our testers to the ***.com/events page? I’ve tried overriding that in the templates but it doesn’t work. We need to reduce confusion when the modal pops up.
Thanks.


Josh

  • Support Staff

August 14, 2018 at 4:06 pm

I’m afraid we do not have a tutorial on styling the cart result modal, but if you can outline exactly what you’re trying to change, what you’ve already tried, and what you mean by “doesn’t work” we can point you in the right direction.


TBWA-Web

August 14, 2018 at 4:23 pm

I found code from another support post that let me take the previous or go back button (the one that takes users to the confusing list of events page) so I’m happy with that.

My bigger burning issue is styling the registration check out. The fields aren’t in line with the name of the field and the radio buttons are as big as nipples.
https://staging.texasbasketweavers.com/wp-content/uploads/2018/08/Registration-check-out-is-HUGE.png

The whole flow of the checkout is huge. I’ve tried code snippets from 2 support posters but they haven’t worked:
/*Style EE registration form*/

#ee-single-page-checkout-dv input {
text-align: right;
margin-right: 5px;
font-weight: bold;
display: inline;
}
.event_questions label {
width: 125px;
text-align: right;
float: left;
margin-right: 5px;
font-weight: bold;
}
.event_questions label em {
color: red;
font-weight: bold;
}
input[type=”text”] {
margin-right: 5px;
display: inline;
}
.error {
color: red;
font-weight: normal !important;
}


Josh

  • Support Staff

August 14, 2018 at 4:28 pm

That looks like the Avada theme’s styles causing the form styling issues. If you temporarily switch to another theme do the form styles look better?


TBWA-Web

August 14, 2018 at 4:30 pm

Let me try that. I’ll get right back to you.


TBWA-Web

August 14, 2018 at 4:35 pm

Better in WP 2017 but still large radio buttons and fields and it’s now squished.
https://staging.texasbasketweavers.com/wp-content/uploads/2018/08/Check-out-still-oversized-but-now-squished.jpg


Josh

  • Support Staff

August 14, 2018 at 8:46 pm

OK I found it, it’s the custom CSS that’s changing the sizes of the radio buttons & fields:

https://slack-files.com/T02SY781D-FC8718U81-280e76790b

Are you able to remove the part of the custom CSS that adds this rule?

/*EE Spacing of Question during registration checkout*/
.ee-reg-qstn{
 min-width: 450px;
 min-height: 125px;
}

basically the above rule is forcing the inputs to be at least 125px in height by 450px wide.


TBWA-Web

August 14, 2018 at 9:59 pm

Wow!Thanks for digging for that nugget. I’ll see if I can remove it. I’ll get right back to you.


TBWA-Web

August 14, 2018 at 10:20 pm

I couldn’t find where that snippet was kept so I added this to my Avada css customizer and we have happy results:
/*Resize Registration Checkout Questions*/
.ee-reg-qstn{
min-width: 200px;
min-height: 30px;
}

It would be great to get a little more space between the alternate class questions but this is far, far better than before you found the snippet. I’ll dig a little more to see if I can get that tweaked.

Thanks so much for sticking with us and for all of your help!
HK


Josh

  • Support Staff

August 15, 2018 at 9:05 am

It will look much better to set .ee-reg-qstn’s height and width to auto:

.ee-reg-qstn {
min-height: auto;
min-width: auto;
}

Then, you can get a little more space by setting margins & line-heights with:

.ee-radio-button-input-dv .ee-radio-label-after,
.ee-radio-button-input-dv > div {
margin: 10px auto;
}
.ee-radio-button-input-dv .ee-radio-label-after {
line-height: 20px
}


TBWA-Web

August 15, 2018 at 10:34 am

Thank you very, very much! I plugged that bit of poetry into the css customizer and we are quite pleased.

Our registration is going very well and the EE system is working great.
Thanks for your amazing help!
HK

Viewing 16 reply threads

The support post ‘Error Registration CSV Report and users Registration Reciept view- PHP Warning:’ 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.

Event Espresso