Zymic Forums

Webmaster resources

Zymic IRC Server

Chat in real time at irc.zymic.com - Learn More

Welcome

Welcome to the Zymic webmaster forums. Our forums are here to provide people the free ability to discuss a range of websites related topics such as design, development coding and marketing.

In order to post you will need to register for a zymic account or if you already have one simply login by using the form on the left.

left Zymic Webmaster ForumsZymic Free Web HostingTutorials right
left right
lizon
post Mar 4 2009, 06:38 AM
Post #1


Ninja
***

Group: Members
Posts: 289
Joined: 10-February 09
Member No.: 81,548



For users looking to use Drupal 7, Please click here for more info


The following tutorial is to help whose with little to no web experience install Drupal 6.15 onto their zymic account. I went ahead and made a new account from scratch with a fresh install to try and see every possible error that comes along and address each one.

Zymic Setup:


Goto the Zymic homepage and click on "Sign-up/Log-in"



Make up your username and e-mail address. Type in your password.



Be sure to make sure your human. ^.^



Click on the "login" link



Congrats you are now logged in! Now click on "Control Panel Home"



Click on "Create New Web Host Account"



Make up your subdomain name and primaty host



Type in your control panel password. Keep in mind this pasword is ALSO your FTP password. So remember it.



Don't be doing any naughty stuff with your website and check off "I agree"



I'm not sure if I'm a human....Resistance is Futile....o.O



Congradultaions!



Write down your ftp information, you'll need it later on then click on "Login to control panel"



Click on the login button as shown here



Type in your password, don't worry I won't look.... wink.gif



Now to get your database setup, click on "MySQL Database Management"



Create your database name and click on "create DataBase Name"



Now create your database username and password, be sure to confirm it and press "Create Username"



Now assign privileges to your username to the database you want, be sure everythign is checked off and click "Assign Privileges"



Congrats your database is now created. Be sure to write down your database name, database username, and password. You will need that info in a little bit.



Congrats your DONE with the Zymic setup! Now lets get to Drupal.

Drupal Setup

STEP 1:
Download the Drupal 6.15 Distribution here.

STEP 2: Unzip the file and save it's contents into a folder that you can refer back to easily (save it on your desktop if you want).

STEP 3:
Now for the fun part. Open up your drupal folder and find your default.settings.php file at /sites/default/

Open up the file in your favorite web editing tool (notepad, dreamweaver, ect ect) and find this section of code.
CODE
$db_url = 'mysql://username:password@localhost/databasename';


Input your DATABASE username and password into the spots provided. Leave the host as localhost.Then input your database name.

CODE
$db_url = 'mysql://90593_zymic:zymic132@localhost/lizontest_zxq_zymic';


STEP 4:
Next find this section of code
CODE
ini_set('arg_separator.output',     '&');
      ini_set('magic_quotes_runtime',     0);
      ini_set('magic_quotes_sybase',      0);
      ini_set('session.cache_expire',     200000);
      ini_set('session.cache_limiter',    'none');
      ini_set('session.cookie_lifetime',  2000000);
      ini_set('session.gc_maxlifetime',   200000);
      ini_set('session.save_handler',     'user');
      ini_set('session.use_cookies',      1);
      ini_set('session.use_only_cookies', 1);
      ini_set('session.use_trans_sid',    0);
      ini_set('url_rewriter.tags',        '');


Comment out the line by putting a # in front of each line till it looks liks this
CODE
@ini_set('arg_separator.output',     '&');
      @ini_set('magic_quotes_runtime',     0);
      @ini_set('magic_quotes_sybase',      0);
      @ini_set('session.cache_expire',     200000);
      @ini_set('session.cache_limiter',    'none');
      @ini_set('session.cookie_lifetime',  2000000);
      @ini_set('session.gc_maxlifetime',   200000);
      @ini_set('session.save_handler',     'user');
      @ini_set('session.use_cookies',      1);
      @ini_set('session.use_only_cookies', 1);
      @ini_set('session.use_trans_sid',    0);
      @ini_set('url_rewriter.tags',        '');


STEP 5:
Now save your default.settings.php AS settings.php This is VERY IMPORTANT!

Now lets open up bootstrap.inc file located at /includes/ in the base drupal directory. Find this line of code
CODE
  if (count(explode('.', $cookie_domain)) > 2 && !is_numeric(str_replace('.', '', $cookie_domain))) {
         ini_set('session.cookie_domain', $cookie_domain);
       }


