Read articles on our blog.

Firefox error code ssl_error_no_cypher_overlap

Posted by on Jul 14, 2015 in Networking, Uncategorized | 0 comments

Go to: about.config in the URL bar. Accept warning to continue. Search for: security.tls.version.min. Change from 1 to 0. Search for: security.tls.version.min.fallback-limit. Change from 1 to 0. Restart browser. Reload website. *Performing above security change makes your browser less secure. Use at your own risk. CrimsonShift takes no responsibility for anything.

read more

osCthumb-phpThumb does not show all cached images

Posted by on Aug 12, 2014 in osCommerce | 0 comments

One of our client’s osCommerce websites with oscThumb was not displaying all thumbnails for some reason. After messing around with the configuration file and testing a few directives, I found one that fixed the problem. PhpThumb was generating the thumbnails properly, but hit the maximum cached files limit. In order to fix this, edit the ‘cache_maxfiles’ and/or ‘cache_maxsize” parameters. In this instance, I changed it from 200 to 400. Maximum number of generated thumbnails and directories is usually less than...

read more

CMSMS FormBuilder Version: 0.9 Attachments Don’t Delete

Posted by on May 13, 2014 in CMS Development, PHP Development | 0 comments

While working on a CMS Made Simple site for a client, we ran into an issue with uploaded files to be used as email attachments not being deleted after the email is sent. This applies to their CMSMS FormBuilder Module Version 0.6. The issue was in how the code in cmsms_root/modules/FormBuilder/classes/FileUploadField.class.php was not implemented properly.  Here’s the replacement function you can use instead of the original PostDispositionAction() function, to make it work properly. function PostDispositionAction() { ...

read more

New Site Launch!

Posted by on Feb 6, 2014 in Magento, Portfolio | 0 comments

New Site Launch!

We are proud to announce the recent launch of our latest project! Turn in Concepts is based in Cincinnati, OH and  specializes in engine, suspension, driveline and chassis enhancement. With a long racing heritage, TiC designs, manufactures and installs top-quality performance parts for automotive enthusiasts. Turn in Concepts’s new website is a Magento based E-Commerce website with a custom design and layout.  In addition to the basic e-commerce features the site has a lot of custom developed components...

read more

Run SENDMAIL as it’s own different user

Posted by on Oct 1, 2013 in CentOS, Networking | 0 comments

You may need to change Sendmail to run as another user instead of root. In order to do this, run the commands below. We are using sendmail for the user, and sendmail for group. Make sure to stop the sendmail service by using the service sendmail stop command. You may also need to kill any running processes by using the killall sendmail command. groupadd -g 24 sendmail useradd -u 24 -g 24 -M -d /var/spool/mqueue \-s /dev/null sendmail chown -R sendmail:sendmail /var/spool/mqueue chmod 700 /var/spool/mqueue chgrp -R sendmail /etc/mail chmod -R...

read more

Regular expression to move legacy array index PHP code to PHP 5.4.x

Posted by on Aug 21, 2013 in PHP Development, Regular Expressions, Scripting | 0 comments

This was a bit of  headache; after we upgraded our servers to use php 5.4 we had a few clients who’s sites that went down.  For the most part it was a simple fix, of prepending a globalizer file to all page requests via htaccess, or just updating the session handling routines as various functions like session_register(), session_destroy().  However one of the sites was heavily relying on old style array syntax so things like unquoted associative array keys such as $var[index] (instead of the proper $var[“index”] were very...

read more

Supporting legacy code, using global variables and register_globals with PHP 5.4.x

Posted by on Aug 18, 2013 in Apache, PHP Development, Scripting, Web Development | 0 comments

Recently we ran into some issues with some of our old sites that are relying on the register_globals  for variable access after upgrading to PHP 5.4 which wisely no longer supports this kind of setup.  Using globals in this fashion  is a horrible practice, but sometimes you gotta maintain some legacy code. To use global variables you can add a line of code to htaccess that will run a “globalizer” file before loading the main page on every page load and extract the required variables. globalizer.php file <!--?php...

read more

CentOS list recent installed updates, YUM, RPM

Posted by on Aug 17, 2013 in CentOS | 0 comments

rpm -qa --qf '%{INSTALLTIME} (%{INSTALLTIME:date}): %{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' | sort -n

read more

Fix osCommerce 2.3.x to be compatible with PHP 5.4.x UPDATED

Posted by on Aug 17, 2013 in E-commerce, osCommerce, PHP Development | 1 comment

To make your version of osCommerce 2.3.1 or 2.3.2 compatible with upgrading to PHP 5.4.x you only need to replace 2 files.  The reason why those versions of osCommerce die with the upgrade to PHP 5.4.x is because of the new session handling process in PHP 5.4, you can read about it here:  Please note that this fix does not account for any plugins or custom code that you might have.  If you have customized your site there may be other files you will need to update. To fix: start by downloading the...

read more

Restart Backup Exec Services Script

Posted by on May 6, 2013 in Scripting | 0 comments

cd C:\Program Files\VERITAS\Backup Exec\NT\ bemcmd -o503 timeout 60 bemcmd -o502 exit

read more