Skip to content

Instantly share code, notes, and snippets.

SELECT commerce_line_item_field_data_commerce_line_items__field_data_field_user.field_user_target_id AS commerce_line_item_field_data_commerce_line_items__field_dat, users_field_data_field_user__field_data_field_firstname.field_firstname_value AS users_field_data_field_user__field_data_field_firstname_fiel, users_field_data_field_user__field_data_field_lastname.field_lastname_value AS users_field_data_field_user__field_data_field_lastname_field, users_commerce_order__field_data_field_firstname.field_firstname_value AS users_commerce_order__field_data_field_firstname_field_first, users_commerce_order__field_data_field_lastname.field_lastname_value AS users_commerce_order__field_data_field_lastname_field_lastna, MIN(commerce_line_item_field_data_commerce_line_items.line_item_id) AS commerce_line_item_field_data_commerce_line_items_line_item_, 'commerce_line_item' AS field_data_field_user_commerce_line_item_entity_type, MIN(users_field_data_field_user.uid) AS users_field_data_field_user_uid, 'user' AS field_data
SELECT commerce_line_item_field_data_commerce_line_items__field_data_field_user.field_user_target_id AS commerce_line_item_field_data_commerce_line_items__field_dat, users_field_data_field_user__field_data_field_firstname.field_firstname_value AS users_field_data_field_user__field_data_field_firstname_fiel, users_field_data_field_user__field_data_field_lastname.field_lastname_value AS users_field_data_field_user__field_data_field_lastname_field, users_commerce_order__field_data_field_firstname.field_firstname_value AS users_commerce_order__field_data_field_firstname_field_first, users_commerce_order__field_data_field_lastname.field_lastname_value AS users_commerce_order__field_data_field_lastname_field_lastna, MIN(commerce_line_item_field_data_commerce_line_items.line_item_id) AS commerce_line_item_field_data_commerce_line_items_line_item_, 'commerce_line_item' AS field_data_field_user_commerce_line_item_entity_type, MIN(users_field_data_field_user.uid) AS users_field_data_field_user_uid, 'user' AS field_data
Jun 13 17:01:33 a drupal: https://store.a.acontreras.allplayers.com|1339624891|commerce_line_item|10.40.10.156|https://store.a.acontreras.allplayers.com/api/v1/rest/users/88a341d2-4e98-11e1-93d2-12313d186528/add_to_cart||108||PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '148' for key 'PRIMARY': INSERT INTO {commerce_line_item} (line_item_id, order_id, type, line_item_label, quantity, created, changed, data, invoice, uuid) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9); Array#012(#012 [:db_insert_placeholder_0] => 148#012 [:db_insert_placeholder_1] => 78#012 [:db_insert_placeholder_2] => product#012 [:db_insert_placeholder_3] => store_grou-registration_fee-147318#012 [:db_insert_placeholder_4] => 1#012
diff --git a/www/sites/all/modules/apci_features/spaces_og_registration/session_storage.js b/www/sites/all/modules/apci_features/spaces_og_registration/session_storage.js
index df6f5d6..578b8fc 100644
--- a/www/sites/all/modules/apci_features/spaces_og_registration/session_storage.js
+++ b/www/sites/all/modules/apci_features/spaces_og_registration/session_storage.js
@@ -50,6 +50,11 @@
inputStorage('remove');
$(this).unbind().click();
});
+ $('#edit-submit').click(function (event) {
+ event.preventDefault();
diff --git a/www/sites/all/modules/apci_features/apci_members/views/views_handler_field_member_sales_data.inc b/www/sites/all/modules/apci_features/apci_members/views/views_handler_field_member_sales_data.inc
index 2eba8df..34a3574 100644
--- a/www/sites/all/modules/apci_features/apci_members/views/views_handler_field_member_sales_data.inc
+++ b/www/sites/all/modules/apci_features/apci_members/views/views_handler_field_member_sales_data.inc
@@ -25,7 +25,7 @@ class views_handler_field_member_sales_data extends views_handler_field {
// If we have the array then don't call setValues again.
$results = !empty($results) ? $results : $this->setValues($results);
-
+ $results['settings']['showlink'] = TRUE;
diff --git a/www/sites/all/modules/contrib/og/modules/og_notifications/og_notifications.module b/www/sites/all/modules/contrib/og/modules/og_notifications/og_notifications.module
index e99b22b..6df4842 100644
--- a/www/sites/all/modules/contrib/og/modules/og_notifications/og_notifications.module
+++ b/www/sites/all/modules/contrib/og/modules/og_notifications/og_notifications.module
@@ -174,9 +174,11 @@ function og_notifications_og($op, $gid, $uid, $args) {
case 'admin create':
case 'admin new':
case 'user broadcast':
- $destinations = is_array($uid) ? $uid : array($uid);
- foreach ($destinations as $uid) {
./gdoc_to_apci.rb -p {apci_password} --gdoc-mail {username}@allplayers.com [email protected] --gdoc-pass {password}
town center test
Participant Information
rake deploy:rollout ignore_errors=true
setting maintenance_mode
drush @localstore vset maintenance_mode 1 -y
Command variable-set needs a higher bootstrap level to run - you will need invoke drush from a more functional Drupal environment to run this command. [error]
The drush command 'vset maintenance_mode 1' could not be executed. [error]
The directory /mnt/apci/store/www does not contain a valid Drupal installation [error]
running drush sql-sync
drush @localstore -y sql-drop
Command sql-drop needs a higher bootstrap level to run - you will need invoke drush from a more functional Drupal environment to run this command. [error]
The drush command 'sql-drop' could
<h1>Additional uncaught exception thrown while handling exception.</h1><h2>Original</h2><p>PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table &amp;#039;store.blocked_ips&amp;#039; doesn&amp;#039;t exist: SELECT 1 FROM {blocked_ips} WHERE ip = :ip; Array
(
[:ip] =&amp;gt; 127.0.0.1
)
in drupal_is_denied() (line 1910 of /mnt/apci/store/www/includes/bootstrap.inc).</p><h2>Additional</h2><p>PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table &amp;#039;store.system&amp;#039; doesn&amp;#039;t exist: SELECT * FROM {system} WHERE type = &amp;#039;theme&amp;#039; OR (type = &amp;#039;module&amp;#039; AND status = 1) ORDER BY weight ASC, name ASC; Array
(
)
in system_list() (line 165 of /mnt/apci/store/www/includes/module.inc).</p><hr />Drush command terminated abnormally due to an unrecoverable error.
<?php
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use AllPlayers\AllPlayersClient as Client;
require_once __DIR__.'/../vendor/autoload.php';
$app = new Silex\Application();
$app['debug'] = TRUE;