Results 1 to 3 of 3

Error From Include

This is a discussion on Error From Include within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hello, Can anyone assit me on this problem? I am attempting to integrate just sections of OScommerce on the main ...

      
  1. #1
    Lurker
    Join Date
    May 2007
    Posts
    2
    Rep Power
    0


    Default Error From Include

    Hello,

    Can anyone assit me on this problem?

    I am attempting to integrate just sections of OScommerce on the main page of this website

    -Code-
    <?php
    if ((USE_CACHE == 'true') && empty($SID)) {
    echo tep_cache_categories_box();
    } else {
    include('http://www.nakedcosmetix.com/oscommerce/catalog/includes/boxes/categories.php');
    }
    ?> </td>


    Now the problem is when I goto naked_cosmetix_web_layout2

    I get this error:

    Warning: main(http://www.nakedcosmetix.com/oscomme...tegories.php): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /home/content/n/a/k/nakedcosmetix/html/beta/index.php on line 222

    Warning: main(http://www.nakedcosmetix.com/oscomme...tegories.php): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /home/content/n/a/k/nakedcosmetix/html/beta/index.php on line 222

    Warning: main(): Failed opening 'http://www.nakedcosmetix.com/oscommerce/catalog/includes/boxes/categories.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/n/a/k/nakedcosmetix/html/beta/index.php on line 222

    Any assistance would be appreciated, thank you in advance.

  2. #2
    Lurker
    Join Date
    May 2007
    Posts
    2
    Rep Power
    0


    Default Re: Error From Include

    Anyone have any advice?

  3. #3
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default Re: Error From Include

    Yes - your missing everything that get loaded in like application_top.php and who knows what else that gets setup in index.php...

    Look at:
    osCommerce: Infoboxes outside OSC

Similar Threads

  1. Can not find Header.php in /catalog/include
    By chrisrex in forum osCmax v2 Installation issues
    Replies: 2
    Last Post: 09-26-2005, 04:38 PM
  2. How can I allow my search to also include category names?
    By DeltaWolf7 in forum osCmax v2 Customization/Mods
    Replies: 0
    Last Post: 08-11-2005, 04:24 AM
  3. Modifying the Information box to include new link
    By Demented in forum osCmax v1.7 Discussion
    Replies: 5
    Last Post: 05-23-2005, 09:43 AM
  4. Please include Spanish support in MS2 MAX!!!!!!!!!!!!
    By isifra in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 11-21-2004, 04:15 PM
  5. EMAIL_TEXT_SUBJECT How to include products_model
    By ireader in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 10-07-2004, 05:21 PM

Bookmarks

Posting Permissions

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