test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • reders Friend
    #152336

    Please help,
    I am trying to install the JA VM Product Scroller on one of my own template designs and I am getting the following errors:

    Warning: require_once(/administrator/components/com_virtuemart/global.php) [function.require-once]: failed to open stream: No such file or directory in (Then my install directory) on line 74

    Fatal error: require_once() [function.require]: Failed opening required ‘/administrator/components/com_virtuemart/global.php’ (include_path=’.:/usr/lib/php5′) in (Then my install directory) on line 74

    Any help would be appreciated.
    Regards,
    Reders

    Saguaros Moderator
    #349303

    Hello Reders!

    Pls open the file: modulesmod_virtuemart_currenciesmod_virtuemart_currencies.php and find the following code:
    [PHP]

    defined( ‘_JEXEC’ ) or die( ‘Restricted access’ );
    [/PHP]

    replace:

    [PHP]
    defined( ‘_JEXEC’ ) or die( ‘Restricted access’ );
    global $mosConfig_absolute_path, $sess, $option, $page, $ps_html, $vendor_accepted_currencies;

    // Load the virtuemart main parse code
    if( file_exists(dirname(__FILE__).’/../../components/com_virtuemart/virtuemart_parser.php’ )) {
    require_once( dirname(__FILE__).’/../../components/com_virtuemart/virtuemart_parser.php’ );
    } else {
    require_once( dirname(__FILE__).’/../components/com_virtuemart/virtuemart_parser.php’ );
    }
    [/PHP]

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  Saguaros 14 years, 5 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum