Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2009
    Posts
    107
    Plugin Contributions
    0

    Default Desktop Data fails

    reference:

    http://www.zen-cart.com/index.php?ma...oducts_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.

  2. #2
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default 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)

 

 

Similar Threads

  1. Save Downloadables to Desktop
    By ampm11 in forum General Questions
    Replies: 2
    Last Post: 23 Mar 2011, 12:16 AM
  2. Desktop Data [support thread]
    By Steven300 in forum All Other Contributions/Addons
    Replies: 106
    Last Post: 17 Dec 2010, 03:54 AM
  3. Install on Linux Desktop?
    By ALFO in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 3 Jan 2008, 07:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg