Author Topic: Basic Install, No Demo Product URL Issues  (Read 2262 times)

Offline jmp100

  • Newbie
  • *
  • Posts: 6
  • Karma: +1/-0
    • View Profile
Basic Install, No Demo Product URL Issues
« on: July 26, 2021, 02:48:05 PM »
The url for the shop changes once into the store. This was installed via ftp, no demo product data. cpanel installs no issue. So far it appears to function but is really odd. Any ideas how to remedy much appreciated. Issue replicated in two fresh installs.

URL example:

xxxxxx.com/shop/

Any links beyond including admin adds 'hop/':

xxxxxx.com/shop/hop/index.php?rt=product/special

AbanteCart version 1.3.0

.htaccess

# SEO URL Settings
RewriteBase /shop/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]


In the shop's header.tpl there is this adding the hop/ in url:

$system_checker_url

url: 'xxxxxxxx.com/shop/hop/index.php?rt=r/product/product/addToCart',

//periodical updater of new message notifier
var growl = null;
var alertcount = 3;
var system_checker = function () {
    if(alertcount <= 0) {
        return;
    }
    $.ajax({
        async: false,
        cache: false,
        url: '<?php echo $system_checker_url?>',
        success: function(data) {
            if(data != null && data != undefined) {
                if(growl != null && growl != undefined ) {
                    growl.close();
                }
                growl = showSystemAlert(data);
            }
        },
        complete: function() {
            // Schedule the next request when the current one's complete
            alertcount--;
            setTimeout(system_checker, 600000);
        }
    });
};

Issue #2.

The shop settings for url ie: www . xxxxxx.com/shop/

Changes to url: xxxxxx.com/shop/

Forcing url breaks font awesome icons and maybe other entities: www . xxxxxx.com/shop/

Thanks, JMP

Offline jmp100

  • Newbie
  • *
  • Posts: 6
  • Karma: +1/-0
    • View Profile
Re: Basic Install, No Demo Product URL Issues
« Reply #1 on: July 26, 2021, 03:04:22 PM »
Ok, I changed the store details url from 'www . xxxxxx.com/shop/' to 'xxxxxx.com/shop/'

This appears to have rectified the 'hop/' url issue and Issue #2 with broken font awesome icons.

Recommend to not install with the store urls containing 'www.' remove that from the store url and secure store url if you are having these odd issues.

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Basic Install, No Demo Product URL Issues
« Reply #2 on: July 27, 2021, 04:02:45 AM »
to solve please replace your file public_html/core/lib/config.php with this
 https://raw.githubusercontent.com/abantecart/abantecart-src/1.3.1/public_html/core/lib/config.php
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline jmp100

  • Newbie
  • *
  • Posts: 6
  • Karma: +1/-0
    • View Profile
Re: Basic Install, No Demo Product URL Issues
« Reply #3 on: July 27, 2021, 05:32:41 PM »
Thanks Abolabo, that made the fix for both issues  ;)

Offline ellagrace1658

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
    • Download Top Tamil and Telugu Movies Online Using Tamilmv
Re: Basic Install, No Demo Product URL Issues
« Reply #4 on: August 05, 2021, 12:43:21 PM »
Thanks

 

Powered by SMFPacks Social Login Mod