Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Fatal error when activating WP eStore

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › Fatal error when activating WP eStore

  • This topic has 8 replies, 3 voices, and was last updated 12 years, 4 months ago by wzp.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • October 13, 2010 at 10:34 pm #2035
    luluh77
    Member

    Dear support,

    When I activate eStore on my WP 3.0.1, I got a fatal error as below,

    Warning: main(/homez.338/taobaofa/www/wp-content/plugins/wp-cart-for-digital-products/eStore_classes/.php) [function.main]: failed to open stream: No such file or directory in /homez.338/taobaofa/www/wp-content/plugins/wp-cart-for-digital-products/eStore_classes/_loader.php on line 23

    Fatal error: main() [function.require]: Failed opening required ‘/homez.338/taobaofa/www/wp-content/plugins/wp-cart-for-digital-products/eStore_classes/.php’ (include_path=’.:/usr/local/lib/php’) in /homez.338/taobaofa/www/wp-content/plugins/wp-cart-for-digital-products/eStore_classes/_loader.php on line 23

    please help me with this issue. Thank you very much.

    Best regards,

    October 13, 2010 at 11:15 pm #25437
    wzp
    Moderator

    Emergency fix:

    On line 2 of the wp_digi_cart_admin_menu.php file it says:

    require_once(‘eStore_classes/_loader.php’);

    Change to:

    //require_once(‘eStore_classes/_loader.php’);

    require_once(‘eStore_classes/eStore_dlmgradm.php’);

    These changes are required for the download links to work.

    This will allow the eStore to activate.

    You must also make the following changes to the download.php file…

    On line 7, find:

    require_once(‘eStore_classes/_loader.php’);

    Change to:

    //require_once(‘eStore_classes/_loader.php’);

    require_once(‘eStore_classes/eStore_dlfilepath.php’);

    Please let me know if this works. I also have some more questions for you later, about your particular system.

    October 13, 2010 at 11:35 pm #25438
    luluh77
    Member

    Thank you for your hekp.

    But a new error appears,

    Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /homez.338/taobaofa/www/wp-content/plugins/wp-cart-for-digital-products/eStore_classes/eStore_dlmgradm.php on line 3

    Best regards,

    October 13, 2010 at 11:46 pm #25439
    wzp
    Moderator

    In file eStore_classes/eStore_dlmgradm.php on lines 3:

    static function settings_menu_html() {

    change to:

    function settings_menu_html() {

    And on line 38:

    static function settings_menu_post($eStore_auto_convert_to_relative_url, $eStore_download_method) {

    change to:

    function settings_menu_post($eStore_auto_convert_to_relative_url, $eStore_download_method) {

    Essentially, you are removing the word “static” from before the word “function.”

    In file eStore_classes/eStore_dlfilepath on lines 3, 21, 36, and 62:

    Remove the word “static” from in front of the word “function.”

    This should correct the problem.

    October 13, 2010 at 11:48 pm #25440
    wzp
    Moderator

    Additionally, for reference, do you know the EXACT version of PHP you are using?

    October 13, 2010 at 11:59 pm #25441
    luluh77
    Member

    Ok, after removing all “static”, it works.

    So you think it is due to PHP version ? How to identify its versioning ?

    Thank you a lot.

    October 14, 2010 at 12:12 am #25442
    wzp
    Moderator

    8)

    In the root level of your website, create a test.php file that contains the following line:

    <?php phpinfo(INFO_ALL); ?>

    Then, execute it from your browser as http://yoursite/test.php

    Make a copy of whatever it gives you, and then delete the test.php file.

    December 31, 2012 at 9:07 am #25443
    saysaju25
    Member

    I followed all the above steps still showing Fatal error

    Wordpress version 3.5, Theme – Thesis 2, WP estore version 6.9.6.4

    Please advice

    December 31, 2012 at 2:02 pm #25444
    wzp
    Moderator

    This thread applies only to a particular version of eStore that was released 2 years ago. The specific issues involved do not exist anymore.

    Please begin a new thread, and specifically detail what is going on with your site, including any error messages.

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Fatal error when activating WP eStore’ is closed to new replies.

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