Easy Restaurant Menu Manager
Not working (4 posts)

  1. ngreenwood
    Posted 4 years ago #

    Could you please update the plugin so that it works. Here is the problem in /lib/class.item.php on line 24 there is this :

    $sql = "SELECT ".WPRMM_ITEM_DB.".*, ".WPRMM_ICON_DB.".image AS icon_image, ".WPRMM_ICON_DB.".name AS icon_name, ".WPRMM_ICON_DB.".description AS icon_description FROM wp_wprmm_items LEFT JOIN wp_wprmm_icons ON (wp_wprmm_items.icon_class = wp_wprmm_icons.id) $where ORDER BY category_id, display_order, id";

    As you can see the table names are hardcoded. Please update to be this :

    $sql = "SELECT ".WPRMM_ITEM_DB.".*, ".WPRMM_ICON_DB.".image AS icon_image, ".WPRMM_ICON_DB.".name AS icon_name, ".WPRMM_ICON_DB.".description AS icon_description FROM ".WPRMM_ITEM_DB." LEFT JOIN ".WPRMM_ICON_DB." ON (".WPRMM_ITEM_DB.".icon_class = ".WPRMM_ICON_DB.".id) $where ORDER BY category_id, display_order, id";


  2. Richard Royal
    Plugin Author

    Posted 4 years ago #

    Hey ngreenwood,

    Thanks for catching that! It's leftover from debugging/dev code and is patched in 1.0.1.

  3. ngreenwood
    Posted 4 years ago #

    One other thing that I found that I would suggest be done is in /views/view.items.php would be to add nl2br() around the description. I really don't see any downside to adding this is why I am making the suggestion. If I want the description to be all in one line I will just put it all in one line, but if I want it broken in to multiple lines at this point I am not able to do that because it doesn't have that function on it.

  4. sam1111
    Posted 3 years ago #

    Hi there,
    My website is continually being downed on a fairly regular basis (~4-5 times a week) by a corrupted htaccess file. This causes it to display a 500 internal server error. Whenever it happens i just replace the htaccess file with the original and it works fine (short term fix).

    The htaccess file seems to get randomly jumbled up a little differently each time it happens. Some times it will simply add an extra '>' and sometimes it will duplicate random chunks of code.

    I have found numerous threads describing similar problems (with 's' or 'ss' added to the end of the htaccess file etc.) but none exactly like what I am encountering. I been through many programmers who have found the problem... which is the EASY RESTAURANT MENU MANAGER PLUGIN, could you please help me to stop this issue.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Easy Restaurant Menu Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic