TideLog Archive for the “Wordpress Bugs” Category

If I find bugs in Wordpress, I’ll post them, and fixes, here.

You may have noticed recently that TideLog has been flagged as a security risk by Google and others. This is NOT true, their search engine has picked up on some 7Zip archives such as our Destruction Derby download, and thinks they’re malware.

TideLog is infection free, so is the entire server, and Google’s shoddy tactics have cost me users and search results.

Comments No Comments »

This past week, Warren Buffett’s Berkshire Hathaway agreed to buy the Duracell brand battery products division from Procter & Gamble. Though primarily known for its alkaline batteries, Duracell also makes NiMH and lithium rechargeable products. Some analysts speculate that the deal could have broader implications for the power technology industry.

Some analysts say the acquisition of Duracell by Warren Buffett's Berkshire Hathaway could have implications in the areas of wireless powerand electric vehicles.

Some analysts say the acquisition of Duracell by Warren Buffett’s Berkshire Hathaway could have implications in the areas of wireless power
and electric vehicles.

For example, wireless charging is one technology that could see a boost. The new investment may accelerate Duracell’s plans to place PowerMat charging devices in Starbucks coffee shops, which number more than 21,000 worldwide. Another area of speculation revolves around Berkshire Hathaway’s investment in the Chinese electric car maker BYD and the possibility that this deal could be a way for Duracell to expand into batteries for vehicles and the power grid.

Comments No Comments »

I’ve been using a heavily customized version of Mandigo as TideLog’s flagship theme for a while, and it’s been perfect, bar a slight layout issue with the footer. However, I upgraded to WordPress 3.0 a while back, but when attempting to block a new page from showing in the navigation bar via the theme’s Theme Options screen I receive an error complaining about permissions. I had to check to see if I had modified anything recently that could have caused these permissions but was unable to come up with anything. I did install a plugin that allowed me to change the default username from admin, but that wasn’t the cause.

Turns out in the changelog that I keep for Kana and myself in the theme itself, the item that made the most sense was the upgrades from WordPress 2.X to WordPress 3.X. Below I describe the error in more detail followed by how to resolve the issue as it’ll likely affect others. Here’s what the error looks like:

you-do-not-have-sufficient-permissions-to-access-this-page

After visiting the internal WP site that Rikku uses for Matsuki Transport, which is still running WordPress 2.x and has the Mandigo theme installed, I noticed the difference was in the URL used to access the Theme Options page. The URL of the site running WP 2.X was “/wp-admin/themes.php?page=Theme%20Options” but in the updated WordPress 3.X the URL was attempting to access “/wp-admin/themes.php?page=ThemeOptions”. Since I knew that I had not upgraded Mandigo the problem must be with the WordPress upgrade as thought previously but instead of modifying WP it made more sense to update Mandigo to resolve the issue as noted below by modifying the theme_options.php file located at the below path.

Mandigo theme_options.php Location:

/wp-root/wp-content/themes/mandigo/backend/theme_options.php

My code snip below shows the original section that we will change in the second code snip below.

Original theme_options.php add_theme_page PHP Function:

// the functions that load the theme options page
        function add_mandigo_options_page() {
                global $dirs;
                add_theme_page(
                        'Theme Options',
                        '<img src="'. $dirs['www']['backend'] .'images/attention_catcher.png" alt="" /> Theme Options',
                        'edit_themes',
                        'Theme Options',
                        'mandigo_options_page'
                );

        }

Updated theme_options.php add_mandigo_options_page PHP Function:

// the functions that load the theme options page
        function add_mandigo_options_page() {
                global $dirs;
                add_theme_page(
                        'ThemeOptions',
                        '<img src="'. $dirs['www']['backend'] .'images/attention_catcher.png" alt="" /> ThemeOptions',
                        'edit_themes',
                        'ThemeOptions',
                        'mandigo_options_page'
                );

        }

Once you replace the original snip of code with my updated one, save the file, refresh your blog, the issue should be gone! 🙂

Comments 2 Comments »

A few posts ago, I mentioned how I was having trouble with ToCA Race Driver 3’s StarForce DRM driver under 64bit Windows 7, and detailed a manual driver removal method. Well, after some more playing about, I’ve installed 32bit Windows 7 on my laptop on a separate hard drive, and guess what? The driver STILL DOES NOT WORK! But, this time, it doesn’t stop the computer starting, Windows simply disables the driver every boot.

bmaytum, a user on Codemasters’ forum, sent off a support request, and here was Rob from Codemasters’ reply:

I just got an Impressively quick response via email from “Rob” at CodeMaster’s Customer Service. SADLY, Rob said this:

“Thank you for submitting your recent request to Codemasters Customer Services concerning Toca Race Driver 3.

Unfortunately Toca Race Driver 3 does not work under Windows 7; the game will only work under those versions of Windows listed on the back of the box. Due to the way the game was programmed it is not possible to patch the game to work under Windows 7, unfortunately. Sorry.

If you need further assistance, please reply to this email and INCLUDE THIS LINE IN YOUR REPLY:- ……”

So Codemasters are REFUSING OURTRIGHT to provide a patch!! Starforce say patching has got to be done via developers too, so we’re out of luck. Aha, you didn’t really think that was it, did you? There’s a slightly illegal way round this, and that is to use a No-DVD cracked EXE with it.

Scared you’ll get sued? I wouldn’t be, they’re too damn lazy and customer non-focused to care themselves to make an official patch!

Here’s a proper removal method for the StarForce crap, first:

1. Download the official StarForce removal tool by clicking this link: sfdrvrem

2. It’s hosted here on TideLog, so download it and extract it using your favourite unzipper, you don’t need to worry about viruses.

3. Run the EXE, and then when it asks you to reboot, do so.

4. You should now be fine and dandy, without the “Windows disabled this driver due to incompatibility” message on every boot.

5. DON’T UNINSTALL the game, but go find a cracked EXE for your version of the game, and it should run fine. I’m not providing cracked EXE’s so I don’t get done for distributing copyrighted works, so am NOT RESPONSIBLE for you picking up viruses from Russian warez sites. THESE from GameCopyWorld seem to work fine, though….

And finally:

6. Don’t buy Codemasters’ software. They don’t care about loyal customers, so don’t give a damn about them!

 

Comments No Comments »

The article in the Metro shocked me this morning. 11,000 children have been admitted with drug and drink abuse problems last year. The total included 6,075 under 16’s hooked on cannabis. 102 of these were under 12.

And, as usual, the first point of blame is the Government. Shadow Health Secretary Andrew Lansley said, “It’s a sad indictment of our broken society that so many are turning to things like drink or drug abuse at such young ages. ”

Labour are neglecting a forgotten generation of children.”

Err, Andrew, hold it there a minute. There’s something called Parenting that sits in between the government and society. You a parent yourself, or did you forget they exist? If kids have rubbish parents, which they often do, they’ll end up like they do. Parents are the biggest influence on kids, forget society. It’s the crap parenting that makes them give in to peer pressure. They see parents smoking, drinking and snorting cannabis, they follow suit. It’s natural. There’s also Law that the parents seem to ignore too.

But, instead of doing something about the parents, such as improving their parenting, and making the kids feel loved, who do you blame? The Government.

It’s the easiest way out. Blame the Government, they’re responsible for the thousands of children, making sure they’re fed, clothed and nannied.

Not. Wake up, Shadow Health Secretary. And get a life.

Comments No Comments »