Shopping Cart Operations > Support
Basic Install, No Demo Product URL Issues
(1/1)
jmp100:
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
jmp100:
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.
abolabo:
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
jmp100:
Thanks Abolabo, that made the fix for both issues ;)
ellagrace1658:
Thanks
Navigation
[0] Message Index
Go to full version