News
: July 14, 2008 - New Contest! -
Submit Your WordPress Theme Designs, Win BIG!
August 25, 2008 -
Time to Vote for the August 2008 Site of the Month!
Home
Help
Search
Calendar
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
August 30, 2008, 06:26:02 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Web Hosting Forum | Lunarpages
>
Lunarpages Web Hosting - Online Help Desk
>
Lunarpages - Ecommerce Hosting
>
Copy of existing website not working
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Copy of existing website not working (Read 524 times)
barryjacq
Trekkie
Offline
Posts: 13
Copy of existing website not working
«
on:
July 14, 2006, 10:58:00 AM »
I have just made a copy of a working website over to a different domain name. I copied the structure of the original database and some of the important data.
However, when I upload the files to the new website I get the following error message:
1046 - No database selected
select configuration_key as cfgKey, configuration_value as cfgValue from configuration
[TEP STOP]
Any ideas what is causing this?
Logged
Nibbler
21st century digital boy
Master Jedi
Offline
Posts: 1178
Re: Copy of existing website not working
«
Reply #1 on:
July 14, 2006, 01:10:51 PM »
http://www.oscommerce.info/kb/osCommerce/General_Information/Common_Problems/69
Did you recreate the db users exactly as they were before?
Logged
Missing since 1983
barryjacq
Trekkie
Offline
Posts: 13
Re: Copy of existing website not working
«
Reply #2 on:
July 15, 2006, 10:10:56 AM »
I created a database user, set the password in the cpanelX MySQL Account Maintenance screen, and used the same username and password in the include/configure.php file as follows:
define('DB_SERVER_USERNAME', '
USERNAME
');
define('DB_SERVER_PASSWORD', '
PASSWORD
');
Do I need to put this information somewhere else as well?
«
Last Edit: July 15, 2006, 10:53:28 AM by RyanJ
»
Logged
philvis
Master Jedi
Offline
Posts: 1064
Re: Copy of existing website not working
«
Reply #3 on:
July 15, 2006, 10:28:59 AM »
You might still need to add the user to the database. It's an extra step.
Your password is showing on a public forum btw.
Logged
Fourth Amendment Summaries
Web Design Odessa Midland
JamesG
Lager Ship
Berserker Poster
Offline
Posts: 12026
If In Doubt, Cluster!
Re: Copy of existing website not working
«
Reply #4 on:
July 16, 2006, 03:10:09 AM »
http://www.lunarforums.com/forum/index.php?topic=21575.0
see this thread.
Logged
James Garvey
Water Coolers Direct
Pat Testing Training Course
Pat Testing Course
Pat Testing Courses
Pat Testing Services
UK Web Design STOCKTON
barryjacq
Trekkie
Offline
Posts: 13
Re: Copy of existing website not working
«
Reply #5 on:
July 16, 2006, 10:26:13 AM »
We have gone through all the procedures as listed and stilll we get the error message.
(By the way, the password shown is not the real one, just an example).
Logged
katrina1
Support Supervisor
Über Jedi
Online
Posts: 1983
Re: Copy of existing website not working
«
Reply #6 on:
July 16, 2006, 10:56:09 AM »
Hi. Did you copy it to another domain on the same a ccount or a new account? We would need to know the domain names involved to help too. Be sure for the database name and username, you added the cpanel username_ to the beginning of them in your configure files. They should look exactly as you see in Cpanel, Mysql and the user must be added to the database.
If this is for oscommerce, there are 2 files to put them in; includes/configure.php and admin/includes/configure.php
Logged
Hey, Rocky! Look. Nothing up my sleeve... presto a rabbit!
Lunarpages Web Hosting
Lunarpages Forums
Lunarpapages Affiliate Program
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Lunarpages Web Hosting - Information & Opportunities
-----------------------------
=> Lunarpages Web Hosting - Announcements
=> Lunarpages Web Hosting - Hosting Plans & Site Information
=> Job Opportunities at Lunarpages Web Hosting
=> Lunarpages Web Hosting - Network Information
=> Lunarpages Web Hosting - Server Information
-----------------------------
Lunarpages Web Hosting - Before Signing Up
-----------------------------
=> Lunarpages Web Hosting Plans - Pre-Sales Questions
-----------------------------
Lunarpages Web Hosting - Online Help Desk
-----------------------------
=> Lunarpages - Webhosting Help
=> Lunarpages - Beginner Assistance
=> Lunarpages - How to's
=> E-mail with your Lunarpages Hosting Plan
=> Lunarpages - CPanel Help
=> Lunarpages - Ecommerce Hosting
=> Lunarpages - FrontPage
=> Lunarpages - DreamWeaver
=> Lunarpages - Message Boards-Forums-Fantastico Scripts
===> Lunarpages - Joomla / Mambo
-----------------------------
Lunarpages Web Hosting - Advanced Assistance
-----------------------------
=> Web Management
=> Lunarpages - Webdesign and HTML
=> Lunarpages - Search Engine Optimization
=> Lunarpages - Animation & Flash
=> Lunarpages - Graphics
=> Lunarpages - Web Hosting, Email & PC Security
=> Lunarpages - Dedicated Web Hosting
=> Lunarpages - Reseller Web Hosting
=> Lunarpages - VPS Hosting
=> Lunarpages - SharePoint Services (Beta)
===> Lunarpages - cPanel & WHM
===> Lunarpages - General
===> Lunarpages - Plesk
===> Lunarpages - Security
===> Lunarpages - Tutorials
===> Lunarpages - Webmin
===> Lunarpages - WHM
-----------------------------
Lunarpages Web Hosting - Coding
-----------------------------
=> Lunarpages - ASP
=> Lunarpages - C++ / PERL / CGI
=> Lunarpages - PHP & MySQL
=> Lunarpages - Java Applets & Javascript
=> Lunarpages - JSP & Servlets
=> Lunarpages - Ruby Hosting
=> Lunarpages - Windows Development & Hosting
-----------------------------
Lunarpages Web Hosting - Entertainment
-----------------------------
=> Lunarpages - Chat & Stuff!
=> Lunarpages - Contests
=> Fun at Lunarpages!!
=> Lunarpages - Online Gaming
-----------------------------
Lunarpages Web Hosting - General
-----------------------------
=> Social Networking
=> Lunarpages Free Web Hosting - Education Program
=> Lunarpages - Affiliate Program
=> Introduce Yourself to the Lunarpages Forum Community!
=> Your Websites & Creations at Lunarpages!
=> Lunarpages Website of the Month
=> Lunarpages - Service and Trade
Loading...