Who knows what’s next?

Shopp loading incorrect WordPress installation

When trying to use their TinyMCE button, the resulting window displays a different WordPress installation (normally the login window). This was quite annoying since I didn’t have all of my category and product IDs committed to memory. ;)

This bug is caused by the way Shopp is including content into shopp/core/ui/behaviors/tinymce/dialog.php, specifically with the function find_filepath. Shopp is searching your entire document root for a core WordPress file, wp-load.php. Once it finds this file it is loaded into the window that is displayed for you. The problem presents itself because Shopp doesn’t check to see if it’s the correct WordPress installation that wp-load.php came from.

Quick Fix

Open up the file shopp/core/ui/behaviours/tinymce/dialog.php and comment out lines 2-27. Then add the following snippet:

$includefile = str_replace('/wp-content/plugins/shopp/core/ui/behaviors/tinymce/dialog.php','',$_SERVER['SCRIPT_FILENAME']) . '/wp-load.php';
require_once($includefile);

It’s possible this will break other things, so don’t do this on a production installation. Let me know if this works for you in the comments.

No Comments »

Justin Fee Insurance

Wow, we’ve been busy recently. Despite our hectic schedule, we were able to push Justin Fee’s new insurance website live.

The site is built on WordPress with a handful of plugins. BinaryM created a new logo for Justin and designed the site around that.

I don’t have time to write much about it, so go ahead and check it out.

No Comments »

Treehuggers International

Treehuggers_International_Website

A couple of months ago we were connected with Tommy Hough, an on air personality for FM 949 in San Diego, to help him with his personal passion and side-project Treehuggers International.

Treehuggers came to BinaryM with an existing WordPress.org install, but needed a new theme designed and coded along with a usable format to archive, play and download the shows podcasts.   After some time in our labs, we are proud to announce the launch of TreehuggersIntl.com.

Some cool sections to check out:

Take a look and let us know what you think.  Be Careful ~ You Might Just Learn Something!

No Comments »

Did I ever tell you…

Just received an email from Blan Cox over at Mills Communications:

Matt,

Did I ever tell you how awesome our website is? You are the most amazing website developer on the planet. I have never liked the Mills website as much as I do right now.

You are the bomb.

Blan

I like you too Blan and your project was fun.

No Comments »

From the Blog

When trying to use Shopp's TinyMCE button, the resulting window displays a different WordPress installation (normally the login window). This bug is caused by the way Shopp is including content into shopp/core/ui/behaviors/tinymce/dialog.php.
read more

From our clients...

BinaryM’s work for me over the past 4 years has been truly exceptional. From conception to implementation, BinaryM’s dedication, talent and work ethic in appareled in this business. They are at the top of their field in terms of technology and cost saving solutions for their clients. I have come to rely heavily on BinaryM – they are always there for me 24/7. I never hesitate to recommend BinaryM’s services to anyone looking to develop a new web site or refresh an existing project.

Kathryn McDonald
CEO / Owner
The Global Toybox

Contact Us...

Email:
info@binarym.com
Phone:
619-928-2221
Fax:
619-462-4883