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
 Cannot activate updater in browser
Author « Topic »  

markpnc
Starting Member

United Kingdom
3 Posts

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

Posted - 03/28/2022 :  15:03:26  
My site - madaboutjewellery.com - is working fine. It clearly has a correct database connection because it works. But I cannot activate the updatestore.php. When I try to reach it I get a blank page. I am running ECT Version 5.6 and I want to update to the latest version if possible. the updatestore.php is in the root directory of the site as per your instructions. I jst can't think what would be causing this. Any help would be very much appreciated.

markpnc
Starting Member

United Kingdom
3 Posts

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

Posted - 03/29/2022 :  02:06:34  
I have tried various Versions of PHP. I have also made adjustments to the htaccess file but nothing works so far. I see this topic has been read by 11 people but no help forthcoming. I just paid for a year's support for the updated software. Not sure how else I am supposed to get help? Any response would be gratefully received...

Phil
ECT Moderator

United Kingdom
7715 Posts

Posted - 03/29/2022 :  02:26:23  
Hi Mark,
Sorry about the delay
It sounds like you need to set the PHP version on the server to version 7

Change the db_conn_open.php file to mysqli and then run the updatestore.php

So edit the db_conn_open.php file to the following below (with your credentials obviously)

<?php

// You host should be able to provide you with these settings if you do not know them already

$db_username = "yourusername"; // Your database login username
$db_password = "yourpassword"; // Your database login password
$db_name = "yourdatabasename"; // The name of the database you wish to use
$db_host = "localhost"; // The address of the database. Often this is localhost, but may be for example db.yoursite.com

//////////////////////////////////////////////////
// Please do not edit anything below this line. //
//////////////////////////////////////////////////

$GLOBALS['ectdatabase'] = new mysqli($db_host, $db_username, $db_password, $db_name);
if(mysqli_connect_error()){
ob_clean();
print '<html><head><title>Database connect error</title></head><body><div style="margin:20px;clear:both">Database Connect Error (' . mysqli_connect_errno() . ') ' . mysqli_connect_error() . '</div>';
print('<div style="margin:20px;clear:both">You need to set your database connection in vsadmin/db_conn_open.php</div>');
print '<div style="margin:20px;clear:both">For help setting your database connection please see...<br />';
print '<a href="https://www.ecommercetemplates.com/phphelp/ecommplus/instructions.asp#dbconn" target="_blank">https://www.ecommercetemplates.com/phphelp/ecommplus/instructions.asp#dbconn</a></div>';
print '<div style="margin:20px;clear:both">We also have a support forum here...<br />';
print '<a href="https://www.ecommercetemplates.com/support/" target="_blank">https://www.ecommercetemplates.com/support/</a></div>';
die('</body></html>');
}
?>



*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

Edited by - Phil on 03/29/2022 02:27:05

Vince
Administrator

42874 Posts

Posted - 03/29/2022 :  02:49:23  
Hi Mark
But if what Phil suggested doesn't work then send me the site FTP login to vince AT ecommercetemplates DOT com and I'll sort it out.

Vince

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

markpnc
Starting Member

United Kingdom
3 Posts

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

Posted - 03/29/2022 :  03:33:52  
Thanks so much for that help. I changed the PHP Version to 7 and edited the db_conn_open.php file, but alas the problem persists. Still a white page. I have sent the details to vince via 2 emails just for a bit of extra security. I'm not sure what else to try. Perhaps Vince will have more luck (or skill more likely!).

Vince
Administrator

42874 Posts

Posted - 03/29/2022 :  14:29:31  
Hi Mark
I replied to your email earlier to day but then I just got another saying you hadn't heard from me. Just in case you aren't getting my mails then I'll post the message here...
quote:
Sorry for the delay getting started on this, but did this just suddenly start occurring? Did you contact your host about it? It looks like it is when the scripts try to access the database that the problems occur so it could just be that they need to give the database server a bit of a kick. Can you get in touch with them and copy me on any correspondence if you wish.
Vince



Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000