Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Unable to save a route

#264

After i try and edit a route i'm getting the following error:

Warning (2): preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash [CORE/cake/libs/model/model.php, line 2612]

Debugger::handleError() - CORE/cake/libs/debugger.php, line 306 preg_match - [internal], line ?? Model::invalidFields() - CORE/cake/libs/model/model.php, line 2612 Model::validates() - CORE/cake/libs/model/model.php, line 2479 Model::_save() - CORE/cake/libs/model/model.php, line 1775 Model::saveAll() - CORE/cake/libs/model/model.php, line 1673 GlobalActions::admin_edit() - APP/app_controller.php, line 1129 RoutesController::admin_edit() - APP/core/routes/controllers/routes_controller.php, line 62 Dispatcher::invoke() - CORE/cake/dispatcher.php, line 204 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 [main] - APP/webroot/index.php, line 83

And the validation message "Please enter valid json for the values or leave blank" shows if i leave the values and/or Rules empty.

Reported by Jelle Henkens · September 7th, 2011 @ 03:43 PM

State: resolved
Milestone: none
Assigned to: nobody

Activity

  1. dogmatic69
    dogmatic69
    • State changed from invalid to resolved

    July 6th, 2013 @ 02:03 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.