Author Topic: Plug In  (Read 3882 times)

Offline Donald

  • Sr Member
  • Posts: 2,452
    • View Profile
    • My Blog
Plug In
« on: November 30, 2010, 10:59:48 AM »
I have just purchased a plug in. I uploaded from desktop to  wp dashboard. It installed ok. I went to activate and this message came up "The plugin does not have a valid header." Can anyone help, otherwise I'll be asking the geezer for my money back.

Thanks and Regards

Donald

 :thinking: *madpc*



Offline Wayne

  • Sr. Member
  • Posts: 527
  • Let's EAT: Exposure-Action-Trade
    • View Profile
    • Mercs LLC: Action Oriented Technology
Re: Plug In
« Reply #1 on: November 30, 2010, 11:31:39 AM »
Donald,

Usually that means it is missing the required lines in the main .php file.
From Wordpress themselves (http://codex.wordpress.org/Writing_a_Plugin):
"The minimum information WordPress needs to recognize your Plugin is the Plugin Name line. The rest of the information (if present) will be used to create the table of Plugins on the Plugin management screen. The order of the lines is not important. "

Quote
<?php
/*
Plugin Name: Name Of The Plugin
Plugin URI: http://URI_Of_Page_Describing_Plugin_and_Updates
Description: A brief description of the Plugin.
Version: The Plugin's Version Number, e.g.: 1.0
Author: Name Of The Plugin Author
Author URI: http://URI_Of_The_Plugin_Author
License: A "Slug" license name e.g. GPL2
*/
?>

Offline Donald

  • Sr Member
  • Posts: 2,452
    • View Profile
    • My Blog
Re: Plug In
« Reply #2 on: November 30, 2010, 01:48:38 PM »
Wayne,

Ooopps, I made a boo boo. The plug in folder had the the plug in and a read me document. I remove the plug in onto my desktop and the went onto my dashboard and uploaded again. It worked.

Thanks a lot anyway mate.

Regards

Donald

 *duh* *duh*

Henley

  • Guest
Re: Plug In
« Reply #3 on: November 30, 2010, 03:04:24 PM »
I've had similar issues with my customers for some of the plugins that I sell, and I now have the customers download the documentation separate from the plugin for exactly that reason.

Offline Donald

  • Sr Member
  • Posts: 2,452
    • View Profile
    • My Blog
Re: Plug In
« Reply #4 on: November 30, 2010, 06:00:00 PM »
Thanks wayne and Henley. Guess this post can go into the archives forever. Remember, to check the folder and remove anything that should not be in it.

Anyway, not sure if I like it. I'll get the link and post it. It cost $6.95.

Donald