Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Sep 2019
    Location
    United States
    Posts
    28
    Plugin Contributions
    0

    Default Contact Form Sesson Time Out

    I'm testing my new zen cart install (v1.5.7) and the contact form keeps timing out when I hit the "send" button. I'm not getting any logs that specify where the problem might be. I've been receiving emails just fine, and other functions of the website work just fine. I even switched the template to see if it'll work on another template; it doesn't. I haven't installed a single plugin yet so I really wonder what may be causing the issue. Does anyone have pointers on how I can fix this issue?

  2. #2
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: Contact Form Sesson Time Out

    Could help a lot by providing further information...

    As relates to this issue specifically, the most helpful would likely be a link to the site, but also would suggest identifying the use or lack of use of an SSL, how customers are "forced" to use it, if there are similar issues with checkout, what the cache settings are, history of the database... Well, guess more of the posting tips being covered. :)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Sep 2019
    Location
    United States
    Posts
    28
    Plugin Contributions
    0

    Default Re: Contact Form Sesson Time Out

    Quote Originally Posted by mc12345678 View Post
    Could help a lot by providing further information...

    As relates to this issue specifically, the most helpful would likely be a link to the site, but also would suggest identifying the use or lack of use of an SSL, how customers are "forced" to use it, if there are similar issues with checkout, what the cache settings are, history of the database... Well, guess more of the posting tips being covered. :)
    I'm using an SSL for it, I've forced it in the .htaccess file. Checkout is fine, I've done multiple tests to see if it works. Cache settings... where do I find that? The database is new, I created it specifically for this shop. I was ultimately thinking of ignoring the contact form that zen cart has and implementing a new one if it's too big of a hassle to fix. Before I said I didn't install any plugins, I only installed one and that's the ZCA Boostrap template. Not sure it counts as a plugin but changing the layout doesn't really change whether the form works or not.
    [Link]

  4. #4
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,239
    Plugin Contributions
    1

    Default Re: Contact Form Sesson Time Out

    I'm no expert but I note there's a Console error on your Contact page:

    'Cookie “zenid” has been rejected for invalid domain.'

    I suspect that posting the settings of your Admin > Configuration > Sessions page may help to debug this.
    Simon

  5. #5
    Join Date
    Sep 2019
    Location
    United States
    Posts
    28
    Plugin Contributions
    0

    Default Re: Contact Form Sesson Time Out

    Quote Originally Posted by simon1066 View Post
    I'm no expert but I note there's a Console error on your Contact page:

    'Cookie “zenid” has been rejected for invalid domain.'

    I suspect that posting the settings of your Admin > Configuration > Sessions page may help to debug this.
    sure here are my settings from the top:

    /tmp
    true
    false
    false
    false
    false
    true
    true
    true
    false
    true

  6. #6
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,239
    Plugin Contributions
    1

    Default Re: Contact Form Sesson Time Out

    Quote Originally Posted by mito0930 View Post
    sure here are my settings from the top:

    /tmp
    true
    false
    false
    false
    false
    true
    true
    true
    false
    true
    That's what I have on my ZC v1.57b, so probably not the place to look.
    Simon

  7. #7
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: Contact Form Sesson Time Out

    Quote Originally Posted by mito0930 View Post
    I'm using an SSL for it, I've forced it in the .htaccess file. Checkout is fine, I've done multiple tests to see if it works. Cache settings... where do I find that? The database is new, I created it specifically for this shop. I was ultimately thinking of ignoring the contact form that zen cart has and implementing a new one if it's too big of a hassle to fix. Before I said I didn't install any plugins, I only installed one and that's the ZCA Boostrap template. Not sure it counts as a plugin but changing the layout doesn't really change whether the form works or not.
    [Link]
    By inspection of the website, it appears that the additional action that has been taken to "force" SSL was that the includes/configure.php properly has HTTP_SERVER using https:.

    So the other thing, and this is based on simon1066's observation, is to see if the same site condition for sessions is implemented.

    Suggest attempting to apply the following commit to your existing includes/init_includes/init_sessions.php file:
    https://github.com/zencart/zencart/c...999c15186aa1e3
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  8. #8
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,492
    Plugin Contributions
    88

    Default Re: Contact Form Sesson Time Out

    Quote Originally Posted by mc12345678 View Post
    By inspection of the website, it appears that the additional action that has been taken to "force" SSL was that the includes/configure.php properly has HTTP_SERVER using https:.

    So the other thing, and this is based on simon1066's observation, is to see if the same site condition for sessions is implemented.

    Suggest attempting to apply the following commit to your existing includes/init_includes/init_sessions.php file:
    https://github.com/zencart/zencart/c...999c15186aa1e3
    Good point, @mc12345678.

    @mito0930, on which version of PHP is the site running?

  9. #9
    Join Date
    Sep 2019
    Location
    United States
    Posts
    28
    Plugin Contributions
    0

    Default Re: Contact Form Sesson Time Out

    Quote Originally Posted by mc12345678 View Post
    By inspection of the website, it appears that the additional action that has been taken to "force" SSL was that the includes/configure.php properly has HTTP_SERVER using https:.

    So the other thing, and this is based on simon1066's observation, is to see if the same site condition for sessions is implemented.

    Suggest attempting to apply the following commit to your existing includes/init_includes/init_sessions.php file:
    https://github.com/zencart/zencart/c...999c15186aa1e3
    I checked both init_sessions files and they're exactly the same as the fixes shown. As for the includes/configure.php file... is there something I should fix there or is it ok as it is?

  10. #10
    Join Date
    Sep 2019
    Location
    United States
    Posts
    28
    Plugin Contributions
    0

    Default Re: Contact Form Sesson Time Out

    Quote Originally Posted by lat9 View Post
    Good point, @mc12345678.

    @mito0930, on which version of PHP is the site running?
    It's running on PHP 7.4

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139h Customers Checking out at exactly the same time causing out-of-stock issues
    By G1bb074 in forum Managing Customers and Orders
    Replies: 0
    Last Post: 2 Apr 2013, 12:59 PM
  2. lengthening admin time out time...
    By Pepperfire in forum Upgrading to 1.5.x
    Replies: 2
    Last Post: 12 Jan 2012, 10:51 PM
  3. Contact US page + One more Contact FORM :blink:
    By Orange Wacko in forum Managing Customers and Orders
    Replies: 0
    Last Post: 21 Jul 2009, 10:29 PM
  4. SPAM from ‘Contact Us’ form, even though form is removed
    By Beer_man in forum General Questions
    Replies: 5
    Last Post: 3 Dec 2008, 02:40 AM
  5. Canada Post Time Out on Check out -not calc.
    By Upscale-resale in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 17 Nov 2006, 01:52 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR