• Hi all,

    I’m unable to view the Directory Columns menu for a form. I’ve done so in the past so I don’t know what the change is that’s impacting this. Things that I have tried without any luck so far : Reinstalling the Add-On, updating WP, deactivating and reactivating the directory plugin, deactivating all plugins, commenting out specific code as identified by this post –
    http://wordpress.org/support/topic/form-editor-returns-blank-when-adding-approved-option. Nothing works..

    I have also tried accessing the columns from different places (entries, form edit, etc) with no luck. What appears instead is a blank window.

    This is preventing me from adding a directory into a post and has also broken all other posts where a directory was used. When I say broken, I mean nothing is displayed.

    Gravity Forms is version 1.6
    Gravity Forms Directory & Addons is 3.4.3
    WP is 3.7.1

    Anyone have a resolution for this?

    Thanks!

    http://wordpress.org/plugins/gravity-forms-addons/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Yes this can happen when you have the lastest version of Gravity Forms Directory 3.4.3

    For some reason the directory path has been set to “gravityform” so if your gravity form directory is named anything else it wont succesfully include thoose, you can do one of two things

    1. Change the name of the directory for gravity form to just “gravityforms” and nothing else and don’t forget to reactive it

    or

    2.edit “gravity-forms-addons.php” in the plugin directory “gravity-forms-addons” change

    if(!class_exists('GFEntryDetail')) { @require_once(GFCommon::get_base_path() . "/entry_detail.php"); }
    		if(!class_exists('GFCommon')) { @require_once(WP_PLUGIN_DIR . "/gravityforms/common.php"); }
    		if(!class_exists('RGFormsModel')) { @require_once(WP_PLUGIN_DIR . "/gravityforms/forms_model.php"); }
    		if(!class_exists('GFEntryList')) { require_once(WP_PLUGIN_DIR . "/gravityforms/entry_list.php"); }

    to

    if(!class_exists('GFEntryDetail')) { @require_once(GFCommon::get_base_path() . "/entry_detail.php"); }
    		if(!class_exists('GFCommon')) { @require_once(GFCommon::get_base_path()  . "/common.php"); }
    		if(!class_exists('RGFormsModel')) { @require_once(GFCommon::get_base_path()  . "/forms_model.php"); }
    		if(!class_exists('GFEntryList')) { require_once(GFCommon::get_base_path()  . "/entry_list.php"); }

    these lines can be found somewhere around line 1100-1115 give or take and it should start working again

    Thread Starter geewiz45

    (@geewiz45)

    Hi ibreezer,

    Thank you for the reply! This is an issue that I really wold like to resolve.

    The fixes you proposed did not work though. Here’s what I tried:

    -I reviewed the directories of the addons and Gravity Forms is already in “gravityforms” and Gravity Forms Directory & Addons is in “gravity-forms-addons”. So I made no changes there.

    -I was able to find the code you referenced and replaced it with the updated version. I took the extra step of confirming the directory path for all the files referenced and everything checked out. I also deactivated and then reactivated the plugin. Still no luck and the directory column window is showing up as blank.

    Again, thanks for the input but is there anything else you would suggest? Any other info you would need from me on my site?

    Thanks,
    geewiz45

    could you post a link to the site/page where this is happening

    Thread Starter geewiz45

    (@geewiz45)

    The specific issue I referenced in the initial post is occurring when I’m logged into the admin console of wordpress, in the forms menus and editing a specific form.

    I do have some previous posts that used to show a directory but no longer do. Here’s one:

    http://www.seamenultimate.com/easterns-qualifiereasterns-2013-team-interest/

    The entire content of that post is below:

    [directory form=12 page_size=”100″ search=”false” approved=”false” showadminonly=”false” wpautop=”true” lightbox=”true” showcount=”true” pagelinksshowall=”true” showrowids=”true” fulltext=”false” linkemail=”true” linkwebsite=”true” linknewwindow=”false” nofollowlinks=”false” icon=”false” titleshow=”false” searchtabindex=”false” tfoot=”false” thead=”true” dateformat=”false” tableclass=”gf_directory widefat fixed” tablestyle=”” rowclass=”” rowstyle=”” valign=”baseline” sort=”date_created” dir=”DESC” startpage=”1″ pagelinkstype=”plain” titleprefix=”” tablewidth=”80%” datecreatedformat=”F j, Y \a\t g:i a” ]

    enable error reporting change define('WP_DEBUG', false); to define('WP_DEBUG', true); in the wp-config.php file and then visit that page again and post the errors you get here and ill assist you further

    Thread Starter geewiz45

    (@geewiz45)

    I see this in the body of the post since turning on debug:

    Fatal error: Class ‘GFFormsModel’ not found in /home5/gregvass/public_html/seamenultimate/wp-content/plugins/gravity-forms-addons/gravity-forms-addons.php on line 1013 – See more at: http://www.seamenultimate.com/easterns-qualifiereasterns-2013-team-interest/#sthash.GWhq0Kue.dpuf

    there is only one way that is possible and that is if forms_model isn’t included so we’re back to the include changes i suggested earlier

    edit “gravity-forms-addons.php” in the plugin directory “gravity-forms-addons” change

    if(!class_exists(‘GFEntryDetail’)) { @require_once(GFCommon::get_base_path() . “/entry_detail.php”); }
    if(!class_exists(‘GFCommon’)) { @require_once(WP_PLUGIN_DIR . “/gravityforms/common.php”); }
    if(!class_exists(‘RGFormsModel’)) { @require_once(WP_PLUGIN_DIR . “/gravityforms/forms_model.php”); }
    if(!class_exists(‘GFEntryList’)) { require_once(WP_PLUGIN_DIR . “/gravityforms/entry_list.php”); }
    to

    if(!class_exists(‘GFEntryDetail’)) { @require_once(GFCommon::get_base_path() . “/entry_detail.php”); }
    if(!class_exists(‘GFCommon’)) { @require_once(GFCommon::get_base_path() . “/common.php”); }
    if(!class_exists(‘RGFormsModel’)) { @require_once(GFCommon::get_base_path() . “/forms_model.php”); }
    if(!class_exists(‘GFEntryList’)) { require_once(GFCommon::get_base_path() . “/entry_list.php”); }
    these lines can be found somewhere around line 1100-1115 give or take and it should

    remeber for this directory to work you need to own Gravity Forms Which is a diffrent plugin entirely by itself

    only other possibility is that your gravity forms version doesn’t have the class and needs to be updated, or alternatively you could downgrade directory addon

    older versions can be found http://wordpress.org/plugins/gravity-forms-addons/developers/ here

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Directory not showing’ is closed to new replies.