David Slack - Web developer

Link the Files and DB

Now you have the files and a DB you need to 'link them up'. To do this Drupal has a php page for the settings to edit. If you don't have cPanel copy default.settings.php to settings.php and edit it.

If you have cPanel open it up and log in

  1. Click File Manager
  2. Double-click 'sites' then double-click 'default'
  3. Select 'default.settings.php'
  4. Click copy at the top
  5. In the window in the bottom bx type 'settings.php' at the end of the line and press enter
  6. You now have a copy of the file called 'settings.php', select it
  7. Click Code editor at the top then click Edit from the window that opens
Go to line 92 and fill in the database user name, password and name. Mine looks something like:
{syntaxhighlighter brush: php;fontsize: 100; first-line: 1; }$db_url = 'mysql://USERNAME_user:MY-PASSWORD@localhost/USERNAME_db';{/syntaxhighlighter}

Save it (by clicking Save Changes button in cPanel)

Latest content

There are lots of developers out there with varying degrees of experience and expertise, some mid level, some junior and some senior. Some...
First thoughts are Symfony is ace!Only been using Symfony for 1 project but the amount of coding it has saved has been worth the time spent...
The Lost and Found website was built by myself (David Slack) and designed by Arm & Eye.The site was created to promote a bar and...

Social networks

Contact me here or catch me on one of
the social networks below


What I'm listening to

Off-site News

My blog

Wednesday, 2 August, 2017 - 06:56
There are lots of developers out there with varying degrees of experience and expertise, some mid level, some junior and some senior. Some developers...
Tuesday, 5 March, 2013 - 09:49
First thoughts are Symfony is ace!Only been using Symfony for 1 project but the amount of coding it has saved has been worth the time spent learning...
Monday, 3 December, 2012 - 10:07
As a web developer and web designer I need to take into account everything on a site from SEO, marketing, usability across devices, the look and feel...

Try this on your mobile

Use your QR reader to read this

You should be able to use this right from the screen

Latest tweets

Calendar

M T W T F S S
 
 
 
 
 
 
1
 
2
 
3
 
4
 
5
 
6
 
7
 
8
 
9
 
10
 
11
 
12
 
13
 
14
 
15
 
16
 
17
 
18
 
19
 
20
 
21
 
22
 
23
 
24
 
25
 
26
 
27
 
28
 
29
 
30
 
31
 
 
 
 
 
 

You are here

Back to top

Copyright David Slack - Web developer