This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Missing Database Table | |
Error: Table app_models for model AppModel was not found in datasource default. | |
Notice: If you want to customize this error message, create htdocs/View/Errors/missing_table.ctp | |
Stack Trace | |
APP/Vendor/pear-pear.cakephp.org/CakePHP/Cake/Model/Model.php line 3476 → Model->setSource(string) | |
APP/Model/AppModel.php line 52 → Model->getDataSource() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
***This works as an AND query | |
$query['conditions'] = [ | |
'has_child' => [ | |
'model' => 'WorkspacePostTag', | |
'workspace_id' => 2, | |
'post_id' => 4 | |
] | |
]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2013-12-04T05:34:01+00:00] INFO: Forking chef instance to converge... | |
[2013-12-04T05:34:01+00:00] INFO: *** Chef 11.8.2 *** | |
[2013-12-04T05:34:01+00:00] INFO: Chef-client pid: 4890 | |
[2013-12-04T05:34:09+00:00] INFO: Setting the run_list to ["role[development]", "recipe[nozzle::default]"] from JSON | |
[2013-12-04T05:34:10+00:00] INFO: Run List is [role[development], recipe[nozzle::default]] | |
[2013-12-04T05:34:10+00:00] INFO: Run List expands to [apt, build-essential, htop, vim, chef-php54, java::openjdk, mysql::server, mysql::ruby, redis::server, nozzle::default] | |
[2013-12-04T05:34:10+00:00] INFO: Starting Chef Run for dvagrant | |
[2013-12-04T05:34:10+00:00] INFO: Running start handlers | |
[2013-12-04T05:34:10+00:00] INFO: Start handlers complete. | |
[2013-12-04T05:34:10+00:00] INFO: HTTP Request Returned 404 Object Not Found: error |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//* Start the engine | |
require_once( get_template_directory() . '/lib/init.php' ); | |
//* Add HTML5 markup structure | |
add_theme_support( 'html5' ); | |
// Deregisters local jQuery and loads Google CDN version | |
add_action('wp_enqueue_scripts', 'seo_scripts'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// This file adds the Home template to the Ackermania Theme. | |
// Template Name: Home | |
//Remove the site inner wrap using Genesis Structural Wraps | |
add_theme_support( 'genesis-structural-wraps', array( 'header', 'nav', 'subnav', 'footer-widgets', 'footer' ) ); | |
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2014-01-07T01:32:36+00:00] INFO: execute[switch-db] ran successfully | |
[2014-01-07T01:32:36+00:00] INFO: execute[grant-permissions] ran successfully | |
[2014-01-07T01:32:37+00:00] INFO: execute[grant-permissions] ran successfully | |
[2014-01-07T01:32:37+00:00] INFO: cookbook_file[/var/chef/cache/nozzleapp.sql] created file /var/chef/cache/nozzleapp.sql | |
================================================================================ | |
Error executing action `create` on resource 'cookbook_file[/var/chef/cache/nozzleapp.sql]' | |
================================================================================ | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
root /home/nozzle/htdocs/webroot; | |
index index.php index.html index.htm; | |
server_name local.nozzle.io; | |
location / { | |
if ($request_method = OPTIONS ) { | |
add_header 'Access-Control-Allow-Origin' *; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// This file adds the Home template to the Ackermania Theme. | |
// Template Name: Home | |
//Remove the site inner wrap using Genesis Structural Wraps | |
add_theme_support( 'genesis-structural-wraps', array( 'header', 'nav', 'subnav', 'footer-widgets', 'footer' ) ); | |
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Router::connect( | |
'/workspaces/:workspace_id/profiles', | |
[ | |
'method' => 'GET', | |
'controller' => 'workspace_profiles', | |
'action' => 'profiles' | |
]); | |
Router::mapResources(['workspaces', 'profiles']); | |
Router::setExtensions(array('json', 'xml')); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// My Listener Class | |
App::uses('CrudListener', 'Crud.Controller/Crud'); | |
class PermissionListener extends CrudListener { | |
public function beforeRender(CakeEvent $event) { | |
print_r("yeah");die; | |
} |