Posted: October 6, 2016 at 12:21 pm
|
Hi – I checked with my hosting company and PHP being run on the server is 5.6 but EE is saying that it is 5.4.43. I am experiencing a number of bugs (ical not working, calendar needing to be refreshed on browser before appearing, mobile calendar text not appearing etc) and I wonder if one of the core issues stems from this. Would really appreciate some assistance in how to fix this and other bugs. |
The bugs you’re seeing are more than likely the result of another plugin conflicting or a theme conflict. You can verify the actual PHP version that’s running right now on your site by installing this plugin: |
|
Hi there, Can you go to Event Espresso -> Maintenance -> System Information Search for php_version on that page, you will likelt find 2 instances, what version number is reported there?
We need further details to help with this, but its unlikely caused by the php version.
What happens with the ical? Can you link us to one of the events where this isn’t working please.
We will need to view this too.
The calendar does not display text on mobile devices by default, you should see a ‘flag’ indicated an event is on that day. I’ll take a look as this with the above. |
|
|
PHP version is showing as [php_version] => 5.6.24 Here is the link for iCal: clicking on the cal button gives the error on this page: Here is an example of the calendar to view on mobile. The event text is not appearing and all you see is a grey box for each event: if there is a way to show the text in mobile, please let me know. |
Hello, I followed the link that you shared and I was able to download the iCal files: Are you still having trouble downloading them when clicking on the calendar icon? — |
|
It is a persistent notice meaning it remains until dismissed. So if the PHP version was lower when EE was first activated it would trigger the notice, even after PHP had been updated it will remain shown until you click to dismiss.
Can you check with your host to see if the request is hitting a mod_sec rule they have set on the server, I’ve seen this happen previously with another host and it turned out to be an issue with their mod_sec rules.
The event title is hidden on smaller screens, take a look here: https://eventespresso.com/topic/mobile-issue-no-text-when-viewing-in-mobile-devices/ There is CSS shown within that thread that will enable the event title but you likely find the text will need to be really small to fit in the elements. You could change the background colour of the eventson smaller screens, would that work? |
|
|
Hi Lorenzo – The ical doesn’t work on Chrome or Firefox (mac). It did work on safari. Hi Tony – is there a way to show a different version of the calendar on small screens? To show maybe the event list instead? thanks! |
|
Hi Lorenzo and Tony – any news on the two issues remaining? |
Hello, Were you able to check into this suggestion by Tony?
— |
|
|
Hi Lorenzo I spoke with the host and the tech said he doesn’t see any blacklist related to the plugin in the mod_sec rules. He called in a supervisor and they were unable to see anything in the system that would allow one browser to work and others not to work. thanks |
What you’ve reported here is very similar to what was reported in this stack exchange thread: http://stackoverflow.com/questions/14167090/cant-download-generated-ics-file-in-chrome-or-firefox Can you check with your host to see if any of the http headers are removed (this may happen if the site is served by a proxy), and if zlib.output_compression is disabled? |
|
|
Hi Josh the tech says cache is off and there no compression, he also says he sees the http headers appearing with no interruption. he had me turn off all of the other plugins on the site and the error still appears. i am using a sub-folder version of wordpress (everything is in a sub called WP/) if that is an issue. i do have security where i can whitelist 404 files (through ithemes security). would that help? if so, what would i put here? |
It might help if you remove the iThemes security added .htaccess file rules if you’re using that plugin. Its rules will still apply even if the plugin is deactivated. |
|
|
do you mean to uncheck write access to .htaccess or to deactivate ithemes altogether? i tried both and it still doesn’t work. |
I mean neither. Unchecking write access to .htaccess, when it’s already written to the .htaccess, will do nothing. Deactivating iThemes security, when it’s already written to the .htaccess, will not fix the issue if the problem is being caused by something in the .htaccess. What will fix the problem (if caused by something in the .htaccess) will be removing the extra stuff that was put into the .htaccess file. Does that make sense? |
|
|
this is the code that is in the .htaccess file (btw i need the last three rewrite lines because the wp site is hidden while being developed…) # Use PHPBETA Single php.ini as default # BEGIN W3TC Browser Cache # END WordPress RewriteEngine On |
You could try removing the W3TC Browser cache rules (or go into the W3TC plugin settings and disable the Browser cache feature, then double check to make sure the browser cache rules get removed). Then try the ical link again. |
|
|
I had the hosting company clear the cache yesterday and it still didn’t work. i don’t have any cache plugins on the wp site – we did it from the host panel. and i just did it again now – problem still persists. also – the same issue is happening if someone pays by invoice and wants to download their invoice… |
Since you don’t have any caching plugins on your WP site, then you will need to remove these rules from the .htaccess file:
|
|
|
k i did that, i cleared cache from the host server, waited a bit and it still isn’t working… |
Maybe you can try suggestion from the Stack Exchange thread. You edit the /wp-content/plugins/event-espresso-core-reg/modules/ical/EED_Ical.module.php
Then you save the file. |
|
|
that worked!!!! so for the invoice, after i go to register and i click to view the invoice and want to download – can you tell me which file i should edit with that same code? |
I really can’t, but now that we know that sending the 200 response code helps, you can check with your host to see if something on your server is sending a 404 response code, or even check to see if that’s being caused by another plugin. |
|
|
the tech says he doesn’t see anything that would send a 404 response. there also doesn’t seem the be any conflict with plug-ins. not being able to download the pdf invoice is the same issue as the ical – it works on safari, but not on chrome or firefox. this is the invoice generated and clicking download, goes to this page with this error The webpage at http://www.lakeburienpt.com/wp/?ee=msg_url_trigger&snd_msgr=pdf&gen_msgr=html&message_type=receipt&context=purchaser&token=1-ed9ba8bf993e41e598b003b43bcae370&GRP_ID=13&id=0 might be temporarily down or it may have moved permanently to a new web address. |
The error when I try to download the PDF is slightly different than the error when the ical didn’t download. Can you share this stack exchange answer with your host’s support tech? |
|
|
I was on with the host for quite a bit and he didn’t see any logs that mod_sec was flagging. I sent him the stackoverflow link – they are not sure what the issue is, but they aren’t seeing anything on the server (and we were on for about an hour…) they turned off and on the plugins from the server as well and those are definitely not causing conflicts either. |
|
Also – the tech suggested some other PDF generating plugins – not sure if that is feasible or not. Google Doc Embedder or Gravity Forms… |
Your server techs should know how to find the logs. Once they find the logs they should be able to troubleshoot. |
|
|
They did look at the logs – they could not find any errors |
So when you try to download the PDF, there’s a 404 response being sent, that’s not getting logged anywhere? One thing they could check to see if there are any custom MIME types (or maybe the PDF MIME needs to be set for this server). Bluehost has a guide for this: |
|
|
k i checked and there is already a MIME type for PDF – it is part of the system – application/pdf |
You might also consider moving the site to another host since we’ve not seen these issues happen with other hosts. |
|
|
unfortunately, i cannot change hosts at this time. i will hide that feature for now and hope we won’t need it. |
In case you needed help with how to remove the download PDF button, all you would do is remove the |
|
|
k i will do that for sure! |
The support post ‘EE thinks PHP installed is lower than required’ 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.