I have a problem with offline client ver 4.5 pro/ent version on win xp. It installs ok, without errors, but when I start it and the browser tries to open http://127.0.0.1/sugarcrm/index.php, index.php redirects to install.php and if I follow the instructions on install.php i end up with the sugarcrm server installed instead of sugarcrm offline client. So offline client doesn't open login page in order to do the sync but it opens an install.php page. These files are located in offline client directory, in "htdocs" .
In .../htdocs/sugarcrm/index.php appears:
...............................................
///////////////////////////////////////////////////////////////////////////////
//// REDIRECT CONDITIONS TO INSTALL.PHP
if(!is_file('config.php')) {
header('Location: install.php');
exit ();
} else { // cn: hack for installer error - we ship a blank config.php
require('config.php');
if(!isset($sugar_config) || empty($sugar_config)) {
header('Location: install.php');
exit ();
}
}
require_once('include/entryPoint.php');
if(empty($sugar_config['dbconfig']['db_host_name'])) {
header('Location: install.php');
exit ();
}
//// end REDIRECT CONDITIONS TO INSTALL.PHP
///////////////////////////////////////////////////////////////////////////////
.................................................. ..................
Sometimes if i install/uninstall several times offline client it works and it creates in /htdocs/sugarcrm a file named config.php where it puts all the details like server name, mysql user, mysql password, etc.
I tried a workaround and i copied the config.php file from a computer where offline client worked ( i had to change the mysql password in config.php) and i copied the files in /mysql/data/sugarcrm from that computer, too. The result was ok, i was able to get to the login page.
My conclusion is that the installer after unpacking the files doesn't always manage to execute the scripts for initializing database and i end up with no sugarcrm database in the localhost and no settings in config.php.
I tried to install the software on windows xp freshly installed with firewall set to off on several workstations, laptops.
Does anyone have a solution to this?


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks