wtmann
Forum Replies Created
-
Forum: Plugins
In reply to: [Ginger - EU Cookie Law] PHP 7 errorsOK, I found the problem. With PHP7 I had to install the php-xml and php-mbstring modules (which were included in the version I had before) separately. Now all is working. Thanks.
After further analysis it seems like each time a click on the calendar to go to a link like https://adorable.belluno.it/eventi/2016-08-20/?limit it’s being redirected with a 301 Permanently Moved HTTP error and the redirection is always going to the same place: https://adorable.belluno.it/en/?page_id=3094?limit; however, I have no idea why the links are being redirected since nothing has changed as far as I know. Any suggestions as to why this might happen?
That didn’t seem to affect things one way or the other. This is wierd…
I’m no longer sure the problem is with the Events Manager because I did a test site with the same plugins activated and the Events Manager worked fine (on the test site however, I don’t have all the translated content). The problem still seems to be between Events Manager and WPML together. This because when I hover over a date on the calendar widget I see the events and I see the correct URL in the status bar. However, when I click on the date the URL is changed and it looks for English content. So I disabled all the languages except for the main one and tried again. I still don’t get my results and the plugin’s still looking for English content as you can see in the log excerpt below:
0.0.0.0 – – [17/Aug/2016:13:45:50 +0200] “GET /eventi/ HTTP/1.1” 200 20431 “https://adorable.belluno.it/” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36”
0.0.0.0 – – [17/Aug/2016:13:45:51 +0200] “GET /wp-admin/admin.php?page=stats&noheader&proxy&chart=admin-bar-hours-scale HTTP/1.1” 200 1345 “https://adorable.belluno.it/eventi/” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36”
0.0.0.0 – – [17/Aug/2016:13:45:56 +0200] “GET /eventi/2016-08-19/?limit HTTP/1.1″ 301 693 “https://adorable.belluno.it/eventi/” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36”
0.0.0.0 – – [17/Aug/2016:13:45:57 +0200] “GET /en/?page_id=3094?limit HTTP/1.1” 302 423 “https://adorable.belluno.it/eventi/” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36”
0.0.0.0 – – [17/Aug/2016:13:45:57 +0200] “GET / HTTP/1.1” 200 21582 “https://adorable.belluno.it/eventi/” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36”I’m at my wit’s end. I might have to rebuild the site from scratch…
That field is blank for no limit…
Nothing unusual about the events. I made a new site, inserted 5 events with 3 being on the same day and that day doesn’t work while the other two do. It has something to do with a day having multiple events, not the events themselves.
No, we’re using the plugin as it is. No custom code at all. Furthermore recurring events are disabled and not used.
Sorry, I was mistaken on that part: the pages are present where they should be.
Yes, I’m a full administrator. The pages are always shown in the Event Manager’s page administration but with WPML activated they don’t show up in WP’s page administration.
This might be one reason I’m getting errors because the Events page isn’t shown either and it too is shown when WPML is disabled.
If you go here and select Ago 10 (which has only one event) you’ll see it works whereas selecting Ago 11 it doesn’t…
I just noticed that with WPML disabled, I see the Event Manager pages in page administration. With WPML enabled, the page administrator show that there are pages published BUT doesn’t show any pages at all and showing the totals of the various languages as 0. I hope this helps narrow things down.
I created a new test site with only Events Manager and WPML activated and the Twenty Fifteen theme with the same results: when I click on a day that has multiple events I get the message ‘Oops! That page can’t be found.’ The page, in this case, that it’s referring to is [site]/events/2016-08-10/. If I disable WPML then the page is correctly show with the list of events for that day.
In this case the WPML plugin was just activated with it’s default configuration and there are no other languages used.
The relative versions I’m using are:
Events Manager: 5.6.5
WPML: 3.4.1
Compatibility: 1.0.1
WordPress: 4.5.3Thanks.
Forum: Plugins
In reply to: [EG-Attachments] Multiple shortcodes on a page?I found a solution to this problem. It seems like the field $this->attachments is not getting reset after showing a shortcode. I modified the eg-attachments-public.inc.php file and inserted the following
unset($this->attachments);
right before
return($output);
in the function get_attachments. Afterwards, everything functions as it’s supposed to.
Forum: Plugins
In reply to: [EG-Attachments] Tag ProblemHi,
I found the problem with the tags: that is the tags work fine. The problem is that I can’t put the shortcode twice on the same page with different tags, the plugin just repeats the first one inserted. Is this the desired functionality or is it a problem with the plugin? Having the shortcode repeated with different tags on a page allows you to have a single “Documents” page with the attachments divided by tag, such as my example above. Any ideas or comments?
Forum: Plugins
In reply to: [EG-Attachments] [Plugin: EG-Attachments] Shortcode displaying wrong dataPlease disregard my post: I found that my user had changed the title of the document to the filename. My bad!