Mac (yuk) issues with .htaccess

No, I don’t like Mac’s, but recently two seperate users had the same issue with a Mac OS “feature”.

This tip is brought to you by Brad at communityseo.com and is basically a copy of his post there. I don’t claim credit for the post, only credit for finding the post.

Files which have the prefix of “.” are treated as core system files, because that’s how they’re named in Mac. So by default, Finder hides all these files completely - you can’t find them unless you have some knowledge of the Terminal. So, if you want to be able to grab your. htaccess file, follow these steps:

Please Login or Register to read the rest of this content.

Whatever you do, don’t reply to this post and try and convince me Mac’s are good.

Unexpected character in input

Recently a customer installed IndexU on their host and received an error after installation. The error was

Unexpected character in input: ‘\’ (ASCII=92) state=1 in
/lib/link.class.php on line 1209

Parse error: syntax error, unexpected T_STRING in
/lib/link.class.php on line 1209

The issue was due to the hosts PHP configuration and the solution was to add the following Please Login or Register to read the rest of this content.

Thanks to Dody for providing this fix

IndexU Spam Filters

I’m sure many of you have seen the “Spam Links” link in the admin panel and wondered how to use it. Unfortunately this is a poorly implimented feature due to where the links needed appear in the admin panel.

I have tested this for the title, url and description fields and it catches the keywords in every field.

Please Login or Register to read the rest of this content.

Hope you love this tip and it kicks some serious spam butt! If this tip helps to save you a lot of trouble please link to IndexUSupport.com.

FTP mode

Two customers with the full version of IndexU in the last 24 hours suffered from the same fate, problems all over their sites, usually in the form of warnings.

Do the usual troubleshooting over an email or two and then get the ftp/admin/cpanel details to go check it out and find out what the problem is.

Logging in to FTP first I see the problem immediately! I’m not even going to hide this post as this is basic and extremely important.

Both users took it upon themselves to upload all the files in binary mode. That is totally wrong and causes problems. The files MUST be uploaded in ASCII mode.

Yes I know the free version requires binary mode, but the full version does not!

Lots of warnings?

I’ve had a few users lately that seemed to come up with the same issue. The script appears to be working fine but they receive a lot of warnings at the top of the page. This fix is simple and takes care of that issue.

Please Login or Register to read the rest of this content.

Thanks to Dody for this fix

Error 500

I’ve noticed a bunch of users are complaining about Error 500 issues with IndexU. This problem is quite simple to fix.

Please Login or Register to read the rest of this content.

Update OOPS!

I learned a lesson today when doing an upgrade to a site. I performed the upgrade a week ago actually and today was the first time I noticed the issue.

As you all know WordPress can be integrated with IndexU. But WP comes with many updates over time to correct issues and sometimes add features.

I upgraded WP and thought nothing of it. I had actually upgraded 9 WP installations all in one batch and since it worked fine on a few sites, I assumed it worked fine on others as well.

Well WordPress was working well, but the issue was that since I dumped the entire update onto the server the default theme was overwritten. If you know about the IndexU integration it requires changes to the default theme.

Suddenly I’m now looking at a standard installation instead of an integrated installation. OOPS!

My mistake was in upgrading the default theme, when I should have left it alone. The other installations are all on standalone blog sites which all use custom themes so none of them would be affected.

Hope you can learn from my mistake, I know I will.

Call to undefined function: addfilter

Three times today I received requests for support with the following errors

Call to undefined function: addfilter()

This is an error that shouldn’t happen to anyone if they follow directions and use my installation guide.

The solution

Please Login or Register to read the rest of this content.

This is why manuals were written, to prevent issues like this.

Upgrading from version 2

This may be a tip for a very old version, but there are still users out there running IndexU v2.

To upgrade your database from v2 to the latest release here are the steps you need to take

Please Login or Register to read the rest of this content.

I can’t take credit for this, I actually found it on the nicecoder forum and decided to archive it here.

Fun with cron, mysql and backups

So I was looking around today for some info on mysql backups and I came across some other interesting stuff. I decided to post it for you as it may help you.

Optimize your database via cron

I would suggest doing a backup before running this as optimizing and using auto-repair can cause data loss under some circumstances.

Enter the following in cron

Please Login or Register to read the rest of this content.

Backup database to folder via cron

Want to automatically backup your database daily or weekly and save it in a folder on your server?

Enter the following in cron

Please Login or Register to read the rest of this content.

Note that this will overwrite the previous backup so it will not fill up your system with tons of files.. Create multiple (7) cronjobs and change mysql_backup.gz to weekdays to backup the database daily.

 

Send your database to an email address via cron

But here’s the best of them all. This little script when run by cron will email you a copy of your database! Remember that many hosts have a limit to the size of attachments they will accept.

Please Login or Register to read the rest of this content.