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?
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?
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
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.
Did you restart your webserver process after making the change in the php config file?
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.
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
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
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
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
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.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks