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

  • Home
  • SEARCH
  • 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 5954707
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T18:00:33+00:00 2026-05-22T18:00:33+00:00

On my local machine I access my application using http://localhost/index.php on the server i

  • 0

On my local machine I access my application using

http://localhost/index.php

on the server i publish it its

http://myserver:8888/alias/index.php

I’ve updated this in code igniter config and also replicated my local database on the server. Now something screwy is happening on the server when it reaches

$this->db->query($queryStr)->row()->ID;

I tried to manually run the query inside $queryStr and it gives me back data from the command line however when I ran it like above on the server

$this->db->query($queryStr)->row()
returns an empty array

I get

Severity: Notice

Message: Trying to get property of
non-object

Filename: models/model_mymodel.php

Am I overlooking something why is the exact same code not working on the server?

  • 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-22T18:00:34+00:00Added an answer on May 22, 2026 at 6:00 pm

    Check you code to capitalization (case) errors. If your development machine is windows based, it then it does not care about case. You linux server does however.

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

Sidebar

Related Questions

Can any data exchanged on a local machine using the loopback IP 127.0.0.1 (localhost)
I can access my MySQL server on my remote Ubuntu 10.04 machine downstairs (local
I can run the server on my local machine and connect to it on
I want to create a SQL Server Express database on my local machine and
I am trying out click-once on my local machine using Apache 2.2. I have
Have a server-socket running in an android application, which I debug using the emulator.
I'm building an application on my local machine, and for the longest time, was
I just installed Glassfish V2 on my local machine just to play around with
I have a text file on my local machine that is generated by a
This only helps kills processes on the local machine. How do I kill processes

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.