BerndSch
Forum Replies Created
-
@chriscooper3000
Thanks, this works also fine on my site 😉@chriscooper3000: thanks for the information. This works for me too
@rpbender:
I’ve also tried to add
define('EM_DISABLE_PERMALINKS',true);
to my wp-config.php file.But as chriscooper3000 has pointed out before – it didn’t work 🙁
So far as I debugged the code I think the error is in line 13 in the “em-events.php” file
if ( get_the_ID() == $events_page_id && $events_page_id != 0 ) {On my installation the “get_the_ID()” function always returns 1 for the event detail page. It returns 4 for the event list page, which is correct. The event page has the id 4. But why returns the function for all event detail pages the ID=1?
I have the same/similar problem. I installed EM on a newly installed wordpress instance. I didn’t installed any other plugin or theme and I didn’t edit any setting. It’s just an default wordpress installation.
The first page, where the 3 example events were listed, works fine. But If I click on the link for the event detail (http:/domain.com/?event_id=1) the example post from the wordpress installation appears.
It doesn’t matter if I click on the link for the event 1,2 or 3. WordPress always load the example post page.The wordpress installation is on a webfaction server and was created through the webfaction admin panel. So I couldn’t really tell which webserver is used on the server. But I think it’s nginx.
What settings have to be done on the server that the plugin works? I would create a new support ticket on webfaction, but I don’t know what I should tell what exactly the problem is?!