Skip to content

Evermore Technologies Blog

Random musings from inside the company.

  • Home
  • Programming
  • Magento
  • Server Administration
  • Sites We Developed
Evermore Technologies Blog
Random musings from inside the company.
  • Uncategorized

    Red Hat and CentOS issues with permissions

    ByKevin Miles March 15, 2017

    I had a server that was running Red Hat that threw an error of: PHP Fatal error: Uncaught exception ‘Zend_Cache_Exception’ with message ‘cache_dir ” is not writable The directory it was trying to write to had the apache user as a group member, and group members had write permissions.  I even changed the permissions to…

    Read More Red Hat and CentOS issues with permissionsContinue

  • Manual SQL - Use with Caution

    Truncating Magento Log Tables

    ByKevin Miles June 6, 2016June 9, 2016

    Log cleaning in Magento is great, and they even provide a shell script for cleaning log tables. But sometimes I just want to do it the fast way through the MySQL cli. To do that I run this script. [sql]TRUNCATE TABLE dataflow_batch_export; TRUNCATE TABLE dataflow_batch_import; TRUNCATE TABLE log_customer; TRUNCATE TABLE log_quote; TRUNCATE TABLE log_summary; TRUNCATE…

    Read More Truncating Magento Log TablesContinue

  • Uncategorized

    Winmail.dat attachments from Outlook on Office 365

    ByKevin Miles May 25, 2016December 15, 2017

    So, I setup a new e-mail account on Office 365.  For two reasons: 1. I like using Outlook and a hosted Exchange instance lets me leverage way more Outlook features than something like Google Apps. 2. I am leaving my current job and will be losing my Word, Excel, etc. software when I do. It…

    Read More Winmail.dat attachments from Outlook on Office 365Continue

  • SQL

    Removing Definer line from mysqldump

    ByKevin Miles May 24, 2016June 9, 2016

    I’ve had issues from time to time where a sql file won’t import because if has a definer in it that doesn’t match the server I’m trying to import the file to. A simple linux command can replace the definer in these dump files to be the current user allowing everything to work as intended….

    Read More Removing Definer line from mysqldumpContinue

  • Magento

    Magento Extension – Crowdfunded Custom Designed Products

    ByKevin Miles October 3, 2014

    I spend a lot of time in magento development now a days, and because of that, I am constantly finding new extensions to help with my clients needs. I cam across something recently that was very cool to me.  It’s an extension that allows a magento site to let people design and sell their own…

    Read More Magento Extension – Crowdfunded Custom Designed ProductsContinue

  • Manual SQL - Use with Caution

    Deleting All Products from a magento database with SQL

    ByKevin Miles February 12, 2014

    It doesn’t happen often, but sometimes I need to wipe all products from a magento database during development. Either an import was written slightly off, or it was just full of test data and it’s cleaner to wipe the products instead of deleting them through the admin. A simple script for this found in a…

    Read More Deleting All Products from a magento database with SQLContinue

  • Uncategorized

    Flush the cache using SQL in Drupal 7

    ByKevin Miles December 12, 2013

    I had to flush the cache on a Drupal 7 site and couldn’t get to the admin.  So, I needed to flush the cache straight on the database layer. Luckily all the cache tables are named cache_{something}.  Flushing the cache was as simple as running this command on the database: [code language=”sql”] TRUNCATE TABLE {database_name}.cache_block;…

    Read More Flush the cache using SQL in Drupal 7Continue

  • Uncategorized

    Attaching a side div to the top of a window.

    ByKevin Miles May 10, 2013

    I was working on a site and needed to have a side nav stick to the top once the header was scrolled off the screen.  Positioning it is easy enough on page load, but I wanted to move it with window scroll. First I generated the div with theside nav items in it.  Positioned it…

    Read More Attaching a side div to the top of a window.Continue

  • Server Administration | Ubuntu

    Adding a swap file to an Ubuntu 12.04 system

    ByKevin Miles March 18, 2013

    I’ve started to move myself over to Amazon EC2 servers. I still have some at Rackspace and like a lot of what they have to offer, but I think the seemingly lower cost and flexibility offered with EC2 is becoming better suited to my business. But that’s just me right now. The problem is, I…

    Read More Adding a swap file to an Ubuntu 12.04 systemContinue

  • Programming

    VB.NET dropdown or listbox, remove all items

    ByKevin Miles January 3, 2013

    [code] ddlMyDropdownList.Items.Clear() [/code]

    Read More VB.NET dropdown or listbox, remove all itemsContinue

Page navigation

Previous PagePrevious 1 2 3 4 5 … 8 Next PageNext
Search

Categories

  • AI (1)
  • Internet Marketing (4)
  • Javascript (1)
  • Magento 2 (8)
    • Magento 2 Code Snippets (4)
  • Programming (33)
    • Drupal (4)
      • Ubercart (2)
    • Magento (14)
      • Collections (1)
      • Design (2)
      • Magento 1 Code Snippets (1)
      • Manual SQL – Use with Caution (3)
    • SQL (4)
    • Version Control (2)
      • Git (1)
    • Wordpress Development (4)
      • Plugins (4)
  • Server Administration (7)
    • Ubuntu (7)
      • Bash Commands (1)
      • Web Server (5)
  • Uncategorized (14)
  • Website Development News (10)
    • Sites We Developed (10)

© 2026 Evermore Technologies Blog

Scroll to top
  • Home
  • Programming
  • Magento
  • Server Administration
  • Sites We Developed
Search