Posted: February 26, 2019 at 9:32 am
|
This is my first event creation. I created the questions, the tickets and customized the event page. After publishing I got the view page link, if I click on that or the link for the event, I get a page can not be found. As a newbie what might I be missing? – Thanks |
Hi there, Go to Dashboard -> Settings -> Permalinks. What is it currently set to? After opening the about setting page (you don’t need to do anything on the page), retry the link for your event, does it work then? |
|
|
Thanks for the quick response.. |
So this is your event? https://dev.setrac.org/events/symposium/ That’s no longer giving a 404 page not found, but there is an error being thrown on that page currently. If you check the servers error logs can you see any ‘fatal error’ entries there? Your host will usually have a section on the control panel that allows you to view any errors being thrown on the site. |
|
|
Tony, I did not see any FATAL errors in plesk logs. The only error I saw was The image at https://dev.setrac.org/wp-content/uploads/2017/09/SETRAC-Logo.png is not readable. Yet I am able to pull up that image. It is also the image I used in Event Espresso for the new logo. Any other suggestions of where to look specifically ? Thanks for you help |
Ok, add the code shown here: https://eventespresso.com/wiki/troubleshooting-checklist/#wpdebug to your Are you aware you’re using a Windows server? Whilst some people do install and use WordPress on a Windows Server, its usually not a joyful experience for those users and I would highly recommend migrating the site to a linux stack. |
|
|
OK I added the code to the end of the wp-config.php file. |
How far at the end is at the end? (I know, sorry) It should be before this comment: But definitely before this:
Like so: https://monosnap.com/file/qgsn1vmf8jrpXbPY8rM4e3U1bSKYxq Or, because this is a dev/staging site (it is, right?) you could just use: |
|
|
This reply has been marked as private. |
|
This reply has been marked as private. |
The first one wouldn’t have worked, the second one is close, but you can only define something once so where it has:
Remove that. Also, although you marked those replies private, those files contain a lot of information you don’t want to make public, I’d advise against posting all of that info anywhere online so I’ve removed it from the above posts as they aren’t needed for the above. |
|
|
Good morning, must say EXCELLENT SUPPORT. Thanks. Yes it is a dev / test page if it would be easier to trouble shoot and have the debug displayed on the page let me know what I need to do, is it replace the last two lines with define(‘WP_DEBUG’, false); ? Short skinny change: * For information on other constants that can be used for debugging, |
|
This reply has been marked as private. |
Hmm, ok, with the above, errors should be logged but they don’t appear to be. Quick explanation:
Tells WordPress to enable DEBUG mode, which basically means it tells your server to display all notices/warnings/errors on the page, you don’t want that set to true on a production site buts it is really useful on dev to see what errors are being thrown.
Says, if WP_DEBUG is enabled (set to true), then… Don’t display errors at all – Log the errors – Just to be double sure, use the WordPress constant to tell WordPress to tell the server, not to display errors – Now, if your site can’t create the debug.log itself, the above doesn’t work, nothing breaks it just doesn’t log the errors, being a windows server, its common for it not to have the correct permissions so this may be why I can’t view the log. This is what I would do next:
The site might ‘blow up’ with this change, in that if errors/warnings/notices etc are being thrown the site will look a mess whilst the above is acitve, it doesn’t break anything and once you change it back they will be hidden again (they are still thrown even now, they just aren’t displayed). Once that’s done, let me know and I’ll check again. |
|
|
Made changes to : // Enable WP_DEBUG mode Correct the site is now “the site can not be reached” |
That’s actually not what I meant by the site blowing up and shouldn’t happen, theres a few possible reasons for that error: https://stackoverflow.com/questions/14039804/error-330-neterr-content-decoding-failed Problem is we are not getting into server config and I have very little experience with Windows server. If you set WP_DEBUG back to false the site should show once again. |
|
|
Tony, from the logs that I posted for you (dropdown-multisite-selector, ewww-image-optimizer, popup-builder, and wp-bitly) were showing problems (not within the allowed path) I deactivated all those plug ins and the event page is now displaying. I activated each one and was unable to determine which one was the root cause. After re-activating all the plug ins the event is still displaying. Thank you so much for your help! |
I’m glad its up and running, but that’s a little annoying as we now just don’t know the cause. For whatever reason (although I’m not surprised) your logs reply was flagged as spam, so I’m only just seeing that now. The errors you’re getting all link to Which means you host is set up to only allow specific directories to run PHP, so its likely that as soon as anything tries to pull a file outside of that directory, things are going blow up again and stop working. I’d recommend you contact your host and have them slacken off the above restriction a little so that plugins can access their own code at least. |
|
The support post ‘Page not found after event published’ 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.