Hello people, i have posted two messages later but still no answer. I think I have found a bug when using sugar on IIS. In the pagination links within modules the url repeats the application's name and index.php as this:
http://localhost/sugarcrm/index.php/sugarcrm/index.php?.....
I was looking how sugar makes the url and in file include/DetailView/DetailView.php, on line 364 i saw this line:
$this->base_URL = $_SERVER['PHP_SELF'];
and here is the problem because this variable has the content /sugarcrm/index.php/sugarcrm/index.php, so i have changed this line for the following:
$this->base_URL = $_SERVER['PATH_INFO'];
and all work well
This is my system information:
- Sugarcrm 4.5.1e
- IIS 5.1
- PHP 5.2.4
- Mysql 5
Another thing is that variable $_SERVER['PHP_SELF'] on php 5.2.4 has:
/sugarcrm/index.php/sugarcrm/index.php
and the same variable on php 5.2.3 has:
/sugarcrm/index.php


LinkBack URL
About LinkBacks




Reply With Quote
Bookmarks