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


 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Gibberish symbols
 New Topic  Reply to Topic
 Printer Friendly
Next Page
Author  Topic 
Page: of 2

Andrey9
New Member

Israel
87 Posts

Posted - 06/21/2020 :  01:54:25  
Hello all!
Suddenly my site in Russian and Hebrew block change language to symbols:
http://www.tiens.co.il/articles.php?region=5
any idea what happened and what to do?


Kislev Andrey

Vince
Administrator

39042 Posts

Posted - 06/21/2020 :  06:19:29  
Hi Andrey9
It looks to me like the page encoding has been changed recently. If I take a copy of the page source and paste it here as ANSI then the product descriptions view ok but the menus etc are wrong. If I paste it as UTF-8 then the reverse happens and the descriptions are wrong but menus etc ok. Did you make any changes recently that you think could have affected this?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Andrey9
New Member

Israel
87 Posts

Posted - 06/21/2020 :  11:14:04  
HI
Several weeks ago I did update to version v7.1.10
I really do not know why it happened after several weeks.
In includes.php configured $adminencoding="utf-8";
Maybe return the previous version from the backup?



Kislev Andrey

Vince
Administrator

39042 Posts

Posted - 06/21/2020 :  15:44:40  
I'm really not sure the updater would have had anything to do with this. Is it possible that the encoding of the database was changed? Can you try asking your host maybe?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Andrey9
New Member

Israel
87 Posts

Posted - 06/22/2020 :  00:15:35  
The hosting update PHP version to 7.3.
Maybe that is problem?

Kislev Andrey

Vince
Administrator

39042 Posts

Posted - 06/22/2020 :  00:37:19  
It may well have had something to do with it, but in any case the important thing is getting everything looking ok again. If you view your product descriptions in the admin products pages does the text look ok or is it gibberish? If it is gibberish, if you change ...
$adminencoding="utf-8";
...to...
$adminencoding="iso-8859-1";
...then does it look ok?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Andrey9
New Member

Israel
87 Posts

Posted - 06/22/2020 :  01:08:15  
I changed in includes.php
$adminencoding="utf-8";
...to... $adminencoding="iso-8859-1";
but it looks the same problem?

Kislev Andrey

Vince
Administrator

39042 Posts

Posted - 06/22/2020 :  04:46:04  
. . . but I mean in the admin products page. You should see some difference there when changing the $adminencoding.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Andrey9
New Member

Israel
87 Posts

Posted - 06/22/2020 :  06:33:23  
I do not understand
Where the admin products page is located?
You can see problem on all php pages that connected to DB:
http://www.tiens.co.il/articles.php?region=9

There is not problem on static PHP like this:
http://www.tiens.co.il/business.php


Kislev Andrey

Andrey9
New Member

Israel
87 Posts

Posted - 06/22/2020 :  06:39:42  
I got email from Hostmonster Support:
Hello,

This email is regarding last chat with us, I have checked your website issue with specialists and it is php version issue. Your website is using outdated php version so when php version is updated website is not working so you need to update your website for the latest php version.
....
How to update the PHP version of Website?

Kislev Andrey

Vince
Administrator

39042 Posts

Posted - 06/22/2020 :  07:19:50  
quote:
Where the admin products page is located?
You can see problem on all php pages that connected to DB:
http://www.tiens.co.il/articles.php?region=9
My apologies, these aren't product listing but content regions so go to the content regions admin page which would be something like...
http://www.tiens.co.il/vsadmin/admincontent.php

The message from the host doesn't really make a lot of sense I'm afraid. Maybe you could try asking them to clarify but I think they are just basically saying, "it's a problem with the code" without actually knowing anything about what the actual problem is.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Andrey9
New Member

Israel
87 Posts

Posted - 06/22/2020 :  07:27:16  
On this page http://www.tiens.co.il/vsadmin/admincontent.php
Does not configured $adminencoding="utf-8";
There is content of this page:
<?php
//This code is copyright (c) Internet Business Solutions SL, all rights reserved.
//The contents of this file are protect under law as the intellectual property
//of Internet Business Solutions SL. Any use, reproduction, disclosure or copying
//of any kind without the express and written permission of Internet Business
//Solutions SL is forbidden.
//Author: Vince Reid, vince@virtualred.net
@ini_set('session.gc_maxlifetime', 1440);
session_cache_limiter('none');
session_start();
ob_start();
include 'db_conn_open.php';
include 'includes.php';
include 'inc/languageadmin.php';
include 'inc/incfunctions.php';
include 'inc/incloginfunctions.php';
?>
<!doctype html>
<head>

