Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Cruz0r

    (@cruz0r)

    Nope, found no further bugs ??

    Thread Starter Cruz0r

    (@cruz0r)

    Seems to work!

    I did run in to some other bugs though.
    If you try to delete a 2nd (only tried 2nd) project, the bugerator_project_display variable is emptied, which causes no projects to be displayed again ?? If I set it to ‘1’, it will show both 1 and 2. Is there a way to really delete a project?

    Small typo – somewhere in the front-end I saw ‘Update Successfull’, should be ‘successful’ with 1 ell. (When changing status of a bug)

    Another small issue is the warning message when changing a bug status in the ‘list issues’ page:

    Warning: array_search() expects parameter 2 to be array, null given in /home/urdland/public_html/wordpress/wp-content/plugins/bugerator/bugerator.php on line 3852

    . This occurs once per selected bug to be changed.

    The whole CSS editing thing has some room for improvement, why not have a textarea where a user can put custom CSS which is displayed in-line, and stored in the database? To have bugerator look good I need to tweak stuff that doesn’t fit in the ‘edit CSS’ backend options because I need to change ‘h1.bugerator’ for example, this is not a predefined editable class. Storing it in the database also solves the overwriting while updating issue.

    Hope I’m not being annoying with all the bugreports ?? Your project looks good and even in the current state I’ll be using it, it’s easy to use and many similar plugins demand coins for the feature Buginator offers!

    Thread Starter Cruz0r

    (@cruz0r)

    OK, I think I’ve got it narrowed down quite a bit.
    This is buggy:

    static function get_project_list() {
    .....
     $bugerator_project_display = get_option("bugerator_project_display");
     $sql = "SELECT * FROM $bugerator_project_table ORDER BY FIELD(id,$bugerator_project_display)";
    .....

    The SQL is invalid, which causes nothing to be displayed. The actual SQL is SELECT * FROM wp_bugerator_projects ORDER BY FIELD(id,,1,2)
    Notice the ‘,,1,2’. If I manually change the value of $bugerator_project_display to ‘name’, it does work. I have no idea what the right value should be but I’m guessing you do ??

    Thread Starter Cruz0r

    (@cruz0r)

    Gotcha @ CSS.
    Both dashboard and on front page have the same issue. The ajax response, according to the debugging information, is empty.

    The only active plugin is a twitter feed plugin, I just tried deactivating it but it doesn’t make a difference. I’m hosting the website on my own server – PHP version is 5.3.4.

    I don’t think it’s the browser, as I tried both Chrome and Firefox.

    Thanks for pointing me in the right direction with the bugerator.php file, I’ll try to fix the bug myself. Way easier than bouncing back and forth. Will let you know when I’ve found it (hopefully!) or if not ??

    Thread Starter Cruz0r

    (@cruz0r)

    It didn’t – still doesn’t show projects.
    Furthermore there seems to be a bug in the new version as I got:

    Warning: fopen(/home/urdland/public_html/wordpress/wp-content/plugins/bugerator//bugerator.css) [function.fopen]: failed to open stream: No such file or directory in /home/urdland/public_html/wordpress/wp-content/plugins/bugerator/bugerator.php on line 4398
    
    Warning: filesize() [function.filesize]: stat failed for /home/urdland/public_html/wordpress/wp-content/plugins/bugerator//bugerator.css in /home/urdland/public_html/wordpress/wp-content/plugins/bugerator/bugerator.php on line 4399
    
    Warning: fread() expects parameter 1 to be resource, boolean given in /home/urdland/public_html/wordpress/wp-content/plugins/bugerator/bugerator.php on line 4399
    
    Warning: fclose() expects parameter 1 to be resource, boolean given in /home/urdland/public_html/wordpress/wp-content/plugins/bugerator/bugerator.php on line 4400

    when opening the ‘CSS/Display changes’ page. I had to manually rename bugerator-default.css to bugerator.css.

    Thread Starter Cruz0r

    (@cruz0r)

    I forgot to add that this means that I can’t edit the project(s), only open new ones.

Viewing 6 replies - 1 through 6 (of 6 total)