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 7034253
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:09:48+00:00 2026-05-28T01:09:48+00:00

I get this strange error child pid 1789 exit signal Bus error (10) I

  • 0

I get this strange error child pid 1789 exit signal Bus error (10) I have never seen before in my Apache error log. I am using FuelPHP framework. The web app is working fine. But suddenly today I created new controller, which itself is a copy of another controller. The one I copied from works fine (http://localhost/myapp/admin/users), but the copy (http://localhost/myapp/admin/apartments) makes me that error?! I am frustrated over this.

After 3 hours of debugging I finally found the line where the whole things stops. It is in the FuelPHP core in Router class at this line if (class_exists($class)). The $class before the if has value Controller_Admin_Apartments, which is the class I have added and exists in my controller classes folder.

fuel/core/classes/router.php:

protected static function parse_segments($segments, $namespace = '', $module = false)
{
    $temp_segments = $segments;

    foreach (array_reverse($segments, true) as $key => $segment)
    {
        $class = $namespace.'Controller_'.\Inflector::words_to_upper(implode('_', $temp_segments));
        array_pop($temp_segments);
        if (class_exists($class))      // ***** HERE ERROR HAPPENS ***** //
        {
            return array(
                'controller'    => $class,
                'action'        => isset($segments[$key + 1]) ? $segments[$key + 1] : null,
                'method_params' => array_slice($segments, $key + 2),
            );
        }
    }

    // Fall back for default module controllers
    if ($module)
    {
        $class = $namespace.'Controller_'.$module;
        if (class_exists($class))
        {
            return array(
                'controller'    => $class,
                'action'        => isset($segments[0]) ? $segments[0] : null,
                'method_params' => array_slice($segments, 1),
            );
        }
    }
    return false;
}

A user in FeulPHP forum noted this could be Hardware related. But it is not. I moved the whole thing to another computer and still have the same thing. I just don’t get it. What is happening here?

  • 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-28T01:09:48+00:00Added an answer on May 28, 2026 at 1:09 am

    Ok shoot me. Just found the error my self. I don’t know why it happens but I had a synthax error in my controller Controller_Admin_Apartments. I had this function:

    public function action_delete($id = null)
    {
        if (apartment = Model_Apartment::find($id))
        {
            $apartment->delete();
            Session::set_flash('success', 'Deleted apartment #'.$id);
        }
        else
        {
            Session::set_flash('error', 'Could not delete apartment #'.$id);
        }
        Response::redirect('admin/apartments');
    }
    

    Note the line: if (apartment = Model_Apartment::find($id)), where I forgot to add $ in-front of variable name. I am really surprised FulePHP framework did not alert me at this and that the only error I had was in the Apache error log :S. Strange, just strange…

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

Sidebar

Related Questions

Using Entity Framework, I suddenly get this strange error after publishing my asp.net mvc
I get this error:- You have an error in your SQL syntax; check the
I created a Hello world app but get this strange error: The project cannot
I'm making a TCP Client in Applet mode and I get this strange error...
I get this strange linker error: ld: in /Users/.../test project/iSMP.framework/iSMP, file too small for
I get a strange error complaining about stack corruption I'm assuming, and I have
I get this strange error if I use a link_to with the :remote =>
I have this strange error in one of my rails 2.3.2 application. NoMethodError in
I have this strange error in SQL Server 2005 where I take a working
This might seam like a strange question but.... public string MyProperty { get {

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.