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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T02:29:23+00:00 2026-06-13T02:29:23+00:00

EDIT: Zen’s comment below (which is already the accepted answer) did the trick. I’ve

  • 0

EDIT: Zen’s comment below (which is already the accepted answer) did the trick. I’ve overwritten the php.ini on the server with the one on my workstation. I no longer have this problem.

On the server: I’ve tried to print $this->session->userdata(‘uid’) in the controller right after I’ve set this session, and everything’s good during that point but when I var_dump this uid in my login page it returns false. It doesn’t exist. I’ve also already tried erasing cookies and everything in my browser several times. Also tried rebooting.

On my localhost: Everything is working fine.

Has anybody experienced this?

Background: After the system gets the login information entered by the user then validated if the user exists in the database, that’s when this session variable is set in the model.

Has anybody experienced this?

My work station is running XAMPP 1.7.7 on windows 7 and the server is using XAMPP for linux on centOS, my browser is chrome. Anything else I should specify please let me know.

  • 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-06-13T02:29:25+00:00Added an answer on June 13, 2026 at 2:29 am

    Try using exactly the same php.ini file from your local server on the remote CentOS machine – this will eliminate the possibility of an error in the php configuration (and turns out, that happened…)

    This should always be high on your “what is causing this unexplained problem with PHP?” list.

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

Sidebar

Related Questions

EDIT 07/14 As Bill Burgess mentionned in a comment of his answer, this question
EDIT: See my answer below--> I am wanting to have a view that when
EDIT: Updated thanks to @daroczig's lovely answer below. However, test 2 still feels like
Edit : Note that, as Daniel and latkin noted in an answer and a
EDIT: Simple version of the question: I want to create server variables in the
EDIT - Looks like you cannot parse data from PHP without going through XML.
how can we edit the top menu of Zen Cart? I have installed a
EDIT: I am using MS SQL server 2008 R2 as well. Well, on a
Edit: The below question was answered by this . I have a new updated
Background: I am trying to edit a zen cart horizontal pop out menu to

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.