View previous topic :: View next topic |
Author |
Message |
MegaZip
Joined: 09 Jun 2003 Posts: 1
|
Posted: Mon Jun 09, 2003 6:21 pm Post subject: I don't get any results after a query |
|
|
Hello,
I have installed the script, without any problems, I have added a few sites as well.
All seemed okee, except one thing:
When i put a word in the search box, i don't get any result.
Can anyone help me on this?
Thanks!
|
|
|
Back to top |
|
|
James CJ-Design.com Admin
Joined: 08 Nov 2002 Posts: 697 Location: UK
|
Posted: Wed Jul 23, 2003 10:48 am Post subject: |
|
|
its probably because your REGISTER_GLOBALS is set to OFF. I will change website search v2.0 so it will work on your server, soon!
|
_________________ Cj-Design.com Webmaster
----------------------------------
http://www.cj-design.com |
|
Back to top |
|
|
sdhild99
Joined: 28 Oct 2003 Posts: 1
|
Posted: Tue Oct 28, 2003 1:15 pm Post subject: Same problem |
|
|
I have the same problem. I don't get any results at all after a query. I know register_globals is set to off, but I can't do anything about that (Web host)
waiting for version 2
|
|
|
Back to top |
|
|
TimPOwen
Joined: 22 Oct 2003 Posts: 3
|
Posted: Tue Oct 28, 2003 1:47 pm Post subject: |
|
|
any idea when to expect version 2.0??
|
|
|
Back to top |
|
|
DeepTii
Joined: 24 Nov 2003 Posts: 1
|
Posted: Mon Nov 24, 2003 5:11 pm Post subject: |
|
|
any alternative solution before 2.0 comes out??
|
|
|
Back to top |
|
|
Fletch
Joined: 16 Jan 2004 Posts: 5
|
Posted: Fri Jan 16, 2004 6:43 pm Post subject: |
|
|
I too am getting nothing back when I do a search. Everything installed ok and I am just guessing that it is to do with the "register_globals". This is one of the better online databases I have seen and it would be a shame if I was unable to use it.
Is there any way around this?
Fletch
|
|
|
Back to top |
|
|
iZone
Joined: 16 Jan 2004 Posts: 1 Location: England
|
Posted: Fri Jan 16, 2004 9:18 pm Post subject: same here |
|
|
i too have the same problem
i could get register_globals turned on but dont want to.
is there a work around or how long do we have to wait until v2??
adam
|
|
|
Back to top |
|
|
James CJ-Design.com Admin
Joined: 08 Nov 2002 Posts: 697 Location: UK
|
Posted: Sat Jan 17, 2004 9:23 pm Post subject: Fix |
|
|
A way around it:
change the following lines in "admin.php":
Code: |
if (!session_is_registered('username') && !session_is_registered('password')){
print "You must be logged in to view the Admin Control Panel<p><p>";
print "<A HREF=\"login.php\">Log In</A>";
}
if (session_is_registered('username') && session_is_registered('password')){
|
to
Code: |
if (!isset($_SESSION['username']) && !isset($_SESSION['password'])){
print "You must be logged in to view the Admin Control Panel<p><p>";
print "<A HREF=\"login.php\">Log In</A>";
}
if (isset($_SESSION['username'] && isset($_SESSION['password'])){
|
make sure u dont edit anything else.
V2.0 will be released sometime soon, ive been really busy recently so I can put an exact date on it.
Regards
James
|
_________________ Cj-Design.com Webmaster
----------------------------------
http://www.cj-design.com |
|
Back to top |
|
|
Fletch
Joined: 16 Jan 2004 Posts: 5
|
Posted: Mon Jan 19, 2004 9:10 am Post subject: |
|
|
James,
I've tried what you suggest but when I replace the code with what you have shown the "admin.php" page stops working... all I get is a blank page!! and still no results on the search page.
Fletch
PS. With no code change I can login and add/delete from the admin page, i'ts just the search page that does not work.
|
|
|
Back to top |
|
|
James CJ-Design.com Admin
Joined: 08 Nov 2002 Posts: 697 Location: UK
|
Posted: Mon Jan 19, 2004 12:35 pm Post subject: |
|
|
send me your search.php file via email webmaster-at-cj-design.com
ill have a look 
|
_________________ Cj-Design.com Webmaster
----------------------------------
http://www.cj-design.com |
|
Back to top |
|
|
Fletch
Joined: 16 Jan 2004 Posts: 5
|
Posted: Tue Jan 20, 2004 9:00 am Post subject: |
|
|
Everyone needs to take a look at the new Register Globals announcement... it fixed my problem.
Fletch
|
|
|
Back to top |
|
|
|