Posts: 687
Threads: 63
Joined: Nov 2011
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.
Posts: 6,266
Threads: 181
Joined: Sep 2011
Its called a php wsod.
Usually a syntax error, turn debugging on when testing new code.
Posts: 687
Threads: 63
Joined: Nov 2011
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
Posts: 3,491
Threads: 106
Joined: Mar 2010
Remove the last comma before the closing bracket.
Posts: 687
Threads: 63
Joined: Nov 2011