Expression Engine Custom Error Pages
Contents |
forgot password? This is an archived forum and may no longer be relevant. The active forums are here. Advanced Search EE 2.9.0 - 404 Error iis 7 custom error pages page shows the custom error page and the homepage. Michael
Apache Custom Error Pages
Rosario Posted: 21 July 2014 07:56 AM Joined: 2008-11-0857 posts I just tried a fresh install
Custom Error Pages Htaccess
of EE 2.9.0 on a Media Temple DV account. Because of higher PHP requirements, I am running a FastCGI Application with PHP 5.3.28 --- I am
Custom Error Pages Laravel
getting the following errors on my custom 404 page: A PHP Error was encountered Severity: Warning Message: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/XXXXXXXXXXX/staging/XXXXXXX/expressionengine/controllers/ee.php:145) Filename: core/Common.php Line Number: 442 I am seeing the 404 page and the homepage, one on top of the other separated by this custom error pages mvc issue. Signature Michael Rosario Elemento, Inc. http://www.elementoinc.com Facebook: http://on.fb.me/1kOnmBB LinkedIn: http://linkd.in/1gcxbWI Twitter: http://bit.ly/1oQR7b5 Google+: http://bit.ly/1k9XTnN loopmail Posted: 06 August 2014 08:15 AM [ # 1 ] Joined: 2014-08-051 posts I've also got exactly the same problem. Was there any solution? Michael Rosario Posted: 06 August 2014 08:51 AM [ # 2 ] Joined: 2008-11-0857 posts Nothing yet. In the meantime, I'm using LibraEE to modify my error pages. Signature Michael Rosario Elemento, Inc. http://www.elementoinc.com Facebook: http://on.fb.me/1kOnmBB LinkedIn: http://linkd.in/1gcxbWI Twitter: http://bit.ly/1oQR7b5 Google+: http://bit.ly/1k9XTnN Kurt Deutscher Posted: 07 August 2014 11:49 AM [ # 3 ] Joined: 2003-01-07795 posts There is a known bug that causes the 404 content AND the index page content to be displayed together. There is a patch here: https://support.ellislab.com/bugs/detail/20471/site-index-template-is-rendered-after-the-404-template Signature Custom Designed Dynamic Websites for Mission-Driven Organizations Michael Rosario Posted: 07 August 2014 12:41 PM [ # 4 ] Joined: 2008-11-0857 posts Thanks Kurt. I'm putting the solution in place for now until the
up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have custom error pages php Meta Discuss the workings and policies of this site About Us custom error pages asp.net mvc Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with custom error pages mvc 5 us ExpressionEngine® Answers Questions Tags Users Badges Unanswered Ask Question _ ExpressionEngine® Answers is a question and answer site for administrators, end users, developers and designers for ExpressionEngine® https://ellislab.com/forums/archive/viewthread/245972 CMS. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Template 404 Redirect up vote 2 down vote favorite Do you know if it's possible to redirect to a specific 404 page when http://expressionengine.stackexchange.com/questions/19503/template-404-redirect a template group isn't found rather than just show the 404 with the incorrect url? For example, If I go to example.com/nonexistant-templategroup/ I need it to redirect to example.com/404/ rather than stay as /nonexistant-templategroup/ showing the 404 template. Cheers templates 404 redirection share|improve this question asked Feb 17 '14 at 18:35 KeironLowe 527 add a comment| 1 Answer 1 active oldest votes up vote 3 down vote accepted You can accomplish that by doing the following: Make a template group called 404.group and in that template group create an index.html template (this will be your 404 template) Set "Enable Strict URLs" to "Yes" in your Global Template Preferences For the "404 Page" setting choose "404/index" (the template you created in step 1 above), again in your Global Template Preferences In 404.gorup/index.html put the following conditional {if segment_1 != "404" OR segment_2 != ""} {redirect="404/index"} {/if} This will ensure that when a 404 is triggered and your 404 template is shown, it will be further redirected
up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about http://expressionengine.stackexchange.com/questions/11201/redirect-to-custom-error-page-after-user-fails-to-log-in hiring developers or posting ads with us ExpressionEngine® Answers Questions Tags Users Badges Unanswered Ask Question _ ExpressionEngine® Answers is a question and answer site for administrators, end users, developers and designers for ExpressionEngine® CMS. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Redirect to custom error page after user fails to log custom error in up vote 1 down vote favorite When a user tries to log in and fails because the username or password is incorrect, he is redirected to the ugly EE error page saying "The existing username and/or password you submitted are not valid". How can I redirect to a custom page (basically the same log in page with a little red error message added to it) instead? The EE user guide doesn't seem to say anything. login redirects custom error pages share|improve this question asked Jun 12 '13 at 16:20 Madc 82 Have you simply looked into updated the User Message templates? –Mark Busnelli Jr Jun 12 '13 at 17:19 Or you could look at Custom System Messages (boldminded.com/add-ons/csm) It also supports ajax so you don't need to reload the page at all –joedixon Jun 12 '13 at 17:56 I had never noticed the User Message templates (this is my first EE site), thanks for the tip! –Madc Jun 12 '13 at 18:01 add a comment| 2 Answers 2 active oldest votes up vote 1 down vote accepted @Madc Is this within an EE template? Or are you talking about logging into the control panel? If you're talking templates, you may want to use ObjectiveHTML's add-on Authenticate. Works like a charm and returns errors inline (if that's what you're looking for instead of EE's default page). share|improve this answer answered Jun 12 '13 at 18:58 Benjamin Bixby 534 Well that's a cool add-on. I was going to use the Custom System Message (devot-ee.com/add-ons/custom-system-messages) add-on but this is definitely cooler (ok, mostly because it's free), thanks –Madc Jun 13 '13 at 13:42 add a comment| up vote 0 down vote Take a look at FreeMember, which lets you display inline error messages for your login/registration templates, as well as update the user's profile details etc.