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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T10:22:55+00:00 2026-05-31T10:22:55+00:00

I have a few modules, but I will focus on one in particular. This

  • 0

I have a few modules, but I will focus on one in particular. This module was working fine, and it appears in two articles. One article is viewable to registered users and the other article to the public.

I query my database from both of these articles. However, in the public article the module does what is supposed to, but in the registered article, it doesn’t.

Before posting code and examples, is there anything obvious that I’m missing that I can try to overcome this?

EDIT

Here are the results of debugging mode:

Working article:

SELECT name, specialty, location
  FROM people
  WHERE name = 'larry' OR specialty = 'testing' OR location = 'seattle'

Non-working article:

SELECT name, specialty, location
  FROM people
  WHERE name = '' OR specialty = '' OR location = ''

The same query should be at work in both cases, and is this:

SELECT name, specialty, location, description
  FROM people 
  WHERE name = '$name' OR specialty = '$specialty' OR location = '$location'

where these variables are POST data, eg, $name = cleaned_up($_POST['name']);

So basically the “registered” users version of the form doesn’t post data to the query but the “guest” users version does.

EDIT 2

I discovered that when I remove the module on the left side of my page (I have two modules in divs, side by side, that share POST variables – which is probably part of my problem), the form that doesn’t work, starts to work properly.

So I built an identical module, thinking if I pulled that form out and gave the code to another module it would work, but it gave same results as above.

Any help is greatly appreciated.

EDIT 3

I threw a var_dump($_POST); in there in several locations, one at a time, and this gave the expected POST data. So now I’m really confused, because the SQL query is correct and the POST data are getting to the file that needs them.

  • 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-31T10:22:56+00:00Added an answer on May 31, 2026 at 10:22 am

    I found a work around that seems to solve my problem. The original weird issue still exists, but this work around gets my site working and gives me something to go on.

    I created as separate variable file for each access state, registered and public. Apparently in the registered state the variables were getting conflicted and the POST data wasn’t making it to the SQL query and thus wasn’t showing up in my results table.

    I think it may be a bug in Joomla but I’d like to get someone else feedback before reporting it. BUT… I posted on forum.joomla.org weeks ago with not response so I have little faith in that support site at all. Actually, if this is as good as their support forums get, then I think I might look into another CMS.

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

Sidebar

Related Questions

I have a package with a few modules, each module has a class (or
I have a few modules of block of code in VBA to run on
I have a few modules with some functionality overlap. In accordance with DRY, I'd
I have written a few modules of code in Access vba. Each code runs
I have few question in this regard When you create an internet page, does
I have a small Python program consisting of very few modules (about 4 or
I realize there have been a few other questions on this topic, and the
I have a two part question: Part 1 I have a module that has
I have a few modules of an application that have been written in Java.
I have few asynchronous tasks running and I need to wait until at least

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.