Results 1 to 4 of 4

Thread: Warning errors in PHP

  1. #1
    access is offline Member
    Join Date
    Oct 2009
    Posts
    8

    Default Warning errors in PHP

    I am a small business owner that would like to use SugarCRM open source but can't get it installed. I have spent hours and can't invest anymore time in trying. Is it possible to hire someone that can do it for me?
    Or if someone can help me with the following errors, I can follow directions very well.

    Warning: session_start() [function.session-start]: open(/home/public_html/tmp//sess_83729f1b88760738a2b4f02b8f029a69, O_RDWR) failed: No such file or directory (2) in /home/content/a/r/i/ariggins/html/sugar/install.php on line 42

    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/a/r/i/ariggins/html/sugar/install.php:42) in /home/content/a/r/i/ariggins/html/sugar/install.php on line 42

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/a/r/i/ariggins/html/sugar/install.php:42) in /home/content/a/r/i/ariggins/html/sugar/install.php on line 42

    Warning: Unknown: open(/home/public_html/tmp//sess_83729f1b88760738a2b4f02b8f029a69, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

    Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/home/public_html/tmp/) in Unknown on line 0

  2. #2
    salesagility's Avatar
    salesagility is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    2,379

    Default Re: Warning errors in PHP

    Sound like your permissions ... see this document http://www.sugarcrm.com/wiki/index.p...sions_on_Linux for the correct file permissions. As a temporary fix you could try to apply 777 across the instance .. BUT YOU MUST go back and do it as per the recommended settings.

    To apply permissions:

    chmod -R 777 yoursugar_rootdirectory

  3. #3
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Re: Warning errors in PHP

    This tells me a story:

    Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/home/public_html/tmp/) in Unknown on line 0

    Open your php.ini and change the instruction session.save_path from /home/public_html/tmp/ to /home/public_html/tmp (without the slash).

    Another option: set your session path in config.php (in the Sugar root directory) to say cache/session/ (with slash) and create a directory cache/session with 775 and the webserver user as owner.
    __________________________
    Robert Laussegger
    http://www.iscongroup.net

    Bei Fragen: support@iscon.at
    Die deutschen Sprachdateien für SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
    Ab sofort auch mit 6.4.2

  4. #4
    jstukas is offline Junior Member
    Join Date
    Oct 2007
    Posts
    3

    Default Re: Warning errors in PHP

    Hi everyone,

    I've been helping out to get this resolved. It turns out that this is due to running under a Godaddy shared hosting environment. Most of the basic infrastructure (Linux, Apache, MySQL) is running on shared systems, with only a small file space dedicated for web hosting.

    I created a tmp/sessions directory in this space, and pointed the php session.save_path variable to this directory (using the full path on the shared file system).

    Now the install starts correctly, but fails because the install script requires the database admin user and password, but Godaddy only allows a user to create databases via a web admin interface, and will not give out the root password for MySQL.

    Has anyone ever hacked the install scripts to get around this?

    After all, the root user is required, but there is an option to use a different username for the Sugar database.

    Our db is already created with a user called sugaraccess.

    Any further help is appreciated, or do we have to upgrade the Godaddy hosting to a "virtual dedicated" or "dedicated" server?

    Thanks

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 6
    Last Post: 2009-10-13, 10:53 PM
  2. Error installing SugarCE-5.2.0g. Warning and Fatal Errors encountered
    By minhta in forum Installation and Upgrade Help
    Replies: 8
    Last Post: 2009-07-22, 04:20 PM
  3. Errors Installing Community. Data base creation errors
    By alcamie in forum Installation and Upgrade Help
    Replies: 4
    Last Post: 2009-07-17, 03:56 AM
  4. Replies: 3
    Last Post: 2007-08-01, 02:04 PM
  5. Replies: 2
    Last Post: 2006-01-26, 02:19 AM

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
  •