Jump to content

Help Help built2go script


Recommended Posts

I need help to figure out the problem with the script below.  Here is the error message.

Warning: require(C:/wamp/www//classifieds/eng.php) [function.require]: failed to open stream: No such file or directory in C:\wamp\www\classifieds\Scripts\config.php on line 88

 

Fatal error: require() [function.require]: Failed opening required 'C:/wamp/www//classifieds/eng.php' (include_path='.;C:\php5\pear') in C:\wamp\www\classifieds\Scripts\config.php on line 88

 

Here is the complete script

?php

/* $Id: config.php,v 1.0 2005-08-26 16:18:47-07 brian Exp brian $ */

// vim: expandtab sw=4 ts=4 sts=4:

########################################################################

## Built2Go PHP Classifieds v1.0                                      ##

## ----------------------------------------------------------------  ##

## Copyright © Big Resources, Inc. All Rights Reserved.              ##

## This software must be used in accordance with its licensing        ##

## terms and conditions at: http://www.built2go.com/faq.php          ##

##                                                                    ##

## This file may not be redistributed in whole or significant part.  ##

## ---------------- BUILT2GO IS NOT FREE SOFTWARE -----------------  ##

########################################################################

 

    @header("Cache-control: private");

    /* Set your language...

    Code: eng for english, nor for norwegian or other... */

    $language = "eng";

    $version = "1.23"; // version of classified script

    /* allows you to check over links subitted before they go live

      1 = live on submit

      2 = pending

    */

    $SetPending = '2';

    $siteurl = "http://www.site.com/classifieds"; // no ending slash

    /* for IIS users you will need to add this manually.

      eg: c:/Inet/www/path/script_name

    or whatever your www folder is

    */

    $full_path_to_public_program = $_SERVER['DOCUMENT_ROOT']."/classifieds";

    $upload_dir = "$full_path_to_public_program/pictures"; // no ending slash

 

   

    // Full url of the module directory

    $module_dir = $siteurl."/modules";

    define('FLOOD_TIMEOUT',"1800");  // defines max time they have to wait before sending messages. used for slowing down spam

    define('AD_PRICE', "5.00");

    define('EXTRA_WEEK', "1.00");

    define('AD_DURATION', "5");

    /* Your emailadress. BE SURE TO SET. */

    $from_address = "info@yourdomain.com";

    define('MAXFILE_SIZE',"100");  // defines max file size for images in thousands.

    define('MAXIMAGE_W_SIZE',"250");  // defines max image width size for uploaded images

    define('MAXIMAGE_H_SIZE',"250");  // defines max image height size for uploaded images

   

        /* payment processors here PAYPAL*/

    define('FROM_PAYPAL',"paypal@paypal.com");

    define('ITEM_NAME',"ClassifiedItem");

        /* Worldpay */

    define('INSTID',"123456"); // worldpay login #

        /*2Checkout*/

    define('SERIAL_ID',"123456"); // 2checkout login #

 

    /* How many members do you want per page*/

      $admin_member_per_page = 25;

    /* Number of ads per each page (after you have selected sub-category) */

    $number_of_ads_per_page = 6;

 

    /* Table names must be set here */

    $admintbl = "admin";

    $cat_tbl = "categories";

    $ads_tbl = "ads";

    $pay_tbl = "pay_history";

    $usr_tbl = "users";

    $watching = "watching";

    $feedback = "feedback";

    $secure_image = "security_images";

    $modules = "modules";

    $sess_tbl = "session";

    $msg_tbl = "messages";

    $faq_tbl = "faq";

    /*

      1=HTTP Authentication

      0 or '' = html login

      only use this if you do not have permissions to create a .htaccess/.htpasswd files.

    */

    $logintype["http"] = '';  //specifies the login type

 

      // set to on (1) it will NOT clean out the session db table automatically.

    $GLOBALS['noshutdownfunc'] = 1;

 

    // Do not edit below unless you change install directory:

    $full_path_to_db = "$full_path_to_public_program/adminpanel/db.php";

    if (file_exists("$full_path_to_public_program/adminpanel/db.php"))

    { 

      require($full_path_to_db);

    }

    require("$full_path_to_public_program/$language.php");

 

 

include_once("$full_path_to_public_program/adminpanel/func.php");

?>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.