Comment out the lines using // so it looks like this
CODE
//  if (count(explode('.', $cookie_domain)) > 2 && !is_numeric(str_replace('.', '', $cookie_domain))) {
     //    ini_set('session.cookie_domain', $cookie_domain);
     //  }

Save the file.

STEP 6:
Now open up the .htaccess file located in root directory (same spot where index.php is at). Scroll down to this code
CODE
  # If your site is running in a VirtualDocumentRoot at http://example.com/,
     # uncomment the following line:
     # RewriteBase /
     # Rewrite URLs of the form 'x' to the form 'index.php?q=x'.


Remove the # in front of RewriteBase / so it looks like this
CODE
  # If your site is running in a VirtualDocumentRoot at http://example.com/,
     # uncomment the following line:
     RewriteBase /
     # Rewrite URLs of the form 'x' to the form 'index.php?q=x'.


STEP 7:
Now using your favorite FTP program upload all the contents in the drupal folder to your website, Core FTP is a good one (www.coreftp.com). Grab a drink if you want, this should take a few minutes at least.

STEP 8:
Now in your ftp program goto your sites/default directory in your web directory and create a folder titles "files"



STEP 9:
Next right click on the folder and click on properties. This will allow you to set permissions for the directory. Set it up just how I've shown here. You can either check off the boxes or enter the value as 775



STEP 10:

Getting closer to the finish line. Goto your home directory. In this case it's lizontest.zxq.net/install.php



DON'T PANIC! ^.^

Click where indicated.

STEP 11:
Input the url to your website and click "Submit"



STEP 12:
It should now take you back to your homepage, if not simply go back to it, in this case it's lizontest.zxq.net/install.php. You should get the following screen. Click on "Install Drupal in English"



STEP 13: Installing.......




DONE!




STEP 14:
Put in your site name and e-mail address....



and your Admin username and e-mail address...



and your password for that username, be sure to confirm it....



Oh and click off "Enabled" for the Clean URLs. When I did this install I messed up with it, for you it should be available to click off.



Click "Save and Continue"

STEP 15:



Don't worry about the error message. The mail() function is disabled unless you pay for it. The website will still work. Click on the link that takes you to "your new website".

STEP 16:
Congrats your done!



Remember if you ever need help the drupal forums and knowledge base are an excellent reference tool. All can be found at drupal.org

SPECIAL THANKS:
To the Zymic support members in chat who suggested many of the changes here to make Drupal work for me. All credit goes to them and their efforts.[color="#FF0000"][/color]
Go to the top of the page 
 
  + Quote Post
 
Start new topic
Replies
bravetech
post Jul 9 2010, 02:47 AM
Post #2


Newbie
*

Group: Members
Posts: 20
Joined: 8-April 09
Member No.: 90,661



I also am having problems with the .htaccess editing, its step 6 I believe...that code block is nowhere in htaccess.html file....or am I in the wrong file?
Go to the top of the page 
 
  + Quote Post
lizon
post Jul 9 2010, 10:05 PM
Post #3


Ninja
***

Group: Members
Posts: 289
Joined: 10-February 09
Member No.: 81,548



QUOTE(bravetech @ Jul 8 2010, 09:47 PM) *
I also am having problems with the .htaccess editing, its step 6 I believe...that code block is nowhere in htaccess.html file....or am I in the wrong file?


Prob the wrong file. ^.^
Go to the top of the page 
 
  + Quote Post

