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
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Issues after updating to 7.2.6
Author « Topic »  

Erie33
Starting Member

Japan
20 Posts

Posted - 05/13/2021 :  01:18:10  
After updating from 6.7.1 to 7.2.6, categories works fine, but when I click products, it picks up wrong ID and becomes blank.
Our new server has now PHP 7.2.34 My SQL 5.7.28
All files in the vsadmin were uploaded, ectcart.jp and ectcart.css are also uploaded and linked.
updatestore.php was done. Database was checked and looks fine.
If I punch correct ID both products.php and proddetail.php show correct products.
manufacturers.php top is OK, but when I click the manfacturer, it picks up wrong number, and gets blank.
The problem is only when clicking categories to go to products.php, wrong ID like products.php?cat=79 is picked , while our products ID are mostly products names.
Is there any way to solve this problem?

Vince
Administrator

42761 Posts

Posted - 05/13/2021 :  03:15:15  
Hi Erie33
I tried the site that is linked to your email and everything seemed fine to tell the truth. Can you give me an example of a link that goes wrong?

Vince

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

Erie33
Starting Member

Japan
20 Posts

Posted - 05/13/2021 :  17:26:49  
Thank you Vince for checking out site. Now I am changing the server.
The link you saw was in the current old server, which is working fine with ecommerce template 6.7.1
The test site in the new server with ecommerce template 7.2.6. is having the problem of blank products.php.
I will send you the link to the new test URL.
I would appreciate if you could look at this url.

Marshall
Ecommerce Template Guru

USA
1909 Posts

Posted - 05/13/2021 :  17:53:24  
Did you upload these 2 files and place them in the <head>?

<script type="text/javascript" src="js/ectcart.js"> </script>
<link rel="stylesheet" href="css/ectcart.css">


Marshall
CENLYT Productions - ms designs
Affordable Web Design
Custom Ecommerce Designs
Responsive Websites
Cenlyt.com

Erie33
Starting Member

Japan
20 Posts

Posted - 05/13/2021 :  19:22:01  
Thank you Marshall
I have placed
<script type="text/javascript" src="js/ectcart.js"> </script>
<link rel="stylesheet" href="css/ectcart.css">
in the<head>
Still not working.
I sent the test site URL, I hope you can see what is happening.

Marshall
Ecommerce Template Guru

USA
1909 Posts

Posted - 05/13/2021 :  20:18:47  
Something is happening right after the meta name="description" tag. What do you have there between that and <!-- CSS --> such as any cart includes or scripts?

Marshall
CENLYT Productions - ms designs
Affordable Web Design
Custom Ecommerce Designs
Responsive Websites
Cenlyt.com

Erie33
Starting Member

Japan
20 Posts

Posted - 05/13/2021 :  23:22:03  
Hi Marshall.
Right after the meta name="description" tag was <?php include "vsadmin/inc/metainfo.php";?>
I removed this script and now it is working!!
How did you find this out?
You are amazing.
Thank you so much for your help!

Marshall
Ecommerce Template Guru

USA
1909 Posts

Posted - 05/14/2021 :  06:00:57  
You are welcome Eri. It was a good guess at it is not an uncommon mistake. If you are going to use the metainfo script, it is best to place these above the <title> tag and make sure there is only once instance of each include.
<?php include "vsadmin/db_conn_open.php" ?>
<?php include "vsadmin/inc/languagefile.php" ?>
<?php include "vsadmin/includes.php" ?>
<?php include "vsadmin/inc/incfunctions.php" ?>
<?php include "vsadmin/inc/metainfo.php" ?>


Marshall
CENLYT Productions - ms designs
Affordable Web Design
Custom Ecommerce Designs
Responsive Websites
Cenlyt.com

Erie33
Starting Member

Japan
20 Posts

Posted - 05/16/2021 :  19:14:50  
Thanks Marshall
I have put back
<?php include "vsadmin/inc/metainfo.php" ?>
to the place you mentioned to cat. prod. prddetail phps.

Everything is working, but only proddetails.php shows the product ID , and categories
I will send the link to where meta info relates.
  « 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