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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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. |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| 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
|
|
#3
| |||
| |||
| 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. |
|
#4
| ||||
| ||||
| 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
|
|
#5
| |||
| |||
| 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. |
|
#6
| ||||
| ||||
| 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
|
|
#7
| |||
| |||
| 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. |
|
#8
| |||
| |||
| Quote:
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. |
|
#9
| |||
| |||
| 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 |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| 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 |