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 🙂
Yep, same here. Same errors.
yes, it was made for wordpress MU
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 =)))
!!! 4 is not get_blog it’s get_bloginfo
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
and it still not working…
No one has this working on a single WordPress blog? oeai, any luck?
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!
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 ?????
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.