<title>Admin CMS Content Region</title>
<?php adminassets() ?>
<meta http-equiv="Content-Type" content="text/html; charset=<?php print $adminencoding ?>"/>
</head>
<body <?php if($isprinter) print 'class="printbody"'?>>
<?php if(! $isprinter){ ?>

<!-- Header section -->
<?php adminheader() ?>

<!-- Left menus -->
<?php adminnavigation(); ?>

<?php } ?>
<!-- main content -->

<div id="main">
<?php
if(substr(@$_SESSION['loggedonpermissions'],16,1)!='X')
print '<table width="100%" border="0" bgcolor=""><tr><td width="100%" colspan="4" align="center"><p> </p><p> </p><p><strong>'.$yyOpFai.'</strong></p><p> </p><p>'.$yyNoPer.' <br /> <br /> <br /> <br /> <br /><a href="admin.php"><strong>'.$yyAdmHom.'</strong></a>.</p><p> </p></td></tr></table>';
else
include "inc/incadmincontent.php"; ?></div>



<!-- Footer -->
<?php adminfooter() ?>

</body>
</html>

So, what to do?

Kislev Andrey

Vince
Administrator

39042 Posts

Posted - 06/22/2020 :  15:11:59  
Hi again
Can you send the site FTP login details to my email (vince AT ecommercetemplates DOT com) then and I'll try myself.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Andrey9
New Member

Israel
87 Posts

Posted - 06/23/2020 :  08:12:28  
Hello! Please answer me. My customer cannot do order.

Kislev Andrey

Vince
Administrator

39042 Posts

Posted - 06/23/2020 :  08:48:16  
Hi Andrey
You've now sent me an FTP login which allows me to see the site files, which is good. But the login you sent me is for the site...
tiensisrael.com
...and not the site with the problem...
http://www.tiens.co.il/articles.php?region=5
I tried looking to see if the pages were the same but it appears not. For instance, this page has nothing on it...
http://www.tiensisrael.com/articles.php?region=5

Could you maybe get me a login for the tiens.co.il site?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Andrey9
New Member

Israel
87 Posts

Posted - 06/23/2020 :  08:57:51  
After login you have to browse to /public_html/tienscoil directory

Kislev Andrey

Andrey9
New Member

Israel
87 Posts

Posted - 06/23/2020 :  09:36:34  
Let me know if you get /public_html/tienscoil directory?
/public_html/tienscoil is root directory of site www.tiens.co.il

Kislev Andrey

Vince
Administrator

39042 Posts

Posted - 06/23/2020 :  10:29:33  
Hi Andrey
Yes, I've got access to the site now and have a local copy of the database to work with, but still don't have an answer as to how this happened I'm afraid. Do keep on at your host though to see if they changed anything and so could give us a clue as to what happened. I've got to head out for a bit but I'll carry on with this when I'm back and I'll let you know when I have any answers.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Vince
Administrator

39042 Posts

Posted - 06/23/2020 :  12:05:24  
Andrey, do you have backup copies of the database from when the site was working? If so, could you zip one up and put it on the webserver and send me an email with the location?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Andrey9
New Member

Israel
87 Posts

Posted - 06/24/2020 :  03:40:31  
Hello! I ask hosting support team to do restore to file, but it take 24 hours.
But i Pay attention that in 3 my sites only two have problem with encoding!
Maybe in the meantime you can compare and find problem?
There are problem sites:
1. www.tiens.co.il - root directory is -->> /public_html/tienscoil
2. www.discount80.com - root directory is -->> /public_html/discount80

There is site without encoding problem:
www.tiensisrael.com root directory is /public_html

Kislev Andrey

Andrey9
New Member

Israel
87 Posts

Posted - 06/25/2020 :  08:53:10  
Dear support team,
Please help me.
Nobody answer last 2 days.
I cannot do sales, business goes down!

Kislev Andrey
Page: of 2  Topic   
Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2019 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000