Posted: January 23, 2018 at 3:24 pm
|
I been having this issue for a while and it creates a 500 internal error, so i took a look in the error log and see the following last line. [23-Jan-2018 20:27:54 UTC] PHP Warning: getimagesize(http://boletosaqui.com/misc/boletos_logo.png): failed to open stream: no suitable wrapper could be found in /home/boletosaqui/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 504 This line says the following: $image_size = getimagesize($invoice_logo_url); * I made the change on the logo to 300 px to see if that was the cause of this issue. |
Hi there, It’s not the size of the image causing the problem, it’s your server can’t connect to itself to ‘download’ the image. Can you check with your host if allow_url_fopen is enabled on your site, if not they will need to enable that for the above to work. It is also a dependency of DOMPDF which we use to generate the PDF’s on your site. |
|
|
Thanks Tony, I found the allow_urlfopen and I set it On, also below that line is allow_url_include = Off should I set that one On too? |
No, you can leave that disabled. Did the above setting remove the notice? |
|
|
I don’t know yet, this issue wasn’t constant, every once in a while the site will show the 500 internal error. But for now it looks pretty good to me, hopefully that was the only cause. |
|
Thanks for the help! |
You’re most welcome. Please do let us know if you run into any more problems. |
|
|
Hello Tony, so just today i got this new error in the site that create the 500 Internal Error again – [27-Jan-2018 03:24:19 UTC] PHP Fatal error: Out of memory (allocated 48234496) (tried to allocate 12288 bytes) in /home/boletosaqui/public_html/wp-content/plugins/eea-multi-event-registration/EED_Multi_Event_Registration.module.php on line 1830 |
|
This error was generated twice, please help. Is not happening all the time but on the summer time the page gets more events and we need to resolve this issues now the is kind a slow season… |
That error means your site is running out of memory at around 48MB. 40MB is the default value for WordPress (your host will usuall give you a little wiggle room) and is rather low for ecommerce sites. I’d recommend upping the amount of memory available to around 96MB, you can do that by adding:
To your wp-config.php file somewhere above where is has For more info see: https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP |
|
The support post ‘500 Internal Error – About the Logo Size’ 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.