Support » Fixing WordPress » [Plugin: eShop] Admin area problems

  • When I click on the “Downloads” or “Discount Codes” pages in the admin area, I have errors stemming from the fact that I am using a customized “wp-content” directory.

    FYI, my custom “wp-content” directory is called “content”.

    Here is an example error:
    Warning: include_once(W:\www/wp-content/plugins/eshop/cart-functions.php) [function.include-once]: failed to open stream: No such file or directory in W:\www\content\plugins\eshop\eshop_discount_codes.php on line 18

    Can anybody help?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Okay I fixed my own problem!

    Edit “cart_functions.php”

    Do a find and replace for ABSPATH.PLUGINDIR and replace with WP_PLUGIN_DIR.

    Hope that helps someone!

    Now time to play with this plugin.

    At first glance, the code is very clean, unlike that other plugin – WP e-Commerce.

    You’d also want to do the same fix above for “eshop_discount_codes.php” and “checkout.php”.

    Will update this thread accordingly if I find other similar problems.

    well caught! I’ll make the changes for the next release – thanks.

    I’ll go through all files as well – but if you find more, please let me know.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: eShop] Admin area problems’ is closed to new replies.