Installation issues - Email setup and blank pages

Well, after a lot of fun trying to get this installed, it seems it still isn’t working properly yet.

One issue I noticed during the installation procedure was that when I tried to upload a logo, it would just hang.
Another was trying to give it a custom log path, which resulted in “not a valid directory” error. Solved by just leaving it blank, even though permissions are set properly, as evinced by the fact that it’s using that directory anyway(set in php.ini), and sugarcrm had no issues using that path either.
Another is that it overwrites my web.config instead of merging it, as with my IIS(Windows 2016) I had to add a handler so that php files would execute.

      <handlers>
        <add name="PHP_FAST_CGI" path="*.php" verb="*" modules="FastCgiModule" scriptProcessor="C:\Program Files\PHP\v7.1\php-cgi.exe" resourceType="Either" />
    </handlers>

Now, the current problems I’m running into are I can’t setup email, which I’m guessing is related to the problem in the log file below?

Here’s a snippet from the end of the log file(roughly 200 ines of similar errors before this):

[28-Feb-2018 21:06:54 America/New_York] PHP Notice: Array to string conversion in C:\inetpub\wwwroot\SuiteCRM\modules\SurveyQuestionResponses\vardefs.php on line 39
[28-Feb-2018 21:06:55 America/New_York] PHP Warning: Illegal string offset ‘SurveyQuestions’ in C:\inetpub\wwwroot\SuiteCRM\modules\SurveyQuestions\vardefs.php on line 39
[28-Feb-2018 21:06:55 America/New_York] PHP Notice: Array to string conversion in C:\inetpub\wwwroot\SuiteCRM\modules\SurveyQuestions\vardefs.php on line 39
[28-Feb-2018 21:06:57 America/New_York] PHP Warning: Illegal string offset ‘SurveyQuestionOptions’ in C:\inetpub\wwwroot\SuiteCRM\modules\SurveyQuestionOptions\vardefs.php on line 39
[28-Feb-2018 21:06:57 America/New_York] PHP Notice: Array to string conversion in C:\inetpub\wwwroot\SuiteCRM\modules\SurveyQuestionOptions\vardefs.php on line 39
[28-Feb-2018 21:07:38 America/New_York] PHP Notice: Undefined property: OutboundEmail::$smtp_from_name in C:\inetpub\wwwroot\SuiteCRM\modules\Administration\Administration.php on line 171
[28-Feb-2018 21:07:38 America/New_York] PHP Notice: Undefined property: OutboundEmail::$smtp_from_addr in C:\inetpub\wwwroot\SuiteCRM\modules\Administration\Administration.php on line 171
[28-Feb-2018 21:36:27 America/New_York] PHP Notice: Undefined variable: ret in C:\inetpub\wwwroot\SuiteCRM\include\SugarPHPMailer.php on line 492
[28-Feb-2018 21:37:38 America/New_York] PHP Notice: Undefined variable: ret in C:\inetpub\wwwroot\SuiteCRM\include\SugarPHPMailer.php on line 492
[28-Feb-2018 21:39:36 America/New_York] PHP Notice: Undefined variable: ret in C:\inetpub\wwwroot\SuiteCRM\include\SugarPHPMailer.php on line 492

And, that clicking the majority of the links when I’m logged into the crm just gives me this:

https://i.imgur.com/r4xFB5Y.jpg

Anyone have thoughts on what the issue might be?

Thanks

Hi… I’m afraid something seems very broken about your installation…

what is your PHP version?

and in your logs, can you please look just for ERROR or FATAL messages?

Check also your suitecrm.log (if you can find it)

You might also have some clues in install.log.

Well, I found out the issue.

I haven’t narrowed it down to the exact header issues yet, but it’s definitely related to some security headers I have on the webserver, most likely the content-security-policy to avoid xss attacks etc…I’m not sure if this crm loads external resources, but suitecrm doesn’t work with them enabled.

But, onto the latest issues. It now crashes IIS. Impressive really lol. Clicking on the various menu links(I’ve been clicking all the various links under All) ends up crashing IIS in usually 1-2 minutes of clicking the links.

https://imgur.com/a/6szW1

One problem solved, more to go!

Just to add, when it happened earlier, I had left the debugger up for like 30 minutes before I closed it. And this was in the php error log:

[03-Mar-2018 10:47:30 America/New_York] PHP Warning: session_destroy(): Session object destruction failed in C:\inetpub\wwwroot\SuiteCRM\include\MVC\SugarApplication.php on line 127

Here’s an entry in the suitecrm.log after it crashes:

Sat Mar 3 13:24:08 2018 [10104][1][FATAL] field_defs should be an array

That one I know

https://github.com/salesagility/SuiteCRM/issues/5239