CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Getting Undefined offset notice after upgrading to 4.4.5
Pages: [1]

Author Topic: Getting Undefined offset notice after upgrading to 4.4.5  (Read 1167 times)

karlg

  • I’m new here
  • *
  • Posts: 22
  • Karma: 0
  • CiviCRM version: 4.2.1
  • CMS version: 7.15
  • MySQL version: 5.1.65-cll
  • PHP version: 5.3.17
Getting Undefined offset notice after upgrading to 4.4.5
April 28, 2014, 03:35:15 pm
Hello,

After upgrading to 4.4.5, I'm getting this error:

Notice: Undefined offset: 1 in CRM_Utils_Check_Security->guessUrl() (line 285 {...}

Could anybody help with this, please?

Regards,
Karl

karlg

  • I’m new here
  • *
  • Posts: 22
  • Karma: 0
  • CiviCRM version: 4.2.1
  • CMS version: 7.15
  • MySQL version: 5.1.65-cll
  • PHP version: 5.3.17
Re: Getting Undefined offset notice after upgrading to 4.4.5
June 07, 2014, 12:41:39 am
Anybody?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Getting Undefined offset notice after upgrading to 4.4.5
June 08, 2014, 02:56:18 am
When do you get this error? On certain pages only?
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

ToadLoading

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: Drupal 7.28
  • MySQL version: 5.5.32
  • PHP version: 5.4.16
Re: Getting Undefined offset notice after upgrading to 4.4.5
June 11, 2014, 08:33:32 am
I got the same error messages when trying to evaluate CiviCRM 4.4.5 on my local PC, with:
  • Drupal 7.28
  • XAMPP 1.8.2 (PHP 5.4.16 & MySQL 5.5.32)
These error messages were seen on the "Configuration Checklist", right after the installation of civicrm.

The url pattern is
Code: [Select]
http://mydomain.org/index.php?q=civicrm/admin/configtask&reset=1

Joeri Theelen

  • I’m new here
  • *
  • Posts: 13
  • Karma: 0
  • It's nothing personal.
  • CiviCRM version: 4.4.5
  • CMS version: Drupal 7.28
  • MySQL version: 5.6.11
  • PHP version: 5.5.3
Re: Getting Undefined offset notice after upgrading to 4.4.5
July 01, 2014, 06:12:55 am
I had the same problem using CiviCRM on Windows. The error appeared twice, so I logged the values for $filePathMarker and $targetDir that cause the error on line 285 in file ../Security.php.

Before the error:
$filePathMarker = /files/, $targetDir = Z:\XAMPP\htdocs\civicrm/sites/default\files\civicrm\upload\
$filePathMarker = /files/, $targetDir = Z:\XAMPP\htdocs\civicrm/sites/default\files\civicrm\custom\

I solved this by changing the backslashes into forward slashes in the "Settings - Upload Directories" configuration:
./civicrm/admin/setting/path

Joeri

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Getting Undefined offset notice after upgrading to 4.4.5

This forum was archived on 2017-11-26.