How Do You Become virtuous?
Every successful person has one thing in common - they are virtuous. Which means they are honest, sincere, courageous, patient, and above all respectable. This may sound like an oversimplification of human character, but that's the way the majority of people define virtuous themselves. After all, we typically believe that the most virtuous of people are those who love their children, help others out of depression, and are law abiding citizens. But what about all the people out there who aren't actually so virtuous?
- Read more about How Do You Become virtuous?
- Log in to post comments
Upgrading PHP 5.4 to PHP 7.2 on Centos 7
Check current PHP version
php --version
curl 'https://setup.ius.io/' -o setup-ius.sh
sudo bash setup-ius.sh
sudo yum remove php-cli mod_php php-common
sudo yum install mod_php72u php72u-cli php72u-mysqlnd
(where php72u matches desired version eg php73u etc.)
I also needed to enable the following for my Drupal sites to work:
sudo yum install php72u-soap php72u-xml xmlrpc mbstring json php72u-gd
sudo systemctl restart httpd
- Read more about Upgrading PHP 5.4 to PHP 7.2 on Centos 7
- Log in to post comments
Drupal Ajax Shopping Cart pushing content downward
The page content is pushed downward when a product is added to cart. The shopping cart is displayed un-formatted at the top. This happens when Ajax Shopping Cart is enabled but the block is not placed on the page.
- Read more about Drupal Ajax Shopping Cart pushing content downward
- Log in to post comments
Drupal 7: Notice: Undefined variable: views_php_product_url_with_id in __lambda_func() (line 35 of /sites/all/modules/views_php/plugins/views/views_php_handler_field.inc(207) : runtime-created function)
Notice: Undefined variable: views_php_product_url_with_id in __lambda_func() (line 35 of /sites/all/modules/views_php/plugins/views/views_php_handler_field.inc(207) : runtime-created function)
Drupal 7: Ajax error when trying to add new images or delete existing ones
I'm suddenly unable to upload images or to delete images once added. I get an Ajax error
Error: Notice: Undefined index: und in mymodule_handler_product_link->render() (line 16 of /sites/all/modules/custom/mymodule/mymodule_handler_product_link.inc)
Code: $product_url = $entity->field_item_url[LANGUAGE_NONE][0]['value'];
Error: Notice: Undefined index: und in mymodule_handler_product_link->render() (line 16 of /custom/mymodule/mymodule_handler_product_link.inc)
Drupal 7 organic groups error: Can't save entity as group, because user Admin can't be subscribed to group and become a manager
I'm getting the following error when trying to save content: Can't save entity as group, because user Admin can't be subscribed to group and become a manager
Get Amazon Associate account approved
Amazon requires that a new associate make at least three qualified referrals in order to be approved for their associate program. One key requirement is that the site must have sufficient unique content. What qualifies as sufficient unique content is unclear, but some users have suggested 16 or more pages.
Tasks:
1. Investigate what constitute sufficient unique content
2. Determine how to satisfy this requirement
3. Get qualified clicks
- Read more about Get Amazon Associate account approved
- Log in to post comments
Errors when editing selected users or associating them with content
Error on user edit:Editing Admin
Notice: Trying to get property of non-object in entity_metadata_no_hook_node_access() (line 685 of /var/www/html/main.marketplace/sites/all/modules/entity/modules/callbacks.inc).
Notice: Trying to get property of non-object in entity_metadata_no_hook_node_access() (line 685 of /var/www/html/main.marketplace/sites/all/modules/entity/modules/callbacks.inc).
EntityMalformedException: Missing bundle property on entity of type node. in entity_extract_ids() (line 7933 of /var/www/html/main.marketplace/includes/common.inc).
Drupal Ajax Add-to-cart Popup go to Checkout link points to Cart rather than Checkout
Drupal Ajax Add-to-cart Popup go to Checkout link points to Cart rather than Checkout