osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Admin product search bug?

This is a discussion on Admin product search bug? within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; Hi, On RC3 install, when using the search box in categories.php (admin side), every time i search for a product ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Installation issues

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 03-07-2007, 07:55 AM
Member
 
Join Date: Mar 2004
Posts: 78
Thanks: 38
Thanked 0 Times in 0 Posts
Rep Power: 0
altenter
Default Admin product search bug?

Hi,
On RC3 install, when using the search box in categories.php (admin side), every time i search for a product i am redirected to the login page. It is not a session timeout issue, since it happens even if i just logged in.
Thanks for any input in how to solve this issue,
alt.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
  #2  
Old 03-07-2007, 08:11 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,065
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: Admin product search bug?

That does not mean it is not a session issue... I cannot reproduce it so how about some debug info? We cannot guess your problem, so are you storing sessions as files or in mysql? Have you made any (and I mean any) changes to the code? What OS? What webserver and version? What versions of php and mysql?
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 03-07-2007, 09:06 AM
Member
 
Join Date: Mar 2004
Posts: 78
Thanks: 38
Thanked 0 Times in 0 Posts
Rep Power: 0
altenter
Default Re: Admin product search bug?

Thanks michael for your quick reply. (as always )
sessions are stored in db, mysql 4.1.21, php 4.4.4, running on linux with apache 1.3.7
some changes have been done in code, changed language and removed few tr's from categories.php to hide un-needed text fields.

thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 03-07-2007, 09:19 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,065
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: Admin product search bug?

Ok,

I still am unable to reproduce this issue... Not sure what the problem could be. Have you tried deleting all browser cookies and clearing the cache? That is a start.

Also, verify that your path information is correct in the admin/includes/configure.php file.

One last question, are you using ssl or shared ssl in the admin panel?
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 03-07-2007, 09:31 AM
Member
 
Join Date: Mar 2004
Posts: 78
Thanks: 38
Thanked 0 Times in 0 Posts
Rep Power: 0
altenter
Default Re: Admin product search bug?

browser cache is clean, and the issue happens on different pc's as well.
paths are correct in configure.php, and ssl and secure admin are not implemented yet.
another thing that might help is that if i use the back button, i am still logged in, so this issue does not actually end the session, but just redirects to the login page.
thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 03-07-2007, 09:38 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,065
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: Admin product search bug?

That is really strange, especially as I cannot reproduce it at all. Perhaps I am not following your procedure exactly. Can you give me a step be step as to what you are doing?

Do you have a url and login that I can test (pm to me)?
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 03-07-2007, 09:56 AM
Member
 
Join Date: Mar 2004
Posts: 78
Thanks: 38
Thanked 0 Times in 0 Posts
Rep Power: 0
altenter
Default Re: Admin product search bug?

Step by step:
in admin, when in categories.php, i enter any search term in the searchbox and press enter.
I am immediately redirected to login.php.
thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 02-14-2008, 01:32 PM
New Member
 
Join Date: Sep 2005
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
b5b4you
Default Re: Admin product search bug?

Quote:
Originally Posted by altenter View Post
Step by step:
in admin, when in categories.php, i enter any search term in the searchbox and press enter.
I am immediately redirected to login.php.
thanks.
BUT I believe u left one thing out!!!
Only the first time though, once u log in the seciond time it works from then on, correct?


Yes i have this issue on one of my older installs too, im actually trying to go back and fix it, but now I cant find the fix in the bug tracker anymore.

It had something to do with the session ID
I fixed it on my new Default installing OSC Max (long time ago), but I do still have an example for you if u need to see it repeatable 100% of the time.
Pm me for login info


UPDATE:!!!!!!
GOT IT, LOVE THE SEARCH ON HERE!!!

From a locked post!
--------------------------------------------------------------------------------

this was an issue with oscadminid ..not any problem with versions of php as suspected first
doing the following should fix this problem

comment out the following from admin/includes/application_top.php

tep_session_name('osCAdminID');
tep_session_save_path(SESSION_WRITE_DIRECTORY);

/* comment following out
// set the session cookie parameters
if (function_exists('session_set_cookie_params')) {
session_set_cookie_params(0, DIR_WS_ADMIN);
} elseif (function_exists('ini_set')) {
ini_set('session.cookie_lifetime', '0');
ini_set('session.cookie_path', DIR_WS_ADMIN);
}*/

Last edited by b5b4you; 02-14-2008 at 01:34 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 03-25-2008, 10:31 PM
Lurker
 
Join Date: Feb 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
rlobianco is on a distinguished road
Default Re: Admin product search bug?

Thanks for posting the solution you found. I was having the same exact problem and its now working fine with the code commented out. I was starting to pull my hair out and frankly I don't have much to spare

Thanks!
Ralph
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
problem with admin panel search function taol osCMax v2 Features Discussion 0 12-13-2006 04:15 PM
osCAdminID generated and not letting the admin search sarath26 osCMax v2 Features Discussion 1 11-27-2006 10:53 AM
1064 - error in your SQL syntax admin customer search webwolfe osCMax v1.7 Discussion 0 11-10-2006 07:13 AM
Search Feature on Admin for catalog Crashes Server!! HollyRidge osCMax v2 Features Discussion 3 10-03-2005 08:27 AM
Can Quick Find search product descriptions??? midwestwebsites osCMax v1.7 Discussion 2 11-20-2003 08:54 AM


All times are GMT -8. The time now is 01:50 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax