This gives the following error (tested on localhost):
How do you test your plugins?
Edit:
It seems when I disable the following line in gs-blog.php
by using /* */ it works, but I still get another error:
Ok error is gone, but on Create post page I get 2 errors:
1:
Edit 2:
On line 692 of ADMINFUNCTIONS.PHP there is the following code:
I think this should be:
All errors gone.
Edit 3:
Bug: When on the main Blog admin-page, you see some text and a link: There are no posts found. Click Here To Create One
The link points to ~/admin/load.php?id=blog&create_post instead of ~/admin/load.php?id=gs-blog&create_post . Clicking on the link gets you to the Plugins page.
Edit 4: If I try creating a post, both Save Post and Cancel buttons bring me to the Plugins page, Posts are not created. Same with Categories.
Url for cancel button points to ~/admin/load.php?id=blog&cancel instead of ~/admin/load.php?id=gs-blog&cancel (tested, works).
Quote:Parse error: syntax error, unexpected T_STRING in ~\plugins\gs-blog.php on line 36Apart from error, page is blanc.
How do you test your plugins?
Edit:
It seems when I disable the following line in gs-blog.php
Code:
$blog_settings_button = 'Settings' // A plain old title for now.
Quote:Notice: Undefined variable: blog_settings_button in ~\plugins\gs-blog.php on line 42So I dissable that line as well:
Code:
/* add_action('blog-sidebar','createSideMenu',array($thisfile, $blog_settings_button,'settings')); */
1:
Quote:WARNING: INCLUDE(~/PLUGINS/GS-BLOGCKEDITOR.PHP) [<A HREF='FUNCTION.INCLUDE'>FUNCTION.INCLUDE</A>]: FAILED TO OPEN STREAM: NO SUCH FILE OR DIRECTORY IN ~\GS-BLOG\INC\ADMINFUNCTIONS.PHP ON LINE 6922:
Quote:WARNING: INCLUDE() [<A HREF='FUNCTION.INCLUDE'>FUNCTION.INCLUDE</A>]: FAILED OPENING '~/PLUGINS/GS-BLOGCKEDITOR.PHP' FOR INCLUSION (INCLUDE_PATH='.;C:\PHP\PEAR') IN ~\PLUGINS\GS-BLOG\INC\ADMINFUNCTIONS.PHP ON LINE 692
Edit 2:
On line 692 of ADMINFUNCTIONS.PHP there is the following code:
Code:
include BLOGPLUGINFOLDER."ckeditor.php";
Code:
include BLOGPLUGINFOLDER."/ckeditor.php";
All errors gone.
Edit 3:
Bug: When on the main Blog admin-page, you see some text and a link: There are no posts found. Click Here To Create One
The link points to ~/admin/load.php?id=blog&create_post instead of ~/admin/load.php?id=gs-blog&create_post . Clicking on the link gets you to the Plugins page.
Edit 4: If I try creating a post, both Save Post and Cancel buttons bring me to the Plugins page, Posts are not created. Same with Categories.
Url for cancel button points to ~/admin/load.php?id=blog&cancel instead of ~/admin/load.php?id=gs-blog&cancel (tested, works).