Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Plugin Help
#1
As soon as I add the plugin register, it just makes Get Simple white.
How do I fix this issue?
I'll upload my code here when I'm on my laptop next.
Reply
#2
Its called a php wsod.

Usually a syntax error, turn debugging on when testing new code.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#3
Alright this is my code:
Code:
<?php
/*  Plugin Name: Adminav
    Add links to the Navigation Tabs and Side Menus in the GetSimple Admin Interface!
    Version: 1.0
    Author: Michel Staake
    Author URI: http://michelstaake.me/
*/
$adminav=adminav(__FILE__, ".php");
register_plugin(
    $adminav,
    'Adminav',
    '1.0',
    'Michel Staake',
    'http://michelstaake.me/',
    'Add links to the Navigation Tabs and Side Menus in the GetSimple Admin Interface!',
    'plugin',
    'adminav',
);
?>

And this is the error it's giving me:
Quote:Parse error: syntax error, unexpected ')' in C:\Program Files (x86)\EasyPHP-12.1\www\plugins\adminav.php on line 18

Thank you Smile
Reply
#4
Remove the last comma before the closing bracket.
Reply
#5
*facepalm*
Thanks!
Reply




Users browsing this thread: 2 Guest(s)