ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

404 Error on Edit Avatar page

December 19, 2011 6:52pm

Subscribe [4]
  • #1 / Dec 19, 2011 6:52pm

    farrukhny

    42 posts

    404 Error on Edit Avatar page i my server is on Nginx+apache do you have special config for this type of server?? and how can i fix it??

  • #2 / Dec 20, 2011 9:14am

    Rob Allen

    3105 posts

    Can you check to see if all the theme templates have been uploaded into the /themes folder - sounds like you may have one missing.

  • #3 / Dec 20, 2011 9:32am

    farrukhny

    42 posts

    all template are on server also Edit Avatar but for some reason it show 404 error

  • #4 / Dec 20, 2011 9:42am

    Rob Allen

    3105 posts

    Can you check that paths are correct, and permissions are correct for avatar upload folders?

    What EE version are you using?

  • #5 / Dec 20, 2011 9:47am

    farrukhny

    42 posts

    Yes path is correct and permission to it used to work under Apache server but when i move to nginx + apache 1 url dose not work member/edit_avatar

  • #6 / Dec 20, 2011 9:51am

    Rob Allen

    3105 posts

    Hmmm, it could be something to do with Nginx then, I’ll have to leave this to EE support I’m afraid :(

  • #7 / Dec 20, 2011 6:59pm

    Sean C. Smith

    3818 posts

    farrukhny,

    I did a quick search for nginx and expressionengine and found this: http://wiki.nginx.org/ExpressionEngine which directly addresses 404 errors. Have you configured nginx with that in mind?

    Sean

  • #8 / Dec 20, 2011 8:12pm

    farrukhny

    42 posts

    it does not work for me

  • #9 / Dec 22, 2011 1:31am

    John Henry Donovan

    12339 posts

    Hi farrukhny,

    What version and build of EE are you using?
    Are you using any add-ons?

    Does the same behavior happen when you goto the edit photo page?

    Does your avatar folder have writable permissions?

    Is this 404 appearing on the front-end or in the control panel?

    If front-end, are you using a htaccess and if so what do you have in it?

  • #10 / Dec 22, 2011 9:34am

    farrukhny

    42 posts

    v2.3.1 - Build: date 20111017

    yes i am using add on SEOlite and when go to edit photo page it is work i have 404 error just with edit_avatar page and it is on front-end and yes i use htaccess and i dont have rules for edit_avatar page

  • #11 / Dec 23, 2011 4:14pm

    Sean C. Smith

    3818 posts

    farrukhny,

    Could you post the contents of your .htaccess file here. It’s possible there is something that we might see.

    Sean

  • #12 / Dec 24, 2011 12:23pm

    farrukhny

    42 posts

    sure this is my htaccess

    RewriteEngine On
    RewriteBase / 
    Options -Indexes
    RewriteCond %{HTTP_HOST} !^www\.domain\.com$ [NC]
    RewriteRule ^(.*)$ <a href="http://www.domain.com/$1">http://www.domain.com/$1</a> [R=301,L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*) /index.php?/$1 [L]
    
    <IfModule mod_security.c>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </IfModule>
  • #13 / Dec 27, 2011 1:37pm

    Dan Decker

    7338 posts

    Can you explain to us how you are using nginx in conjunction with Apache? This is certainly a non-standard setup for ExpressionEngine. Since we don’t have Nginx as part of our supported server configurations, it makes it difficult to troubleshoot. Providing as much context as possible about how you are using the 2 servers together may provide us some clues.

    Thanks!

  • #14 / Dec 28, 2011 12:42am

    farrukhny

    42 posts

    ok guys

    i use Nginx for static content and apache for dynamic content all http request go to Nginx and if it dynamic like php nginx past it to apache (proxy)

    there is simple example right here: http://www.ibualoy.net/blog/itech/linux/167-how-to-configure-nginx-and-apache-on-debian

  • #15 / Dec 28, 2011 8:26am

    John Henry Donovan

    12339 posts

    Hi farrukhny,

    Here are some resources I found for you which hopefully will be successful for your particular setup. You may have come across some of them already

    http://ellislab.com/forums/viewthread/138990/
    http://www.vps.net/forum/topic/246-nginx-tips/
    http://www.gregaker.net/2011/aug/31/bust_yo_cache/
    http://www.gregaker.net/2011/may/24/path_info_on_nginx/

    Let us know if any of them are are helpful

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases