Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4077670
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T17:34:45+00:00 2026-05-20T17:34:45+00:00

Here is my index.php in this suppose i am calling the command getresellers it

  • 0

Here is my index.php in this suppose i am calling the command getresellers it calls the getresellers function of Reseller class

$_command=$_REQUEST['_command'];
$dbs = new Databases();

switch($_command)
{
    case 'getresellerscount' :
        $rd=new Resellerdashboard($dbs);
        echo  $msg=$rd->getresellerscount();
        // echo Config::json_format($msg);
        // exit;
        break;
    case 'getresellers' :
        $rd=new Reseller($dbs);
        echo  $msg=$rd->getresellers();
        // echo Config::json_format($msg);
        // exit;
        break;
    default :
}

function __autoload($class_name) {
    include $class_name . '.php';
}

Here is my Reseller Class which want to call the ResellerDashBoard Class function But the error is coming

Class Reseller
 {
     private $dbs;

    public function __construct(Databases $dbs)
    {
        $this->dbs = $dbs;
    }
    /**
    *
    * function for getting resellers 
    *
    **/
    public function getresellers() 
    {
        list($fromdate,$todate)=ResellerDashBoard::getdate();
        $data_query="
            SELECT firstname,lastname,mobile,email,tmecode,tmename,updatedon,apptype,alloctype,empparent 
            from tbl_reseller_dashboard_intermediate 
            where empparent='".$_GET['city']."' ".$condition." 
                and updatedon>='".$_REQUEST['fromdate']." 00:00:00' and updatedon<='".$_REQUEST['todate']." 23:59:59' ";

        $result=$this->dbs->resellerdashboarddb->getResult($city);        



    }
 }

The error coming is

<br />
<b>Warning</b>:  include(ResellerDashBoard.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in <b>/home/abhijitnair/sandbox/newresellerdashboard/api/index.php</b> on line <b>38</b><br />
<br />
<b>Warning</b>:  include() [<a href='function.include'>function.include</a>]: Failed opening 'ResellerDashBoard.php' for inclusion (include_path='.:/usr/local/lib/php') in <b>/home/abhijitnair/sandbox/newresellerdashboard/api/index.php</b> on line <b>38</b><br />
<br />
<b>Fatal error</b>:  Class 'ResellerDashBoard' not found in <b>/home/abhijitnair/sandbox/newresellerdashboard/api/Reseller.php</b> on line <b>45</b><br />

Please suggest what best should i do to access the Reseller DashBoard Function ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T17:34:45+00:00Added an answer on May 20, 2026 at 5:34 pm

    First problem should be strikingly obvious. “include(ResellerDashBoard.php) failed to open stream: No such file or directory”… Ensure that the files are where they should be… in your current working directory, or specify a full filepath in your autoloader.

    Then check that the current working directory is that folder using getcwd()

    Failing that, check file permissions/privileges.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here is the structure of the web site: PHP index file //my class for
You can see my project here - http://www.inluxphoto.com/custom/jsgallery/index.php I am attempting to make the
Here is my try: @header(Content-type: text/html; charset=utf-8); @header(Location:/index.php); @header(Cache-Control: no-cache, must-revalidate); // HTTP/1.1 @header(Expires:
I have found some code on measuring execution time here http://www.dreamincode.net/forums/index.php?showtopic=24685 However, it does
Here's the XML file i'm working on: <list> <activity>swimming</activity> <activity>running</activity> <activity>soccer</activity> </list> The index.php,
index.php has this jquery code which loads notifications.inc.php into a div on the page
I have this rewrite rule RewriteEngine On RewriteBase /location/ RewriteRule ^(.+)/?$ index.php?franchise=$1 Which is
I have this error again: Notice: Undefined index: IDNUMBER in E:\wamp\www\PHP\create.php on line 5
Ok Here is the exact scenario: I have a view named Index I have
Here's the code in AlertTableView: - (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex{ NSInteger index = 12345; NSLog(@AlertTableView:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.