Page 216 of 291 FirstFirst ... 116166206214215216217218226266 ... LastLast
Results 2,151 to 2,160 of 2907
  1. #2151
    Join Date
    Aug 2004
    Location
    Belfast, Northern Ireland
    Posts
    2,480
    Plugin Contributions
    14

    Default Re: Ceon URI Mapping (SEO)

    Hi,

    Quote Originally Posted by Mustang394 View Post
    Ahh thats the problem I can't seem to figure out what file it is calling
    Well, as the docs say: "Check all the files in the root directory of the Zen Cart installation, and any files installed by any other third party modules, to see if they contain a line that loads in application_top.php - the require command will mostly likely be near the top of the file."

    In under 20 seconds I was able to download the Check by Amazon Zen Cart plugin, unzip it and search the module's files.

    The file path you need to add to the list of excluded files is:

    /checkout_by_amazon.php

    Wasn't very hard! ;p

    (If your store is in a folder put the store's folder name before the above: /store/checkout_by_amazon.php ).

    All the best..

    Conor
    ceon

  2. #2152
    Join Date
    Jun 2008
    Location
    Colorado
    Posts
    145
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping (SEO)

    I must be missing something else then because I did that, and still get page not found error when returning from Amazon, I the bright side orders still go thru just fine.

    The reason I was looking for help as I already added that file as per the docs and it did not help. Added alot of other just in case still no joy.

    Harder than it appears :)

  3. #2153
    Join Date
    Aug 2004
    Location
    Belfast, Northern Ireland
    Posts
    2,480
    Plugin Contributions
    14

    Default Re: Ceon URI Mapping (SEO)

    Hi,

    Quote Originally Posted by Mustang394 View Post
    I must be missing something else then because I did that, and still get page not found error when returning from Amazon, I the bright side orders still go thru just fine.

    Harder than it appears :)
    It shouldn't be hard. Something else may be going wrong then.

    I'm afraid without looking at the site/server itself I can't say anymore.

    What you should check for is to check your webserver's (domain's) access log to see what files are being called. maybe the path isn't what we are expecting?

    If you want me to take a quick look simply send me some FTP details for your site.

    All the best..

    Conor
    ceon

  4. #2154
    Join Date
    Jun 2008
    Location
    Colorado
    Posts
    145
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping (SEO)

    Giving it a specific page to return has fixed the problem somewhat but the pop up with the order ID does not display.

    Thanks for the help Conor you gave me some new ideas to look at.

  5. #2155
    Join Date
    Aug 2004
    Location
    Belfast, Northern Ireland
    Posts
    2,480
    Plugin Contributions
    14

    Default Re: Ceon URI Mapping (SEO)

    Hi,

    Quote Originally Posted by Mustang394 View Post
    Giving it a specific page to return has fixed the problem somewhat but the pop up with the order ID does not display.
    I'm afraid I'm not really sure what you are talking about as I've never seen the module in operation before. It sounds like you may need to add a condition to the rewrite rule to stop it blocking some sort of popup page from being displayed, or something like that.

    I hope you can get any remaining problems fixed.

    All the best..

    Conor
    ceon

  6. #2156
    Join Date
    Nov 2010
    Posts
    5
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping (SEO)

    Hi, i have problem with automatic switching of currencies.
    It appears, that when i will switch to new language, $_GET['language'] never arrives to /includes/init_includes/init_currencies.php.

    Any ideas?
    BTW: great work with this SEO module.

    ZC 1.3.9c

  7. #2157
    Join Date
    Aug 2004
    Location
    Belfast, Northern Ireland
    Posts
    2,480
    Plugin Contributions
    14

    Default Re: Ceon URI Mapping (SEO)

    Hi,

    Quote Originally Posted by fangy View Post
    It appears, that when i will switch to new language, $_GET['language'] never arrives to /includes/init_includes/init_currencies.php.
    Ceon URI Mapping does indeed replace Zen Cart's language switch handling. However,it is set in the init_system to run before the currencies' init script, so should not affect it (unless there's a bug in my code).

    Have you changed or overridden includes/auto_loaders/config.core.php ?

    The currencies initialisation code should run at breakpoint 120:

    PHP Code:
    $autoLoadConfig[120][] = array('autoType'=>'init_script',
                                     
    'loadFile'=> 'init_currencies.php'); 
    Ceon URI Mapping's init script should run at breakpoint 99.

    If yours don't, that's most likely the source of your problems.

    If they do then I'll need a lot more information from you.. the exact sequence of the actions you are performing, the exact URIs that you are seeing, and what you are expecting to see but aren't.

    All the best..

    Conor
    ceon

  8. #2158
    Join Date
    Aug 2004
    Location
    Belfast, Northern Ireland
    Posts
    2,480
    Plugin Contributions
    14

    Default Re: Ceon URI Mapping (SEO)

    Hi,

    It turns out it is kindof a bug.

    When the language is changed in Ceon URI Mapping, it actually unsets the language parameter so that it isn't added to all the URIs (Zen Cart would otherwise always append it like: yoursite.com/your-category?language=XX).

    The only script that uses $_GET['language'] outside of the languages script (which is already superseded by Ceon URI Mapping) is of course init_currencies.php.. so that's the problem!

    As far as I can see, the only sideeffect of the current code is that when you switch language, the currency doesn't reset to the default language currency for the store.. is that the behaviour you were expecting that isn't occurring?

    If so, I think the following may fix things, please try it:

    In includes/init_includes/init_currencies.php change

    PHP Code:
    if ($new_currency == false || isset($_GET['language'])) $new_currency = (USE_DEFAULT_LANGUAGE_CURRENCY == 'true') ? zen_currency_exists(LANGUAGE_CURRENCY) : $new_currency
    to

    PHP Code:
    if ($new_currency == false || $language_changed)  $new_currency = (USE_DEFAULT_LANGUAGE_CURRENCY == 'true') ?  zen_currency_exists(LANGUAGE_CURRENCY) : $new_currency
    Let me know how you get on.

    Again, if there are any problems, I'll need a full diagnosis by you about what exact steps you are taking, what URIs you are using and what you are expecting to see happen.

    All the best..

    Conor
    ceon

  9. #2159
    Join Date
    Nov 2010
    Posts
    5
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping (SEO)

    Hi, i have no changes in autoloaders, BP 120 and 99 are ok.

    My problem is "Switch To Default Language Currency" option in Zen-Cart is turned on...
    When i will try to switch language (everywhere - in listing or product detail) Zen will not switch currency to right one for the chosen language.
    Im not really Zen expert, but i think the problem is it this $_GET[language] in this init currency file. This is empty.

    Your script doesnt work too?! It looks like this $language_changed is still empty. When im changing my language or not :)

  10. #2160
    Join Date
    Aug 2004
    Location
    Belfast, Northern Ireland
    Posts
    2,480
    Plugin Contributions
    14

    Default Re: Ceon URI Mapping (SEO)

    Hi,

    That was the wrong line to try changing I think. I think you might want to try changing the following:

    PHP Code:
    (isset($_GET['language']) && USE_DEFAULT_LANGUAGE_CURRENCY == 'true' && LANGUAGE_CURRENCY != $_SESSION['currency']  ) 
    to

    PHP Code:
    (isset($language_changed) && $language_changed && USE_DEFAULT_LANGUAGE_CURRENCY == 'true' && LANGUAGE_CURRENCY != $_SESSION['currency']  ) 
    For the functionality work you must have defined the correct language code for LANGUAGE_CURRENCY for each language you are using. (This is done in the main languages file for the language).

    Let me know how you get on.

    All the best..

    Conor
    ceon

 

 

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. Ceon uri mapping vs Simple SEO
    By crixus in forum General Questions
    Replies: 0
    Last Post: 28 Feb 2014, 04:41 AM
  3. v151 Ceon URI Mapping (SEO) Issues?
    By yisou in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 30 Jul 2013, 12:06 PM
  4. v151 Ceon URI Mapping (SEO) installation problem.
    By jmac2020 in forum General Questions
    Replies: 1
    Last Post: 23 Oct 2012, 01:06 PM
  5. Ceon URI Mapping (SEO) How to install?
    By jackfitz in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 28 Apr 2010, 12:09 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