Posts in this topic
lizon   Drupal 6.1 Install Tutorial   Mar 4 2009, 06:38 AM
swordz   But as uuuq is down, no-one can install Drupal any...   Mar 4 2009, 05:49 PM
Trippin7464   Hey great one, one thing though, when creating a n...   Mar 4 2009, 06:01 PM
lizon   fixed   Mar 4 2009, 06:26 PM
dzulkifl   i have a question. For step five, are those comman...   Mar 7 2009, 08:04 AM
lizon   i have a question. For step five, are those comman...   Mar 7 2009, 08:13 AM
dzulkifl   No their not supposed to be there, i was experimen...   Mar 7 2009, 11:24 AM
lizon   Hey man thanks for the prompt response, waiting an...   Mar 9 2009, 06:32 PM
rsc1835   Rock solid tutorial! You can never have enoug...   Mar 20 2009, 03:27 AM
aerosol   hello: I did try follow very carefully those intro...   Mar 21 2009, 06:50 PM
vonline   thank for this tips & more: http://drupal.org/...   Mar 23 2009, 06:36 AM
iconsult.tk   try to delete your drupal database by mysql manage...   Mar 23 2009, 12:15 PM
vonline   thank for this tip & now i can install my drup...   Mar 23 2009, 01:04 PM
Liqfan   Getting issues: * warning: realpath(...   Mar 26 2009, 09:57 AM
kpluto   Getting issues: * warning: realpath(...   Dec 5 2011, 05:50 AM
rojerbinny3132   I really appriciate for this kind of shortcuts..th...   Apr 3 2009, 10:46 AM
veligursky   domain vndv. Drupal 5.16 you can install locally (...   Apr 3 2009, 11:25 PM
veligursky   Drupal 5.16 - I enabled clear urls, but have prob...   Apr 5 2009, 06:28 PM
veligursky   all done and work   Apr 5 2009, 06:38 PM
AlexeyNS   can you say in words what to coment out. Pictures ...   Apr 20 2009, 03:54 PM
lizon   can you say in words what to coment out. Pictures ...   Apr 21 2009, 10:10 PM
rcorveira   Hello, When i follow the Drupal Setup, STEP 4:Next...   May 13 2009, 09:00 AM
ar3rocker   yhea stuck on taht line man what section of code ?...   May 19 2009, 05:51 PM
GektorGrom   oh NO, links to the photos will not work. ((( ple...   May 23 2009, 06:01 PM
Jaes   Someone please make a new tutorial or fix the pict...   Aug 19 2009, 01:31 AM
Dave   Topic Closed until tutorial is fixed. Edit: Open ...   Aug 19 2009, 11:29 AM
BUSINESSMAN   thanks big thanks working :)   Sep 11 2009, 07:25 PM
renanorola   wow finally i found the step by step how to instal...   Oct 14 2009, 04:05 AM
yakuzax   thank you so much for this tutorial!   Oct 16 2009, 02:30 AM
ArtPisanski   Followed the tutorial exactly. I get some beef wi...   Oct 16 2009, 05:53 AM
elmerato   ^I had the same issue with ArtPisanki. For some re...   Oct 17 2009, 01:01 AM
4iriks   Hmm , hes saying when im typing the wrong database...   Oct 30 2009, 01:17 AM
dadajoke   thank you~!man :D   Oct 30 2009, 01:55 PM
lsimmons98   Thanks for the great tutorial. Easy to use. This...   Oct 31 2009, 08:10 AM
dadajoke   Warning: Table 'bokeyo_zxq_drupal.access' ...   Nov 1 2009, 06:49 AM
dionysosedhec   I have the exact same problem...   Nov 2 2009, 03:36 PM
dionysosedhec   I deleted the settings.php file and that allowed m...   Nov 2 2009, 10:39 PM
45tt   /** * @file * Functions that need to be loaded ...   Dec 10 2009, 01:20 PM
shavinder   I would like to add how I resolved an error which ...   Dec 25 2009, 06:52 AM
mengbo   DrupalDrupal already installed The following error...   Jan 12 2010, 05:27 AM
Andrew   DrupalDrupal already installed The following error...   Jan 12 2010, 06:05 AM
mengbo   DrupalSite off-line The site is currently not avai...   Jan 12 2010, 07:17 AM
mengbo   follow the drupal install way i can't open my ...   Jan 12 2010, 09:27 AM
lizon   I made a small update to the bottom of the post, m...   Jan 15 2010, 07:02 AM
Ed   I made a small update to the bottom of the post, m...   Jan 15 2010, 07:37 AM
lizon   The new hosting server has swapped things up a bit...   Jan 15 2010, 08:25 AM
Charm   Thanks   Jan 15 2010, 03:09 PM
lizon   yep, a lot of changes it seems from before, took a...   Jan 15 2010, 09:50 PM
lizon   updated the initial post with new screenshots cove...   Jan 16 2010, 01:31 AM
Ed   updated the initial post with new screenshots cove...   Jan 16 2010, 10:20 AM
lizon   Thank you for taking the time to write this, looks...   Jan 16 2010, 08:27 PM
buyan   Hi there ! I followed every step of the shown ...   Jan 17 2010, 04:38 PM
lizon   Hi there ! I followed every step of the shown ...   Jan 17 2010, 05:07 PM
fernandoV   Would like to know at what step of the process tha...   Jan 31 2010, 05:38 PM
ezygamelink   Thank you for any suggestion :rolleyes:   Jan 20 2010, 06:36 AM
lizon   I added a tutorial to SMF and phpBB forum integrat...   Jan 27 2010, 01:23 AM
lizon   try hitting refresh ^.^   Jan 31 2010, 07:09 PM
Vamear   When I get to the set up database part of the inst...   Mar 15 2010, 10:27 AM
lizon   Make sure your databse information is the same a...   Mar 16 2010, 02:51 AM
Vamear   Make sure your databse information is the same as ...   Mar 16 2010, 06:34 PM
pselfin   I have a problem :( After choosing your language, ...   Mar 19 2010, 07:22 AM
lizon   I addressed the .htaccess error in the tutorial. L...   Mar 19 2010, 04:27 PM
pselfin   Yes, I know. After correcting htaccess starts inst...   Mar 20 2010, 10:47 AM
J-Fobos   Hello all. After install drupal by this tutorial h...   Mar 20 2010, 06:34 PM
TheGrayOne   Hi all, Got the below messages in my Drupal 6.16...   Mar 27 2010, 05:15 PM
lizon   Due to how Zymic is configured drupal cannot run c...   Mar 27 2010, 06:13 PM
TheGrayOne   Already tried that and running cron in manual mode...   Mar 27 2010, 07:30 PM
lizon   That's how your supposed to do it o.O The onl...   Mar 27 2010, 11:03 PM
HAMIDHST   Hi guys, I did the step-by step guide. but still...   Apr 3 2010, 11:46 AM
lizon   you forgot this step Now lets open up bootstrap.i...   Apr 3 2010, 06:26 PM
AnDy_nin.Ja   I've done everything by this tutorial and I ha...   May 5 2010, 09:07 AM
williambell1985   Like this type of short way. It is very much helpf...   May 7 2010, 02:07 PM
lizon   I haven't seen this error before personally....   May 18 2010, 06:05 PM
Ryanw327   Hello, Thanks for the guide on the install, of ...   Jun 11 2010, 03:44 AM
bravetech   I also am having problems with the .htaccess editi...   Jul 9 2010, 02:47 AM
lizon   I also am having problems with the .htaccess editi...   Jul 9 2010, 10:05 PM
Elvis Booty   im getting this problem after solving the .htacces...   Jul 29 2010, 03:29 PM
lizon   Make sure that the permissions for this file is ...   Jul 29 2010, 08:12 PM
ranga   well done and thanks.   Sep 30 2010, 10:49 AM
Cannoli   I am having trouble installing Drupal 6.19 on my w...   Nov 4 2010, 03:06 AM
imking1100   great work guy we should proud to you very nice ...   Nov 6 2010, 08:12 PM
SirPacha   Hey guys, for me the whole installation works pret...   Nov 26 2010, 04:10 AM
Daveqing   Thank you for such useful information. I installe...   Dec 16 2010, 02:07 AM
lizon   I actually reinstalled drupal and the only thing t...   Dec 16 2010, 02:42 AM
jim253   Thanks sharing a great tips to giving for use of c...   Dec 17 2010, 06:51 AM
lufiasrafza   i just follow all ur instructions on drupal_6.20 i...   Feb 3 2011, 12:19 AM
sherryabhy   At finally i found the step by step how to put in ...   Mar 10 2011, 04:34 AM
safeguard   thank for this tip & i will install   May 1 2011, 07:34 AM
ssfdre38   been meaning to post this http://download.zymickb....   Jun 15 2011, 06:49 PM
KnitChick   Argh! I am trying to install Drupal on my ser...   Oct 7 2011, 08:49 PM
ssfdre38   ok Drupal 7.7 is NOT going to work on Zymic at all...   Oct 8 2011, 01:41 AM
shnooky   This was a huge help, I don't have much experi...   Oct 14 2011, 07:10 PM
ssfdre38   you CANT its GLOBAL restriction   Dec 5 2011, 05:59 AM
yathaid   I got this error when FTP transferring my files. ...   Mar 10 2012, 12:17 AM
ssfdre38   there not allowed and your site will run just fine   Mar 10 2012, 02:38 AM
Vacationman   I am a new user...joined zymic...trying to install...   May 29 2012, 07:17 AM
topbdseo   Actually it's valuable post for me. I don...   Jul 1 2012, 09:48 AM
One Stopsoluion   wow gr8 post ...thanks buddy   Apr 25 2013, 08:48 PM

 Reply to this topic Start new topic
left right
0 Members:
left right
 


Lo-Fi Version Time is now: 18th May 2013 - 12:33 PM