I changed my domain from .com to .org after migrating my site to a new web host. And I'm using aMember 4.2.14.3b7 with WordPress. My aMember installation is in a folder titled "members" When I log into my aMember admin area, I only see a text version of the interface, no CSS and no Javascript are loading. When I examine the page source, I see that the .js and .css files are being referenced by this path: http://website.org/members/index.php/application/default/views/public/... When I check this path, I get a 401 error. It appears that the "index.php" in the middle of the path is breaking it. The css and js files are located on this path: http://website.org/members/application/default/views/public/... I can't find where to fix this problem.
What do you have in aMember CP -> Setup -> Global -> License & Root urls -> Root url & secure Root URL? Also do you have .htaccess file inside members folder? Please show it contents
Root URL is: http://website.org/members Secure URL is the same. No SSL certificate yet. Code: # Sample Nginx rules configuration: # aMember rules (replace /amember to actual aMember Pro path from site root) # # location ~* ^/amember/.*\.(js|ico|gif|jpg|png|css|swf|csv)$ {} # location ~* ^/amember/setup/index.php$ { try_files not-existing-file @php; } # location ~* ^/amember/js.php { try_files not-exiting-file @php; } # location ~* ^/amember/index.php$ { try_files not-existing-file @php; } # location ~* ^/amember/public.php$ { try_files not-existing-file @php; } # # location ~* ^/amember/public { rewrite ^.*$ /amember/public.php; } # location ~* ^/amember/setup { rewrite ^.*$ /amember/setup/index.php; } # location ~* ^/amember { rewrite ^.*$ /amember/index.php; } # # you must already have something like that in your nginx configuration: # # location ~ \.php$ { # try_files not-existing-file @php; # } # location @php { # fastcgi_pass 127.0.0.1:9000; # include fastcgi_params; # } # # it is necessary to have @php section, as it is referred by aMember rules, and # it must be located at bottom # # <IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^public public.php [L] RewriteRule ^js.php js.php [L] RewriteRule !\.(js|ico|gif|jpg|png|css|swf|csv|html)$ index.php </IfModule> <IfModule mod_php5.c> # php_flag magic_quotes_gpc off </IfModule>
Try to add this line to htaccess: If this doesn't help, please contact us in helpdesk and provide access info.