Some Joomla administration links give "Component not found" with nginx
Hi
I am trying to host a Joomla! site using nginx and FastCGI. It works, for the most part, except for one thing (which is actually more of an annoyance): when in the administrator section of the site, whenever editing a component that you have to click Save or Cancel or any other buttons of finalization (e.g. copying a menu, saving an article, etc.), the action takes effect, but instead of being redirected back to the list of items (or whatever), I get a "Component not found" error. The problem, upon observation of the URL, is obvious: the "administrator/" part of the URL had been dropped. In other words, what was supposed to be "http://xxx.xxx.xxx.xxx/administrator/index.php?various_args" is now "http://xxx.xxx.xxx.xxx/index.php?various_args". Below is the nginx config for my site. Code:
server { Code:
fastcgi_param QUERY_STRING $query_string; Thanks, Syd |
solution.
do you have a solution for this..
i am having the same kind of problem right? Thanks! |
Just for the record if anyone has the same issue.
I had the same problem, Joomla uses $_SERVER['PHP_SELF'] and $_SERVER['SCRIPT_NAME'] to retrieve the path to files. If you commented out the following line in /etc/nginx/fastcgi_params then you have to uncomment it: Code:
fastcgi_param SCRIPT_NAME $fastcgi_script_name; |
For info it's the same problem I have discussed on the nginx forums:
http://forum.nginx.org/read.php?11,10324 |
All times are GMT -5. The time now is 03:38 AM. |