Zen Cart Logo
Forums / All Other Contributions/Addons / Desktop Data fails

Desktop Data fails

Locked

Views: 637

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
6 Feb 2009, 2:41 AM
#1
fastdc5 avatar

fastdc5

Zen Follower

Join Date:
Jan 2009
Posts:
104
Plugin Contributions:
0

Desktop Data fails

reference:

http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_47&products_id=1121

After uploading files and config desktop (Win XP)

Warning: require(includes/application_top.php) [function.require]: failed to open stream: No such file or directory in /home/sevthgea/public_html/desktop_data.php on line 11

Fatal error: require() [function.require]: Failed opening required 'includes/application_top.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/sevthgea/public_html/desktop_data.php on line 11

P.S *.php file will be renamed once working.

6 Feb 2009, 2:15 PM
#2
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
1

Re: Desktop Data fails

I have to admit I'm struggling to determine the cause to this issue and, more importantly, a fix for it. I don't understand how other files that are in the root directory (such as index.php) use the same syntax for including application_top.php yet they work without any problem. There are a few things I'm going to suggest to try.

  1. Make sure desktop_data.php is in your root directory
  2. Make sure includes/application_top.php exists
  3. If it does, replace it with a fresh copy
  4. In desktop_data.php, change
    require('includes/application_top.php');
    to
    require(DIR_WS_INCLUDES . 'application_top.php');
  5. Also try change it to:
    include "includes/application_top.php";

Another option could be to replace the include statement with the contents of application_top.php but that would be bad practice.

(Also, in future, please post threads related to this mod in its official support thread)