Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
Author « Topic »  

LynK
Ecommerce Template Expert

Australia
696 Posts

Pre-sales questions only
(More Details...)

Posted - 12/27/2017 :  16:01:14  
https://www.kennykreations.com/products.php
How can I change the funny diamond shape with question mark to the arrows on the menu display?
Thanks, Lyn

1818charlie
ECT Moderator

United Kingdom
1198 Posts

Posted - 12/27/2017 :  18:07:45  
This is caused by a character set issue.
I'd remove the line
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> which is for use in HTML4, where as the line <meta charset="UTF-8"> is the default coding for HTML5 You should only have one character set referenced per page

Steve

Bolton, Lancashire, United Kingdom.

Using ECT PHP versions since 2004

Edited by - 1818charlie on 12/27/2017 18:12:24

LynK
Ecommerce Template Expert

Australia
696 Posts

Pre-sales questions only
(More Details...)

Posted - 12/28/2017 :  20:53:28  
Thanks, Steve.
I have replaced <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> with <meta charset="UTF-8"> in header.php and header-ect.php but it hasn't made any difference.
Lyn

Andy
ECT Moderator

95440 Posts

Posted - 12/29/2017 :  00:10:48  
Hi Lyn

Can you view source in the admin and see what charset is being used there. Just open an admin page in your browser, check the source and see if it is also utf-8.

Andy

Please feel free to review / rate our software

LynK
Ecommerce Template Expert

Australia
696 Posts

Pre-sales questions only
(More Details...)

Posted - 12/29/2017 :  00:40:32  
Hi Andy,

admin.php is showing the following: Content-Type text/html; charset=iso-8859-1

Lyn

Andy
ECT Moderator

95440 Posts

Posted - 12/29/2017 :  01:33:55  
The charset in the admin and on the frontend store pages need to match so you would need to use this in includes.php

$GLOBALS['adminencoding']="utf-8";

Then look under Store Admin > Database Utility and check what database collation is showing there.

Andy

Please feel free to review / rate our software

LynK
Ecommerce Template Expert

Australia
696 Posts

Pre-sales questions only
(More Details...)

Posted - 12/29/2017 :  01:54:50  
Andy, if I choose the option Set Database Collation, it shows some as latin1_swedish_ci
and some as utf8_general_ci.
The website is now showing the nice arrows, not the question mark in a diamond.
Thanks, Lyn

Andy
ECT Moderator

95440 Posts

Posted - 12/29/2017 :  03:11:45  
If it's working you can leave it as is but it might be best to use utf8_general_ci for all tables really.

Andy

Please feel free to review / rate our software

LynK
Ecommerce Template Expert

Australia
696 Posts

Pre-sales questions only
(More Details...)

Posted - 12/29/2017 :  03:56:29  
Thanks, Andy.
https://www.kennykreations.com/products.php
The other issue I have discovered with this page is that the link to Embroidery is set up as category, instead of categories.php.
I am having a brain fade at the moment and cannot see how to correct this.
Lyn

Andy
ECT Moderator

95440 Posts

Posted - 12/29/2017 :  04:04:34  
Maybe it's me having the brain fade as I'm not sure I follow what the problem is

Andy

Please feel free to review / rate our software

LynK
Ecommerce Template Expert

Australia
696 Posts

Pre-sales questions only
(More Details...)

Posted - 12/29/2017 :  04:19:47  
Andy, in the prodnavigation bar, the word Embroidery (underlined) is a link to category, which gives a 404 Error.
The link should be to categories.php
I am using Firefox and can edit it in Webdeveloper Addon and it works correctly, temporarily.
Just have no idea where to set it up to work correctly.
Obviously, I need to set the href="categories.php". Can't see where to do this???
Sure hope brain fades are not contagious!
Lyn

Andy
ECT Moderator

95440 Posts

Posted - 12/29/2017 :  04:27:32  
In the Wordpress admin under Pages, make sure your have a permalink set for categories.php, like you do for Products.

Andy

Please feel free to review / rate our software

LynK
Ecommerce Template Expert

Australia
696 Posts

Pre-sales questions only
(More Details...)

Posted - 12/29/2017 :  04:33:28  
Yes Andy, there is a permalink set up for categories.php
Lyn

Andy
ECT Moderator

95440 Posts

Posted - 12/29/2017 :  06:10:34  
Could it be you are using this setting in includes.php

$GLOBALS['seocaturlpattern']="/category/%s";

Andy

Please feel free to review / rate our software

LynK
Ecommerce Template Expert

Australia
696 Posts

Pre-sales questions only
(More Details...)

Posted - 12/29/2017 :  12:01:44  
Andy, this is what I have in includes.php
// SEO Tweeks
//$GLOBALS['seodetailurls']=TRUE;
//$GLOBALS['seocategoryurls']=TRUE;
//$GLOBALS['seocaturlpattern']='/category/%s';
//$GLOBALS['seoprodurlpattern']='/products/%s';
//$GLOBALS['seourlsthrow301']=TRUE;
//$GLOBALS['detailnameh1']=TRUE;
//$GLOBALS['menucategoriesatroot']=TRUE;
$GLOBALS['htmleditor']="ckeditor";
$GLOBALS['usecategoryname']=TRUE;
$GLOBALS['usepnamefordetaillinks']=TRUE;
$GLOBALS['detlinkspacechar']='-';
Lyn

Sinbad
ECT Moderator

USA
65937 Posts

Posted - 12/29/2017 :  12:27:31  
Hi Lynn, when you disabled the SEO Tweeks did you also remove any entries in the .htaccess file?


Winners never quit, quitters never win
CSS and Responsive Designs
User Manual for Ecommerce Templates

LynK
Ecommerce Template Expert

Australia
696 Posts

Pre-sales questions only
(More Details...)

Posted - 12/29/2017 :  12:30:06  
Hi Marlene,
This is what I have in htaccess.

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
Thanks, Lyn

Sinbad
ECT Moderator

USA
65937 Posts

Posted - 12/29/2017 :  13:52:56  
Hi Lyn, that looks ok, can you double check the vsadmin/includes for perhaps a duplicate of $GLOBALS['seocategoryurls']=TRUE;

Winners never quit, quitters never win
CSS and Responsive Designs
User Manual for Ecommerce Templates
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000