Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: I just can't figure it out

  1. #1
    jswainst is offline Member
    Join Date
    Mar 2007
    Posts
    6

    Default I just can't figure it out

    I've been having some difficulty setting up sugarcrm properly for our new site.

    PHP 5.0.4
    MySQL 4.1.20

    The installation goes fine and everything works except for the homepage. I get a blank page when viewing it. Any Ideas?

  2. #2
    andydreisch's Avatar
    andydreisch is offline Sugar Team Member
    Join Date
    Apr 2005
    Location
    San Jose
    Posts
    2,080

    Default Re: I just can't figure it out

    Hi jswainst, search in the forums and in the Wiki for "blank page". Chaces are it's a memory limit issue.

    HTH,

    Andy
    Andy Dreisch
    Vice President, Online Team


    Check out our Podcasts!
    Sugar University for training
    Sugar Wiki for developer and user help
    SugarForge for modules, themes, lang packs
    SugarExchange for production-ready extensions
    Enter/view bugs via the Sugar bug tracker

  3. #3
    jswainst is offline Member
    Join Date
    Mar 2007
    Posts
    6

    Default Re: I just can't figure it out

    I tried upping the php memory limit and that didn't seem to do the trick. I had it set at 32M and now it's 64M.

  4. #4
    wjohnson is offline Sugar Community Member
    Join Date
    Dec 2005
    Posts
    242

    Default Re: I just can't figure it out

    Did you restart your webserver process after making the change in the php config file?

  5. #5
    jswainst is offline Member
    Join Date
    Mar 2007
    Posts
    6

    Default Re: I just can't figure it out

    Yes, I restarted the web server. I've been searching these forums and other sites around the web for hours and I have yet to find something I haven't tried.

  6. #6
    andydreisch's Avatar
    andydreisch is offline Sugar Team Member
    Join Date
    Apr 2005
    Location
    San Jose
    Posts
    2,080

    Default Re: I just can't figure it out

    OK, jswainst, time to go deep with some serious logging. I forget the parameters used to turn logging on (Wiki has it) but I would turn logging on and examine the logfile for any issues.

    Andy
    Andy Dreisch
    Vice President, Online Team


    Check out our Podcasts!
    Sugar University for training
    Sugar Wiki for developer and user help
    SugarForge for modules, themes, lang packs
    SugarExchange for production-ready extensions
    Enter/view bugs via the Sugar bug tracker

  7. #7
    sanjaykatiyar1's Avatar
    sanjaykatiyar1 is offline Sugar Community Member
    Join Date
    Feb 2006
    Location
    Bangalore
    Posts
    600

    Default Re: I just can't figure it out

    Two log files can be helpful to identify the reason of blank page:
    1. sugarcrm.log in the base of sugar
    By default sugar logs only fatal error to logs debug info also change the 'log4php.properties' file

    //log4php.rootLogger=fatal, A2 // comment this line
    //log4php.rootLogger=error, A2
    //log4php.rootLogger=warn, A2
    //log4php.rootLogger=info, A2
    log4php.rootLogger=debug, A2 //uncomment this line

    Then access your sugar and see the log file, try to find the reason.

    2. Apache log file (webserver error log file)

    Generally on Linux machine located at /var/log/httpd
    Sanjay Katiyar
    iPhone and Android solutions http://www.apptility.com

  8. #8
    jswainst is offline Member
    Join Date
    Mar 2007
    Posts
    6

    Default Re: I just can't figure it out

    I keep getting errors involving the includes path, yet from what I understand of sugarcrm, the includes path is as it should be.

    [client ip] PHP Fatal error: main() [<a href='function.require'>function.require</a>]: Failed opening required 'MyCallsDashlet.data.php' (include_path='.:include:/usr/share/pear:include/database:') in /var/www/vhosts/sitename/subdomains/crm/httpdocs/modules/Calls/Dashlets/MyCallsDashlet/MyCallsDashlet.php on line 29, referer: http://sitename/index.php?module=Calendar&action=index

    [client ip] PHP Warning: main(templates/templates_calendar.php) [<a href='function.main'>function.main</a>]: failed to open stream: Operation not permitted in /var/www/vhosts/sitename/subdomains/crm/httpdocs/modules/Calendar/index.php on line 30, referer: http://crm.sitename/index.php?action=index&module=Home

    [client ip] PHP Warning: main(templates/templates_calendar.php) [<a href='function.main'>function.main</a>]: failed to open stream: Operation not permitted in /var/www/vhosts/sitename/subdomains/crm/httpdocs/modules/Calendar/index.php on line 30, referer: http://crm.sitename/index.php?action=index&module=Home

    [client ip] PHP Warning: main() [<a href='function.main'>function.main</a>]: open_basedir restriction in effect. File(/usr/share/pear/templates/templates_calendar.php) is not within the allowed path(s): (/var/www/vhosts/sitename/subdomains/crm/httpdocs:/tmp) in /var/www/vhosts/sitename/subdomains/crm/httpdocs/modules/Calendar/index.php on line 30, referer: http://crm.sitename/index.php?action=index&module=Home

    [client ip] PHP Warning: main(modules//Menu.php) [<a href='function.main'>function.main</a>]: failed to open stream: Operation not permitted in /var/www/vhosts/sitename/subdomains/crm/httpdocs/themes/SugarLite/header.php on line 49

    [client ip] PHP Notice: Undefined variable: currentModuleFile in /var/www/vhosts/sitename/subdomains/crm/httpdocs/index.php on line 344

  9. #9
    sanjaykatiyar1's Avatar
    sanjaykatiyar1 is offline Sugar Community Member
    Join Date
    Feb 2006
    Location
    Bangalore
    Posts
    600

    Default Re: I just can't figure it out

    Seems some permission issues in the sugarcrm folders/files. Is webserver user can read/write files of sugar?
    Is there any .htaccess file (hidden file) in sugarcrm base? check this file also.
    Sanjay Katiyar
    iPhone and Android solutions http://www.apptility.com

  10. #10
    jswainst is offline Member
    Join Date
    Mar 2007
    Posts
    6

    Default Re: I just can't figure it out

    Permissions are definitely not the issue. I just spent the past couple of hours looking into that and everything is fine on that front. Is it possible plesk is causing problems? I'm using Plesk 8.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. simple link error that i just cant figure out!
    By simbawoomba in forum Help
    Replies: 0
    Last Post: 2007-02-01, 09:19 AM
  2. Replies: 5
    Last Post: 2005-09-01, 10:46 PM
  3. Exchange rae error in v 2.5.1
    By Nixy in forum Help
    Replies: 0
    Last Post: 2005-04-11, 10:12 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
  •