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
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Website down after upgraded the php version to 7.
Author « Topic »  

yusuf691
New Member

USA
98 Posts

Posted - 12/03/2019 :  11:31:21  
My son upgraded the php version to 7.3
and the website stopped working
he was unable to go back to previous version please help

site
hennausa.com

Marshall
Ecommerce Template Guru

USA
1874 Posts

Posted - 12/03/2019 :  12:19:03  
Is this how it has always been?

<SCRIPT LANGUAGE="php">
include "vsadmin/db_conn_open.php";
include "vsadmin/includes.php";
include "vsadmin/inc/languagefile.php";
include "vsadmin/inc/incfunctions.php";
</SCRIPT>

You should have this at the very top of the page, above <html> tag
<?php
session_cache_limiter('none');
session_start();
ob_start(); ?>

Then have
<?php include "vsadmin/db_conn_open.php" ?>
<?php include "vsadmin/inc/languagefile.php" ?>
<?php include "vsadmin/includes.php" ?>
<?php include "vsadmin/inc/incfunctions.php" ?>

preferably above the <title> tag in case you want to use dynamic titles or descriptions.

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

dbdave
ECT Moderator

USA
10276 Posts

Posted - 12/03/2019 :  12:51:48  
There are typically changes you need to make when upgrading your php version to 7+ from an old version 5+.
Check this thread for solutions https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=107737

yusuf691
New Member

USA
98 Posts

Posted - 12/03/2019 :  13:40:45  
I made the changes most of the site is up is up now however once you add the product to the cart
it gives this message

Not Acceptable!
An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.

please check and let me know what else i need to do to get this fixed

website is hennausa.com

Marshall
Ecommerce Template Guru

USA
1874 Posts

Posted - 12/03/2019 :  17:28:34  
Seems you are missing the ectcart.js file.
<script type="text/javascript" src="ectcart.js"></script>

and the ectcart.css file
<link rel="stylesheet" href="ectcart.css">
These should go above your
<link href="css/bf.css" type="text/css" rel="stylesheet" />

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

dbdave
ECT Moderator

USA
10276 Posts

Posted - 12/03/2019 :  17:58:35  
Hi, Just to add to Marshall's post, you can see details on that here - https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=107040

David

Phil
ECT Moderator

United Kingdom
7621 Posts

Posted - 12/04/2019 :  01:28:02  
quote:
Not Acceptable!
An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.

You need to speak to your host with regard to that error message, they may have to whitelist a rule or two.



* Database Migrations and Conversions*
* ASP to PHP Cart Conversions*

*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*
  « 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