• When I install and activate, I get this error :
    Warning: require_once(/home/wxpcom/domains/wordxpression.com/public_html/gravity/wp-content/plugins/gravity-forms-advanced-file-uploader/inc/ReduxFramework/ReduxCore/inc/class.redux_instances.php): failed to open stream: No such file or directory in /home/wxpcom/domains/wordxpression.com/public_html/gravity/wp-content/plugins/gravity-forms-advanced-file-uploader/inc/ReduxFramework/ReduxCore/framework.php on line 35

    Fatal error: require_once(): Failed opening required ‘/home/wxpcom/domains/wordxpression.com/public_html/gravity/wp-content/plugins/gravity-forms-advanced-file-uploader/inc/ReduxFramework/ReduxCore/inc/class.redux_instances.php’ (include_path=’.:/usr/local/lib/php’) in /home/wxpcom/domains/wordxpression.com/public_html/gravity/wp-content/plugins/gravity-forms-advanced-file-uploader/inc/ReduxFramework/ReduxCore/framework.php on line 35

    https://wordpress.org/plugins/gravity-forms-advanced-file-uploader/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author ben.moody

    (@benmoody)

    Hi

    Could you totally delete the plugin and then re-install it.

    Thread Starter wvdploeg

    (@wvdploeg)

    Ok, this problem has been solved, next problem now is that the upload itself is completely unstyled… the upload area even remotely does not look like it looks in your screenshots. It is just plain text.

    I guess some stylesheet is missing

    Before upload

    Select files
    Add files to the upload queue and click the start button.
    Filename

    Status
    Size

    Drag files here.

    Add FilesStart Upload
    0%
    0 b

    After upload
    Select files
    Add files to the upload queue and click the start button.
    Filename

    Status
    Size

    Chrysanthemum.jpg
    100%
    859 kb

    Desert.jpg
    100%
    826 kb

    Hydrangeas.jpg
    100%
    581 kb

    Add FilesStart Upload
    Uploaded 3/3 files

    Plugin Author ben.moody

    (@benmoody)

    Hi

    I’ve downloaded the plugin from the repo and setup on a fresh wordpress install and everything is fine.

    I can only guess your install of the plugin is corrupt somehow. As this file is missing from your install:

    http://wordxpression.com/gravity/wp-content/plugins/gravity-forms-advanced-file-uploader/inc/js/plupload/jquery.ui.plupload/css/jquery.ui.plupload.css?ver=2.1.1

    I would recommend deleting the plugin folder via FTP and download the plugin zip file from the wordpress repo and manually upload the plugin directory to the plugins folder:

    https://downloads.wordpress.org/plugin/gravity-forms-advanced-file-uploader.1.31.zip

    Thread Starter wvdploeg

    (@wvdploeg)

    Looking at the URL you gave, I already know what is wrong. Your solution would not work either.

    the plugin is installed on http://gravity.wordxpression.com, a domain I use for testing purposes which is on another physical machine than http://wordxpression.com. Your plugin in some way ‘concludes’ that it is on the http://wordxpression.com machine, not on the gravity.wordxpression.com machine. I’ll solve it with a redirect on the wordxpression.com machine, but in fact you should change the algorith used for detecting the host and path… it should retrieve it from the WordPress settings, not from the server settings.

    Plugin Author ben.moody

    (@benmoody)

    Please note the url i gave was “handmade”, i just prepended your website url to the start of the url path. So i would imagine that your dev server is returning the correct url.

    The plugin uses the plugin_dir_url wordpress function to determine the full url to the plugin directory as laid out in the wordpress codex:

    https://codex.wordpress.org/Function_Reference/plugin_dir_url

    https://codex.wordpress.org/Function_Reference/plugins_url

    This approach does make use of the php __FILE__ magic constant. I doubt this is the issue as the wordpress core itself makes use of this as well.

    Are you sure your wordpress home url and site url params are correct for the dev install? These are used by wordpress to determine the url to scripts, attachments, ect:

    https://codex.wordpress.org/Changing_The_Site_URL

    Thread Starter wvdploeg

    (@wvdploeg)

    I am familiar with it and yes, they are correct. If not none of the js and css files would be working, not only this issue.

    I checked the availability of the js and css files related to the plupload scripts and they are normally installed (not via the strange path you sent me), so that is not the issue either.

    Thread Starter wvdploeg

    (@wvdploeg)

    FYI : I deactivated all plugins, including all GF add ons, except of course the core GF plugin. So tested a clean GF, twentyfifteen and your plugin and it still does not work.

    Thread Starter wvdploeg

    (@wvdploeg)

    Found WHAT went wrong, not why : The preview of the form makes a mess of it, when I use it actually in a page it looks ok. For me this is a workable situation…
    Does not deserve a prize in a beauty contest, but it isn’t bad either if you know how it works.

    Plugin Author ben.moody

    (@benmoody)

    So are the resoirce files ponitning to the correct URL and do the files exisit in the plugin dir?

    All the js and CSS files are accounted for in a download from the wp repo. I can’t understand why they are not being loaded on your install.

    Can you provide me with the url to the page hosting the upload for somi can see it for myself.

    Thanks

    Ben

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Fatal error after activation’ is closed to new replies.