Results 1 to 8 of 8
  1. #1

    Ultimate SEO Form POST Method Bug Help

    Good Afternoon,

    I have installed Ultimate SEO latest version 2.102 on Zencart 1.302, I believe there is a rewrite issue for POSTED forms and I am not familiar enough with modrewrite to alter it. if a person tries to register or login, the form is posted so it would be posted from

    http:/<URL>/login.html

    and the rewrite rule applied would be

    RewriteRule ^(.*).html$ index\.php?main_page=$1&%{QUERY_STRING} [L]

    at the very end of the .htaccess file provided. but seeing as %{QUERY_STRING} is a $_GET and not a $_POST the data disappears and the information never gets submitted. I have confirmed this by altering the login and create_account templates/ modules to send the form as a GET and this works, so I believe that a one-liner in the modrewrite is need along the lines of

    RewriteCond %{REQUEST_METHOD} !^POST.*

    above the last line with the ignorinf of directories etc, but alas this does not appear to work

    Thank you for any help

    Philip.

  2. #2
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default Re: Ultimate SEO Form POST Method Bug Help

    Quote Originally Posted by bouncingltd
    Good Afternoon,

    I have installed Ultimate SEO latest version 2.102 on Zencart 1.302, I believe there is a rewrite issue for POSTED forms and I am not familiar enough with modrewrite to alter it. if a person tries to register or login, the form is posted so it would be posted from

    http:/<URL>/login.html

    and the rewrite rule applied would be

    RewriteRule ^(.*).html$ index\.php?main_page=$1&%{QUERY_STRING} [L]

    at the very end of the .htaccess file provided. but seeing as %{QUERY_STRING} is a $_GET and not a $_POST the data disappears and the information never gets submitted. I have confirmed this by altering the login and create_account templates/ modules to send the form as a GET and this works, so I believe that a one-liner in the modrewrite is need along the lines of

    RewriteCond %{REQUEST_METHOD} !^POST.*

    above the last line with the ignorinf of directories etc, but alas this does not appear to work

    Thank you for any help

    Philip.
    Are you saying customer cannot login or register?

  3. #3
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default Re: Ultimate SEO Form POST Method Bug Help

    I am wondering if this code have anything to do with it:

    PHP Code:
        // Ultimate SEO URLs v2.100
        // If the action will affect the cache entries
        
    if (preg_match("/(insert|update|setflag)/i"$action)) {
            include_once(
    DIR_WS_INCLUDES 'reset_seo_cache.php');
        } 
    It's currently missing from /admin/category.php of version 2.102 even though it is step 4 of the installation instruction.

  4. #4
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default Re: Ultimate SEO Form POST Method Bug Help

    Ignore my last post, it is indeed included in a separate folder. I guess it's time to get some rest. Too many starring at the computer.

  5. #5

    Default Re: Ultimate SEO Form POST Method Bug Help

    Quote Originally Posted by BlessIsaacola
    Are you saying customer cannot login or register?
    Yes with this SEO mod on 1.302 a person cannot log in nor create an account using forms that POST data, I seem to be getting mod_rewritten back to the pages either create_account.html most of the time.

    Though I do now suspect that the issue lies deeper in than the mod_rewrite code alone the form is posted with a $_GET string in the action which I suspect is confusing the issue.

  6. #6
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default Re: Ultimate SEO Form POST Method Bug Help

    Quote Originally Posted by bouncingltd
    Yes with this SEO mod on 1.302 a person cannot log in nor create an account using forms that POST data, I seem to be getting mod_rewritten back to the pages either create_account.html most of the time.

    Though I do now suspect that the issue lies deeper in than the mod_rewrite code alone the form is posted with a $_GET string in the action which I suspect is confusing the issue.
    I am really not sure what is causing your issue because this have not been reported before and I installed the mod on my test server a few nights ago and I was able to create account, login, checkout etc. without any problem.

    Are you using Ultimate SEO Version 2.102 and did you updated the 3 core files with the changes required?

  7. #7

    Default Re: Ultimate SEO Form POST Method Bug Help

    Quote Originally Posted by BlessIsaacola
    I am really not sure what is causing your issue because this have not been reported before and I installed the mod on my test server a few nights ago and I was able to create account, login, checkout etc. without any problem.

    Are you using Ultimate SEO Version 2.102 and did you updated the 3 core files with the changes required?
    Yes I am using the version available for download via this website, the files were update from the folder 1301-1302-1303-specific-files, rather than the instructions. I could give you a private log on to show the effect on my webserver, since the site is not yet live. I'll have to just reset the form back, because as I stated above, it works with a $_GET but not with a $_POST.

  8. #8

    Default Re: Ultimate SEO Form POST Method Bug - NON EXISTENT

    Nope, foolish me, cocked up, I installed Ultimate SEO and the installed Image Handler 2, which overwrote the file

    includes/functions/html_output.php

    so if anyone else cannot create a new user or log in, then check that html_output.php has the new zen_href_link function supplied in Ultimate SEO. My apologies for wasting anyone's time.

    Thank you

    Philip

 

 

Similar Threads

  1. Simple SEO URL, Ultimate SEO URLs, Ceon URI Mapping SEO
    By pizza392 in forum All Other Contributions/Addons
    Replies: 13
    Last Post: 21 Jan 2015, 10:49 AM
  2. Bug when easy populate and ultimate seo url
    By alvalong in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 14 Jul 2010, 04:08 AM
  3. 13.9d ultimate seo url bug with bag store?
    By alvalong in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 13 Jul 2010, 06:55 PM
  4. Ultimate SEO Help Needed!!!
    By michaelpattisr in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 4 Aug 2008, 05:58 AM
  5. BUG/Error: Ultimate SEO URLs and ZenCart 1.2.6
    By ronpeled in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 22 May 2006, 11:23 PM

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