Forums / General Questions / Please help!!! Logged out during search...

Please help!!! Logged out during search...

Locked

Views: 4,898

Results 21 to 25 of 25
This thread is locked. New replies are disabled.
10 Jun 2006, 5:57 AM
#21
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Please help!!! Logged out during search...

Hmmmm .... I take back that last statement. The hidden zenid field required for the search is not being generated properly in your search sidebox.

In v1.2.7, edit your /includes/templates/YOURTEMPLATE/sideboxes/tpl_search.php
on line 25, you have:php $content .= zen_draw_hidden_field('search_in_description', '1'); Change that to the following:```php
$content .= zen_draw_hidden_field('search_in_description', '1') . zen_hide_session_id();


If you were using the search bar in the header, you'd do the same to the sideboxes/tpl_search_header.php

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

10 Jun 2006, 9:44 PM
#22
oldschoolrocker avatar

oldschoolrocker

New Zenner

Join Date:
Sep 2005
Posts:
63
Plugin Contributions:
0

Re: Please help!!! Logged out during search...

DrByte:

Hmmmm .... I take back that last statement. The hidden zenid field required for the search is not being generated properly in your search sidebox.

In v1.2.7, edit your /includes/templates/YOURTEMPLATE/sideboxes/tpl_search.php
on line 25, you have:php $content .= zen_draw_hidden_field('search_in_description', '1'); Change that to the following:```php
$content .= zen_draw_hidden_field('search_in_description', '1') . zen_hide_session_id();

> 
> If you were using the search bar in the header, you'd do the same to the sideboxes/tpl_search_header.php


That did it! DrByte, you found the cure!!! Linda, thank you for all of your time & suggestions (I learned quite a bit). Wilt, thanks for your input as well. You guys ROCK!!! Btw, this fix also added a new level of overall performance. Sweet...
10 Jun 2006, 9:45 PM
#23
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Please help!!! Logged out during search...

You are most welcome ...

Fortunately ... DrByte likes to find these really, really obscure issues when I get stuck on something weird like this ... and I did not even have to drag out the wet noodle this time ... :cool:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

10 Jun 2006, 11:20 PM
#24
oldschoolrocker avatar

oldschoolrocker

New Zenner

Join Date:
Sep 2005
Posts:
63
Plugin Contributions:
0

Re: Please help!!! Logged out during search...

Ajeh:

You are most welcome ...

I appreciate it when people take time, out of their busy lives, to help someone else. Credit where credit is due! When my site is up & running, I'll make my first donation to the cause.

Fortunately ... DrByte likes to find these really, really obscure issues when I get stuck on something weird like this ... and I did not even have to drag out the wet noodle this time ... :cool:

Hopefully his fix will help others, who may be experiencing the same problem. As for the "wet noodle" thing, I'm not going there... :smile:

11 Jun 2006, 12:15 AM
#25
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Please help!!! Logged out during search...

oldschoolrocker:

As for the "wet noodle" thing, I'm not going there... :smile:
Me neither ! :eek:

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.