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 11 years, 10 months ago by wzp.
-
AuthorPosts
-
October 13, 2010 at 10:34 pm #2035luluh77Member
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 #25437wzpModeratorEmergency 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 #25438luluh77MemberThank 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 #25439wzpModeratorIn 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 #25440wzpModeratorAdditionally, for reference, do you know the EXACT version of PHP you are using?
October 13, 2010 at 11:59 pm #25441luluh77MemberOk, 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 #25442wzpModeratorIn 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 #25443saysaju25MemberI 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 #25444wzpModeratorThis 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.
-
AuthorPosts
- The topic ‘Fatal error when activating WP eStore’ is closed to new replies.