Answers.Body: <p>So I think I found the fix. </p>
  
  <p>I had my Images directory under Admin=>Directories to the following:
  /home/my_site/www/www/civi_images</p>
  
  <p>The Image Upload URL under Admin=>Resource URLS to the following:
  <a href="https://saintfrancisocc.org/civi_images" rel="nofollow">https://saintfrancisocc.org/civi_images</a></p>
  
  <p>When I upgraded to 4.6.2 is when I started getting the error. I checked that line in the Security.php file and it referred to the uploadurl as samuelsov stated. So I thought I'd try changing that to something else and see if it fixed it.</p>
  
  <p>I changed the Images director under Admin=>Directories to the following:
  /home/my_site/www/www/sites/default/files/civicrm/civi_images/ </p>
  
  <p>And changed the Image Upload URL under Admin=>Resource URLS to the following:
  <a href="https://saintfrancisocc.org/sites/default/files/civicrm/civi_images/" rel="nofollow">https://saintfrancisocc.org/sites/default/files/civicrm/civi_images/</a></p>
  
  <p>I went and refreshed and no more error. So it appears that civi 4.6.2 doesn't like the upload directory to be at the root</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-05-08T23:56:12.153Z
Answers.LastActivityDate: 2015-05-08T23:56:12.153Z
Answers.UserDisplayName: frTommy
Answers.Body: <p>The function <code>CRM_Utils_Check_Security-&gt;guessUrl()</code>, as far as i understand, is only used to check if there is security problem in the configuration of your upload path.</p>
  
  <p>It's seems to be a bug, but not one that as any impact on CiviCRM functionality.
  I don't think it could lead to a problems like access denied or something like that. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-05-08T14:24:12.877Z
Answers.Text: What sort of security problem? A folder permission issue?
Answers.UserDisplayName: frTommy
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-05-08T14:26:24.800Z
Answers.Text: Yes, the files in the upload directory shouldn't be accessible using a browser. If it is the case, CiviCRM will display a security warning.
Answers.UserDisplayName: samuelsov
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-05-08T14:20:51.647Z
Answers.LastActivityDate: 2015-05-08T14:20:51.647Z
Answers.UserDisplayName: samuelsov
Body: <pre><code>Notice: Undefined offset: 1 in CRM_Utils_Check_Security-&gt;guessUrl() (line 330 of /home/saintfran/www/www/sites/all/modules/civicrm/CRM/Utils/Check/Security.php).
  </code></pre>
  
  <p>I found the following on the issue queue and the old forums but they say they are fixed and that it's related to windows. I'm  not on a windows machine. I'm hosted on civihosting with 4.6.2.</p>
  
  <p><a href="https://issues.civicrm.org/jira/browse/CRM-15214" rel="nofollow">https://issues.civicrm.org/jira/browse/CRM-15214</a>
  <a href="http://forum.civicrm.org/index.php?topic=32544.0" rel="nofollow">http://forum.civicrm.org/index.php?topic=32544.0</a></p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-05-08T14:08:16.240Z
Comments.Text: What version of CiviCRM do you have ?
Comments.UserDisplayName: samuelsov
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-05-08T14:08:41.683Z
Comments.Text: Sorry forgot that.  4.6.2. Now I'm getting access denied error for all admin pages.
Comments.UserDisplayName: frTommy
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-05-08T14:14:27.720Z
Comments.Text: I don't think the access denied is linked to the notice.
Comments.UserDisplayName: samuelsov
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-05-08T14:18:36.937Z
Comments.Text: Maybe not but it's weird.  I haven't changed any permissions
Comments.UserDisplayName: frTommy
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-05-08T14:22:54.900Z
Comments.Text: are you logged in ? if you browse a website with http / https and you are logged in on http and civicrm force https, you won't be able to acces civicrm pages until you log on the https version of the site
Comments.UserDisplayName: samuelsov
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-05-08T14:23:39.180Z
Comments.Text: That's what it is then.  Whew.
Comments.UserDisplayName: frTommy
Tags: <debugging>
Title: Undefined offset: 1 in CRM_Utils_Check_Security->guessUrl()
ThreadText: # Undefined offset: 1 in CRM_Utils_Check_Security->guessUrl()
  
  (Asked by: username_0 on 2015-05-08)
  
  Notice: Undefined offset: 1 in CRM_Utils_Check_Security->guessUrl() (line 330 of /home/saintfran/www/www/sites/all/modules/civicrm/CRM/Utils/Check/Security.php).
  
  I found the following on the issue queue and the old forums but they say they are fixed and that it's related to windows. I'm  not on a windows machine. I'm hosted on civihosting with 4.6.2.
  https://issues.civicrm.org/jira/browse/CRM-15214
  http://forum.civicrm.org/index.php?topic=32544.0
  
  **Tags:** debugging
  
  > **Comments:**
  > **username_1**: What version of CiviCRM do you have ?  
  > **username_0**: Sorry forgot that.  4.6.2. Now I'm getting access denied error for all admin pages.  
  > **username_1**: I don't think the access denied is linked to the notice.  
  > **username_0**: Maybe not but it's weird.  I haven't changed any permissions  
  > **username_1**: are you logged in ? if you browse a website with http / https and you are logged in on http and civicrm force https, you won't be able to acces civicrm pages until you log on the https version of the site  
  > **username_0**: That's what it is then.  Whew.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2015-05-08. Score: 3
  
  So I think I found the fix.
  
  I had my Images directory under Admin=>Directories to the following:
  /home/my\_site/www/www/civi\_images
  
  The Image Upload URL under Admin=>Resource URLS to the following:
  <https://saintfrancisocc.org/civi_images>
  
  When I upgraded to 4.6.2 is when I started getting the error. I checked that line in the Security.php file and it referred to the uploadurl as username_1 stated. So I thought I'd try changing that to something else and see if it fixed it.
  
  I changed the Images director under Admin=>Directories to the following:
  /home/my\_site/www/www/sites/default/files/civicrm/civi\_images/
  
  And changed the Image Upload URL under Admin=>Resource URLS to the following:
  <https://saintfrancisocc.org/sites/default/files/civicrm/civi_images/>
  
  I went and refreshed and no more error. So it appears that civi 4.6.2 doesn't like the upload directory to be at the root
  
  
  ---
  
  ### Answer by username_1 on 2015-05-08. Score: 1
  
  The function `CRM_Utils_Check_Security->guessUrl()`, as far as i understand, is only used to check if there is security problem in the configuration of your upload path.
  
  It's seems to be a bug, but not one that as any impact on CiviCRM functionality.
  I don't think it could lead to a problems like access denied or something like that.
  
  > **Comments:**
  > **username_0**: What sort of security problem? A folder permission issue?  
  > **username_1**: Yes, the files in the upload directory shouldn't be accessible using a browser. If it is the case, CiviCRM will display a security warning.  
  
  ---
  
  