GetSimple Support Forum
Plugin Help - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13)
+--- Thread: Plugin Help (/showthread.php?tid=3594)



Plugin Help - shovenose - 2012-09-25

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.


Plugin Help - shawn_a - 2012-09-25

Its called a php wsod.

Usually a syntax error, turn debugging on when testing new code.


Plugin Help - shovenose - 2012-09-25

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


Plugin Help - Carlos - 2012-09-25

Remove the last comma before the closing bracket.


Plugin Help - shovenose - 2012-09-25

*facepalm*
Thanks!