How to upload magento website to my godaddy windows hosting? - magento

I have created a magento store on my laptop on localhost now i want to host this store on my godaddy hosting(Windows) how can i do this ?

moving files and database
I assume these two steps are obvious:
copy all of your local files to production server
dump your magento local db and import it into your production server db
editing in production server
now on your production server you need to follow these two steps:
edit app/etc/local.xml file and change database info
in production db,in its core_config_data table, you should find every records containing the url of your local installation, then you need to update those values;which can be found with this query:
SELECT *
FROM `core_config_data`
WHERE `value` LIKE 'http://%';
edit (thanks to comments):
3. Do not forget to delete var folder contents

Related

In Plesk server by mistake deleted domain

I deleted in my CentOs VPS 1 domain accidentally and i have no backup.. is it possible to restore the domain and the DB by server side?
Thank you.
You should have a daily database backup, which you could restore. Consider to have a look at "/var/lib/psa/dumps", where you will find the backups.
A documentation/tutorial from Plesk how you would restore the backup could be found here:
=> How to backup/restore a Plesk database dump? ( Official Plesk - KB - article 213904125 )

How to move spotfire 7.5 database from one SQL server to other

I have a Spotfire 7.5 setup on my machine. I am using SQL server of another machine to keep the Spotfire database. Now I need to move my Spotfire database on another machine. I took the backup of my Spotfire database and restored on the SQL server of another machine.
Now I want to edit the bootstrap.xml to point my 'Spotfire' db which is now on new SQL server. But I am unable to do this as when I open the configuration tool by giving the password, it gets opened but the bootstrap tab(in which I need to edit the database server) shows disabled. And if I am directly editing the file' bootdtrap.xml' in notepad then it not works.
Can anyone help me, how to achieve this?
Also do I need to perform some other steps? Please share that as well.
I am able to move the database using the configuration tool. I have clicked on the New bootstrap file creation option and created a new one. It automatically took my last changes for other tabs i.e. Configuration tab, Administration tab etc. And my Spotfire database moved successfully and it is working.

setting up remote connection with an existing monetdb db

I create a monetdb database using mserver5 (in actual fact I use R and MonetDB.R for this part).
Retrospectively (once the db has been created) I would like to do the following:
set a remote connection to the db
set a passphrase for the remote connection (apparently necessary)
Please note that from the manuals I think I can do the above on a new dbFarm created with monetdbd.
My problem is to do the above retrospectively on an existing db.
To start I tried to use monetdbd and pointing it to the db folder (created by mserver5) with
monetdbd get all myFolderCreatedWithmserver5
But I get
unable to read properties from myFolderCreatedWithmserver5: no such file or directory
You are most probably providing monetdbd the wrong folder. You can identify the "dbfarm" folder by its contents:
.merovingian_lock
merovingian.log
.merovingian_properties
one folder for each database
If you provide a folder above this one, or any folder of a database, you will get the above error message.

nopcommerce 3.40 Deployment cant create database

I installed on localhost with a local database. I compiled in Release mode - Any CPU. I have recopied the file system set from publish to the root folder as always.
I am taken directly to the install page. I try to install using my websites database server name. Ive tried reconnecting to an existing database.
I get the error message (Ive tried both connection methods):
Setup failed: Sequence contains more than one element
So i tried to just create a new database. i get error:
Setup failed: An error occurred while creating the database: CREATE DATABASE permission denied in database 'master'.
I have checked to make sure my username and password are correct for the database. I think maybe i need to reset the install files some how? I have tried everything from delete to editing the settings.txt file in the App_data folder. still cant get passed the install
You don't have permission to create a new database using these credentials. You should configure SQL Server to allow it
Most shared hosting doesn't allow you to create database from code. To overcome this, do:
Manually create database on your host
Get the connection string / connection info
Enter the info in [2] during installation, make sure you uncheck "create database if it doesn't exist"
The nopCommerce install never creates a database. If you so choose... nopCommerce will create tables.
Edit: I am marking this the answer because this concept helped solve both new database creation and connecting to existing databases.

Joomla Akeeba Backup exclude database table column

I am using a combination of Joomla 3.x/Hikashop/Akeeba Backup for staging between my dev and production sites. I understand that from Akeeba, I can configure database tables to exclude, however I need to exclude a very specific column from a table when migrating from my dev to production. so for example #_hikashop_product contains the column of product_quantity that needs to retain its value on the production side since the dev does not have values. If I exclude the entire product table, I would be excluding updates to products my clients have made.
any suggestions?
The best way to do this would be to create a PHP script that will run after Akeeba to copy the contents of the product table. The product table should be excluded from the Akeeba backup.

Resources