Results 1 to 9 of 9

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 ...

      
  1. #1
    Active Member
    Join Date
    Mar 2004
    Posts
    131
    Rep Power
    13


    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.

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    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 installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    Active Member
    Join Date
    Mar 2004
    Posts
    131
    Rep Power
    13


    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.

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    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 installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  5. #5
    Active Member
    Join Date
    Mar 2004
    Posts
    131
    Rep Power
    13


    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.

  6. #6
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    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 installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  7. #7
    Active Member
    Join Date
    Mar 2004
    Posts
    131
    Rep Power
    13


    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.

  8. #8
    New Member
    Join Date
    Sep 2005
    Posts
    17
    Rep Power
    0


    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.

  9. #9
    Lurker
    Join Date
    Feb 2008
    Posts
    1
    Rep Power
    0


    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

Similar Threads

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •