I had a fully working CMSMS 0.13 installed in another server. Then I moved it to another domain and another server by copying all the files and database content. I changed all the config information and everything else works fine but redirecting in admin area (www.domain.com/admin/). It seems to fail redirecting every time if I press "Submit" when modifying page contents. But if I press "Apply", it works ok. By failing I mean it redirects to public area: for example "www.domain.com/listcontent.php?page=1" when it should be "www.domain.com/admin/listcontent.php?page=1".
Admin area is installed in default admin/ directory and config.php points to that directory.
Any ideas what could cause this behaviour?
Redirecting doesn't work in admin area
-
noname
Re: Redirecting doesn't work in admin area
Found a solution to this one: I had to edit file lib/misc.functions.php and comment out line 34:
After that everything seems to work correctly.
Anyone knows why that line had to be commented out? I think it's some sort of a PHP-related configuration thing...
Code: Select all
$_SERVER['PHP_SELF'] = null;Anyone knows why that line had to be commented out? I think it's some sort of a PHP-related configuration thing...
