Results 1 to 7 of 7

Thread: sugarcrm install issue

  1. #1
    mipsmedia is offline Junior Member
    Join Date
    Aug 2006
    Posts
    4

    Default sugarcrm install issue

    Tried to install sugarcrm on my linux server however it fails at Step 6: Perform Setup with error:

    Creating the config file...done

    Cannot write to the ./.htaccess file.

    If you want to secure your log file from being accessible via browser, create an .htaccess file in your log directory with the line:

    RedirectMatch /sugarcrm.log.* http://67.59.189.197/log_file_restricted.html
    Installation is proceeding... the output will appear below once it is complete. Please wait.

    tried to reload page but loads with blank page and no default login page, also when i try to reinstall it says that the install was done and is locked:

    SugarCRM Installation has been Disabled

    The installer has already been run once. As a safety measure, it has been disabled from running a second time. If you are absolutely sure you want to run it again, please go to your config.php file and locate (or add) a variable called 'installer_locked' and set it to 'false'. The line should look like this:

    'installer_locked' => false,

    After this change has been made, you may click the "Start" button below to begin your installation. After the installation is complete, you will want to change the value for 'installer_locked' to 'true'.

    For installation help, please visit the SugarCRM support forums

    any answers

  2. #2
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: sugarcrm install issue

    We need versions (PHP, OS and SugarCRM) and OS information (Permissions, user and group running your apache, etc). Most likely you have a permissions problem.
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  3. #3
    torkil is offline Junior Member
    Join Date
    Aug 2006
    Posts
    4

    Default Re: sugarcrm install issue

    I have the exact same issue here. PHP is 4.1.something and OS is linux-something, Sugarversion is 4.5RC1. I had the same problem when installing the latest 4.2 version yesterday too.

    Where am I supposed to place this .htaccess-file? I find the instruction "log directory" confusing, since there is no directory named "log". By the looks of the instructions this is supposed to be placed in the .htaccess-file at the root level? Thats weird, since I can't remember the installer telling me to make the .htaccess-file writable.

  4. #4
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: sugarcrm install issue

    it goes in your root install directory. So if you installed into a directory called 'SugarCRM' then the .htaccess file needs to be in that directory.
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  5. #5
    mipsmedia is offline Junior Member
    Join Date
    Aug 2006
    Posts
    4

    Default Re: sugarcrm install issue

    Resolved the above issue this is how I resolved it another user had posted this and it was very helpful, just modify the following in your apache config file

    1.
    Changing value to On for display_errors setting in php.ini show open_basedir errors

    2.
    I create vhost.conf in /var/www/vhosts/<mydomain>/subdomains/conf.

    VALUES FOR PLESK v8 (and maybe v7) VHOST.CONF FILE
    <Directory /var/www/vhosts/<mydomain>/subdomains/<mysubdomain>/httpdocs>
    php_admin_value session.save_path "/var/www/vhosts/<mydomain>/subdomains/<mysubdomain>/httpdocs/tmp"
    <IfModule sapi_apache2.c>
    php_admin_value open_basedir none
    </IfModule>
    <IfModule mod_php5.c>
    php_admin_value open_basedir none
    </IfModule>
    </Directory>

    3.
    - Install works with SugarCRM 4.2.1 & 4.5 beta 2

    4.
    In a few day :
    - I'll try again with memory_limit = 32 (minimum required by install procedure)
    - I'll reinstall with only necessary rights instead of 777.

  6. #6
    mipsmedia is offline Junior Member
    Join Date
    Aug 2006
    Posts
    4

    Default Re: sugarcrm install issue

    Now I have another problem!! When using the default data from the install and use the default admin username/password everything works fine!

    However when I try to import data from my old sugarcrm database into this new database it reloads a blank page as if it will not take the old admin username/password, checked the MySql database and it is filled in correctly with admin ingo??

    This is what I did to backup data and restore data:

    Backup:

    So first we need to export the database. It can be done from PhpMyAdmin. In order to reach it you have to log in your Cpanel, go to MySql databases and at the bottom of the page is the link to PhpMyAdmin. Exporting your database is simple. First on the left side choose your SugarCRM database. Then click the Export tab. Next select all the tables. From Structure options check also Add DROP TABLE and then click Go. Thus you'll download a sql file. Now we have the MySql file needed for backups.

    Restore:

    We can restore our backup by importing the mentioned sql file into an empty database or into a SugarCRM database. In order to do that we go again to our PhpMyAdmin and choose the database we've specified to use with our SugarCRM. Then we click on the SQL tab and from the second menu we browse to the sql file on our PC and click Go. If the query is successful our database has been populated with the backup data.

    Any procedure to restore my data to this new install??

    E

  7. #7
    pfortin is offline Junior Member
    Join Date
    Apr 2006
    Posts
    3

    Default Re: sugarcrm install issue

    Quote Originally Posted by kbrill
    it goes in your root install directory. So if you installed into a directory called 'SugarCRM' then the .htaccess file needs to be in that directory.
    Thanks. This helps with my second issue installing 4.5.0f. However, could the message be changed to indicate this root location instead of "log"? Also, it would be helpful if the .htaccess "line[S]" were properly terminated so that new users don't have to try to figure out where the lineends really go...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •