Support » Plugin: Arconix Testimonials » Works great locally but error messages on host

  • Resolved mium

    (@mium)


    I was using this plugin without a problem on localhost but got errors when I moved my site up to my host. I then tried to install it on another site on he same host and got the errors again. Now I am unable to get into my admin panel so I will restore a backup. I would love to get it working as I really love this plugin. I believe the errors messages are saying I am missing a file but I don’t understand why it works locally but not on the host. Any help/insight will be greatly appreciated!

    The error messages:
    Warning: require_once(/metabox/init.php) [function.require-once]: failed to open stream: No such file or directory in /home/jerisart/public_html/wp-content/plugins/arconix-testimonials/includes/class-arconix-testimonials-admin.php on line 115

    Fatal error: require_once() [function.require]: Failed opening required ‘/metabox/init.php’ (include_path=’.:/usr/local/php53/pear’) in /home/jerisart/public_html/wp-content/plugins/arconix-testimonials/includes/class-arconix-testimonials-admin.php on line 115

    https://wordpress.org/plugins/arconix-testimonials/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author John Gardner

    (@jgardner03)

    To fix the admin panel issue my guess is if you can log into your webhost via ftp you can delete the arconix-testimonials directory (usually inside /wp-content/plugins/) folder and that should correct the issue.

    As for the other problem, my initial thought is it’s probably a permissions issue, that WordPress isn’t being allowed to create subdirectories. You can read more about permissions here: http://codex.wordpress.org/Changing_File_Permissions

    Thread Starter mium

    (@mium)

    According to the host there are no restrictions to WordPress creating subdirectories. Debugging what is really going on is beyond my capabilities but commenting out the 2 following lines in the admin.php seems to correct the problem. Hopefully, by doing so I am not creating another problem but none is apparent (yet!).

    /**
    * Load our Meta Box and At a Glance helper classes
    *
    * @since 1.0.0
    */
    function init() {
    // if( ! class_exists( ‘cmb_Meta_Box’ ) )
    // require_once( ‘/metabox/init.php’ );

    if ( ! class_exists( ‘Gamajo_Dashboard_Glancer’ ) )
    require_once( ‘class-gamajo-dashboard-glancer.php’ );
    }

    Plugin Author John Gardner

    (@jgardner03)

    You can certainly comment out the metabox class, which will prevent the error, but if you go to create a new testimonial, you’ll note there is nowhere to put the byline, link or other testimonial information.

    Can you try replacing that require_once() line w/ the following:

    require_once( ACT_DIR . '/metabox/init.php' );

    Thread Starter mium

    (@mium)

    That worked perfectly! Thanks for your terrific support!

    Plugin Author John Gardner

    (@jgardner03)

    Excellent. I’ll make the change in the main plugin and release an update soon.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Works great locally but error messages on host’ is closed to new replies.