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
Author « Topic »  

bcm123
Starting Member

34 Posts

Posted - 01/09/2022 :  11:45:58  
I am setting up the initial db connection. After opening createdb file within my site all I get is a light blue background image. Any thoughts?

www.smallbiz1st.com/createdb.php

htaccess:

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{HTTP_HOST} ^(www\.)?smallbiz1st\.com
RewriteRule ^(.*)$ https://www.smallbiz1st.com/$1 [R,L]

Edited by - bcm123 on 01/09/2022 21:07:58

1818charlie
ECT Moderator

United Kingdom
1018 Posts

Posted - 01/09/2022 :  16:58:52  
Have you
A. Firstly created the database on the server in your hosting control panel?
B. Secondly set the database connection in the vsadmin/db_conn_open.php?

Once you have done the above you then run the the createdb.php file from the browser https://www.yoursite.com/createdb.php. Doing so will then install the database tables and data.

NOTE - The createdb.php file DOES NOT actually create the database



Steve
Bolton Lancashire

Edited by - 1818charlie on 01/09/2022 17:02:09

bcm123
Starting Member

34 Posts

Posted - 01/09/2022 :  17:03:17  
Yes, I have been troubleshooting this most of the afternoon. Triple checked.

1818charlie
ECT Moderator

United Kingdom
1018 Posts

Posted - 01/09/2022 :  17:07:59  
Are all the files & folders from the template on the server?

Steve
Bolton Lancashire

bcm123
Starting Member

34 Posts

Posted - 01/09/2022 :  17:11:46  
Yes.

1818charlie
ECT Moderator

United Kingdom
1018 Posts

Posted - 01/09/2022 :  17:28:23  
As things are I am unable to see any of the files on the server by visiting https://www.smallbiz1st.com/about.php, products.php, categories.php etc etc etc. All I am seeing are blank white screens & no souce code. In Screaming Frog SEO the status shows as Connection Refused & Indexability as Non-Indexable & doesn't list any files.

Have you any rules that block site access in your .htaccess file?

I'm going to have to leave this as it's late here & I have to be out at 8am. I'm sure Vince or one of the others will be able to help you out.

Steve
Bolton Lancashire

Edited by - 1818charlie on 01/09/2022 17:31:13

bcm123
Starting Member

34 Posts

Posted - 01/09/2022 :  17:31:55  
I will check with host. Thanks

Phil
ECT Moderator

United Kingdom
7426 Posts

Posted - 01/10/2022 :  01:12:44  
Hi,
Can you post all the contents of your vsadmin/db_conn_open.php file without the username, database name and password of course



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

bcm123
Starting Member

34 Posts

Posted - 01/10/2022 :  04:29:55  
<?php

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

*****

//////////////////////////////////////////////////
// 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><style>div{ margin:20px }</style></head>';
print '<body><div>Database Connect Error (' . mysqli_connect_errno() . ') ' . mysqli_connect_error() . '</div>';
print '<div>You need to set your database connection in vsadmin/db_conn_open.php</div>';
print '<div>For help setting your database connection please see...<br />';
print '<a href="https://www.ecommercetemplates.com/phphelp/ecommplus/instructions.asp#dbconn" target="_blank">Database Connection Instructions</a></div>';
print '<div>We also have a support forum here...<br />';
print '<a href="https://www.ecommercetemplates.com/support/" target="_blank">Support Forum</a></div>';
die('</body></html>');
}
?>

Vince
Administrator

41216 Posts

Posted - 01/10/2022 :  04:36:49  
Hi there
I'm not sure if this was just when you were removing the username and password but there seemed to be some errors in that file. But if you like, why not just send the site FTP login and password to my email at vince AT ecommercetemplates DOT com and I'll have a check to see what is up.

Vince

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

bcm123
Starting Member

34 Posts

Posted - 01/10/2022 :  10:36:41  
Would you recommend I strip down all the files and start over?

Vince
Administrator

41216 Posts

Posted - 01/10/2022 :  13:55:42  
Well, that's one way of tackling this but I think if you send me the site FTP login it may be really just something simple.

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-2021 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000