Error Cannot Unset String Offsets Cakephp
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Fatal error: Cannot unset string offsets in AuthComponent.php on line 781 up vote 0 down vote favorite Error: Cannot unset string offsets File: /var/www/lib/Cake/Controller/Component/AuthComponent.php Line: 781 Code: if (isset($this->request->data['User'])) { $this->Auth->login(); } Any idea why this error happens? cakephp-2.5 share|improve this question asked Aug 28 '14 at 16:28 gattsbr 575526 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote Inside the AppController.php public $components = array( 'Session', 'Auth' => array( 'loginRedirect' => array( 'controller' => 'pages', 'action' => 'display', 'home' ), 'logoutRedirect' => array( 'controller' => 'pages', 'action' => 'display', 'home' ), 'authError' => 'You must be logged in to view this page.', 'loginError' => 'Invalid Username or Password.', 'authenticate' => array( 'passwordHasher' => 'Blowfish', ) ) ); authenticate needs to be 'authenticate' => array( 'Form' => array( 'passwordHasher' => 'Blowfish', ) ) share|improve this answer answered Aug 28 '14 at 19:33 gattsbr 575526 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy
that make connections all over the world. Join today Download & Extend Drupal Core Distributions Modules Themes DateIssues Fatal error: Cannot unset string offsets using Services and XML-RPC ActiveProject:DateVersion:6.x-2.6Component:Date Repeat APIPriority:NormalCategory:Bug reportAssigned:UnassignedReporter:HallSLCreated:February 21, 2009 - 07:35Updated:November 17, 2010 - 16:12 Log in or register to update this issue Hi, running Drupal 6.9 node_import rc3, MySQL 5.0.67 PHP 5.2.5. Trying to do my first node import, but after I set the defaults, it goes to a white screen with the following message: Fatal error: Cannot unset string offsets in /home/riverrep/public_html/sites/all/modules/date/date_repeat/date_repeat_form.inc on line 212 Thanks! http://stackoverflow.com/questions/25553661/fatal-error-cannot-unset-string-offsetsin-authcomponent-php-on-line-781 Hall Comments Comment #1 HallSL CreditAttribution: HallSL commented February 26, 2009 at 10:25pm Version: 6.x-1.0-rc3 » 6.x-1.0-rc4 Hi, updated to rc4, newer versions of date and calendar, but still the same WSOD, same error message. Fatal error: Cannot unset string offsets in /home/riverrep/public_html/sites/all/modules/date/date_repeat/date_repeat_form.inc on line 212 Log in or register to post comments Comment #2 kenorb CreditAttribution: kenorb commented March 3, 2009 at 5:01pm https://www.drupal.org/node/379102 Project: Node import » Date Version: 6.x-1.0-rc4 » 6.x-2.x-dev Component: Code » Date Repeat API Status: Active » Postponed (maintainer needs more info) Which version of date you have? Did you tried to update it? Log in or register to post comments Comment #3 jmbeach CreditAttribution: jmbeach commented March 8, 2009 at 2:13am I've been experimenting with the experiment support in the Node Import for date events using Date 6.x-2.0. If the date field for my content type has the repeat option enabled, I get the WSOD with the "Fatal error: Cannot unset string offsets". If my date field does not have repeat options, then I can import date into my event content type. When I am creating the import using the node import module, on step 4 of 8, for my event date field is lists "Unsupported: Event Date - rrule". I am assuming that this is where one could import the repeat rules for a date field, but its not supported. I don't know if this is something that needs fixed in Date or Node Import. Log in or register to post comments Comment #4 KarenS CreditAttribution: KarenS co
från GoogleLogga inDolda fältSök efter grupper eller meddelanden