WordPress.org

Ready to get started?Download WordPress

Forums

Help Desk question (12 posts)

  1. RoseCitySister
    Member
    Posted 5 years ago #

    It appears that this plugin is for MU only, or am I missing something? It doesn't say so in the documentation or the description - has anyone installed this on a single WordPress blog?

    http://wordpress.org/extend/plugins/help-desk/

  2. bailamj
    Member
    Posted 5 years ago #

    me too! ...

    the error is:

    Warning: main(/home/aaaaaaa/public_html/aaaaaaa.com/wp-content/mu-plugins/help-desk/functions.php) [function.main]: failed to open stream: No such file or directory in /home/aaaaaaaaa/public_html/aaaaaaaaaaa.com/wp-content/plugins/help-desk.php on line 33

    Warning: main() [function.include]: Failed opening '/home/aaaaaaa/public_html/aaaaaaaaaaaa.com/wp-content/mu-plugins/help-desk/functions.php' for inclusion (include_path='.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home/aaaaaaaa/public_html/aaaaaaaaaaa.com/wp-content/plugins/help-desk.php on line 33

    Fatal error: Call to undefined function: get_site_option() in /home/aaaaaaa/public_html/aaaaaaaaaaa.com/wp-content/plugins/help-desk.php on line 36

    mu-plugin ????? help!!!! for the help desk :)

  3. themeparkwhere
    Member
    Posted 5 years ago #

    Yep, same here. Same errors.

  4. brettlewis
    Member
    Posted 5 years ago #

    yes, it was made for wordpress MU

  5. oeai
    Member
    Posted 5 years ago #

    0 open file help-desk.php at line 33
    replace line with

    define('_HELPDESKROOT', ABSPATH . '/wp-content/plugins/help-desk/help-desk/');

    now you should inspect all files *.php and replace
    1 update_site_option with update_option
    2 get_site_option with get_option
    3 is_site_admin() with is_admin()
    4 look in function.php line28 and replace get_bloginfobyid with get_blog
    wwell i got it working watch your logs if it's not work =)))

  6. oeai
    Member
    Posted 5 years ago #

    !!! 4 is not get_blog it's get_bloginfo

  7. oeai
    Member
    Posted 5 years ago #

    edit file /help-desk/funstions.php
    edit this line echo '<script src="' . $siteurl . '/wp-content/mu-plugins/help-desk/functions.js" to
    echo '<script src="' . $siteurl . '/wp-content/plugins/help-desk/help-desk/functions.js"

    replace in all files
    help-desk.php&task
    wwith
    help-desk/help-desk.php&task

  8. oeai
    Member
    Posted 5 years ago #

    and it still not working...

  9. ddietz
    Member
    Posted 5 years ago #

    No one has this working on a single WordPress blog? oeai, any luck?

  10. ddietz
    Member
    Posted 5 years ago #

    So working off of what oeai posted, I was able to get the latest version of help-desk (ozblog) to run on WP 2.7.1 w/o much trouble. I did the following to all files in the plugin (find-and-replace w/ EditPlus):

    • removed "mu-" from all file paths
    • update_site_option -> update_option
    • get_site_option -> get_option
    • is_site_admin -> is_admin
    • replace get_blog_info_by_id() -> get_bloginfo('url')
    • I think that's everything i can recall...

    The above got it running... but it's still a little rough. The e-mails aren't formatted properly and they are going out with broken links. But that shouldn't be hard to fix. Hope this helps someone else!

  11. black_magik
    Member
    Posted 5 years ago #

    I have do everything you say but i still have problems;

    the plugin is activated but when i go to the Help Desk Link into the admin page it appear:

    Fatal error: Call to undefined function: help_desk_add_postbox_js() in /www/icore.tigem.it/htdocs/wp-content/plugins/help-desk/pages/tickets.php on line 4

    can anyone help me ?????

  12. RoseCitySister
    Member
    Posted 5 years ago #

    Go to that file, tickets.php, and paste what is on line 4 (include the lines before and after line 4 to make sure you get the bit) here - use the code button on this editor.

Topic Closed

This topic has been closed to new replies.

About this Topic