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
2 Pages V   1 2 >   Reply to this topic Start new topic
left right
lizon
post Mar 4 2009, 06:38 AM
Post #1


Newbie
*

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



This installation tutorial will guide new users step by step through installing Drupal 6.x onto their Zymic webhost. The first section of this guide is designed for novice users who don't know anything about Zymic or websites in general at all. For those who already have webspace on Zymic you can skip this part and go directly to the instillation section. For everyone else listen up.

STEP 1:
Go and register your new account on Zymic.com and log into your account.

STEP 2:
Click on Control Panel Home


STEP 3:
Now click Create new Web Host Account


STEP 3:
Fill in your web name and password here


STEP 4:
Scroll down on the page and Tick the Checkbox and copy the 2 words at the bottom and click on Confirm Registration.


STEP 5:
Now click on login to go into your new web account


STEP 6:
Enter your password and click login again

STEP 7:
Now lets make our database, click on MYSQL Database Management


STEP 8:
First you want to create the database in the top field. Fill in a name then click Create Database. The name (including your site name) must be less than 16 characters, so keep it short.


STEP 9:
Next you make your username for the database and your password and confirm it in the next section (see circled area on the bottom). Again. less than 16 characters in total.

STEP 10:
Lastly select your Username from the drop down menu and then assign it to the corresponding database from the database name drop down menu. Click on Assign Privileges.


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

DRUPAL SETUP

STEP 1:
Download the Drupal 6.1 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 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.


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

Example: 'mysql://zymic_admin:zymic123@localhost/zymic_db'

STEP 4:
Next find this section of code

Comment out the line by putting a # in front of each line till it looks liks this


STEP 5:
Now save your settings.php file and now lets open up bootstrap.inc file located at /includes/ in the base drupal directory. Find this line of code

Comment out the lines using // so it looks like this

Save the file.

STEP 6:
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 7:
Once the files finish uploading it's time to goto your website using your browser (example: lizon.uuuq.com). You should get this page

If the page doesn't appear try going directly to the install.php file directly (example: lizon.uuuq.com/install.php).

Click on Install Drupal in English (or whatever language you prefer)

STEP 8:
Now if you had done everything that I had told you to do previously you should be rewarded with the following:

Huzzah! Almost done, fill in all the relevant information, site name, e-mail, ect ect. Click on the button on the bottom of the page to proceed.

Step 9:
W00t!

Congrats your done! Don't worry about the mail error, that's cause the mail function isn't available unless you pay for it. Click on the link and enjoy your new website.

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.

Q: Does Zymic support Clean Url's?
A: Sorry, it doesn't, this has to do with how Zymic handles .htaccess files, so Clean Url's currently aren't an option for Drupal users. This also means that you cannot use such modules like Brilliant Gallery which require Clean Url's to work. sad.gif

Q: Help I can't get RSS feeds to work!
A: I had this problem as well, this has to do with the coding within the page.tpl files. The easy fix for this is to find the .tpl files for the theme that you are using. This is useually something like a page.tpl or page-search.tpl file
Example:


You want to find part of the code that has /rss.xml listed


Change /rss.xml to ?q=rss.xml

This should solve the problem. This will also correct login and logout links such as /logout (change to ?q=logout) and /login (change to ?q=login).

The link to this tutorial on my website an be found at http://lizon.uuuq.com/?q=node/175
Go to the top of the page 
 
  + Quote Post
lizon
post Mar 4 2009, 03:47 PM
Post #2


Newbie
*

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



bah uuuq.com sites are down and so are my image links QQ
Go to the top of the page 
 
  + Quote Post
swordz
post Mar 4 2009, 05:49 PM
Post #3


Outrageously Uber Ninja
*******

Group: Moderators
Posts: 1,740
Joined: 10-July 08
From: UK
Member No.: 44,994



But as uuuq is down, no-one can install Drupal anyway.

Well done btw, it's not often I approve threads in this forum. But (with a little minor editing) it looked quite complete and easy to follow.

swordz
Go to the top of the page 
 
  + Quote Post
Andrew
post Mar 4 2009, 06:01 PM
Post #4


Hosting Abuse Staff
*******

Group: Moderators
Posts: 2,817
Joined: 14-February 08
From: Fort Myers FL, USA
Member No.: 10,089



Hey great one, one thing though, when creating a new account you need to click "Control Panel Home" not the regular "Home" link. I would change it, but you've got the picture of it too, so I'll let you change it.
Go to the top of the page 
 
  + Quote Post
lizon
post Mar 4 2009, 06:26 PM
Post #5


Newbie
*

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



fixed
Go to the top of the page 
 
  + Quote Post
dzulkifl
post Mar 7 2009, 08:04 AM
Post #6


Newbie
*

Group: Members
Posts: 2
Joined: 22-February 09
Member No.: 83,280



i have a question. For step five, are those commands on line 757 supposed to be there already or am i supposed to add them. Cause my line 757 is nothing similar to your screenshot. Mine is drupal 6.1.

i have a question. For step five, are those commands on line 757 supposed to be there already or am i supposed to add them. Cause my line 757 is nothing similar to your screenshot. Mine is drupal 6.1.
Go to the top of the page 
 
  + Quote Post
lizon
post Mar 7 2009, 08:13 AM
Post #7


Newbie
*

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



QUOTE(dzulkifl @ Mar 7 2009, 02:04 AM) *
i have a question. For step five, are those commands on line 757 supposed to be there already or am i supposed to add them. Cause my line 757 is nothing similar to your screenshot. Mine is drupal 6.1.

i have a question. For step five, are those commands on line 757 supposed to be there already or am i supposed to add them. Cause my line 757 is nothing similar to your screenshot. Mine is drupal 6.1.


No their not supposed to be there, i was experimenting. I'll make a new screenshot and post it up when the service is back up.

(update) I took out the one extra line of code that was there and replaced the pictures. Those are how the lines should look like.
Go to the top of the page 
 
  + Quote Post
dzulkifl
post Mar 7 2009, 11:24 AM
Post #8


Newbie
*

Group: Members
Posts: 2
Joined: 22-February 09
Member No.: 83,280



QUOTE(lizon @ Mar 7 2009, 08:13 AM) *
No their not supposed to be there, i was experimenting. I'll make a new screenshot and post it up when the service is back up.

(update) I took out the one extra line of code that was there and replaced the pictures. Those are how the lines should look like.


Hey man thanks for the prompt response, waiting anxiously for the update. Thanks!!
Go to the top of the page 
 
  + Quote Post
lizon
post Mar 9 2009, 06:32 PM
Post #9


Newbie
*

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



QUOTE(dzulkifl @ Mar 7 2009, 06:24 AM) *
Hey man thanks for the prompt response, waiting anxiously for the update. Thanks!!


note: those lines are there, I had just included 1 extra line of code in my original posting that wasn't supposed to be there cause I was tryiing to figure out a work around for the error. The new screenshots have the offending line removed and the current pictures are accurate. If you cannot find the code you can always simply use the search function in your web editor (ctrl + f), and search for ini_set, you shoul dbe able tofind the line of code that way as well.
Go to the top of the page 
 
  + Quote Post
rsc1835
post Mar 20 2009, 03:27 AM
Post #10


Newbie
*

Group: Members
Posts: 1
Joined: 20-March 09
Member No.: 88,264



Rock solid tutorial! You can never have enough images spelling out exactly what to do. I'd only installed Drupal once before so this really helped remove the fog.
Go to the top of the page 
 
  + Quote Post
aerosol
post Mar 21 2009, 06:50 PM
Post #11


Newbie
*

Group: Members
Posts: 1
Joined: 21-March 09
Member No.: 88,466



hello:
I did try follow very carefully those introducions, but i get this error. And i dont know what should i do.

The following installation warning should be carefully reviewed:
Operations on Unicode strings are emulated on a best-effort basis. Install the PHP mbstring extension for improved Unicode support. (Currently using Unicode library Standard PHP)
Go to the top of the page 
 
  + Quote Post
vonline
post Mar 23 2009, 06:36 AM
Post #12


Newbie
*

Group: Members
Posts: 14
Joined: 14-November 08
Member No.: 68,936



thank for this tips & more:
http://drupal.org/server-permissions
http://th.php.net/mbstring

Now i just follow this tip but when go to Install site step: show error mess:
CODE
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY fit DESC LIMIT 0, 1' at line 1 query: SELECT * FROM menu_router WHERE path IN () ORDER BY fit DESC LIMIT 0, 1 in /www/uuuq.com/v/o/n/vonline/htdocs/mobile-clip/includes/menu.inc on line 315.
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY fit DESC LIMIT 0, 1' at line 1 query: SELECT * FROM menu_router WHERE path IN () ORDER BY fit DESC LIMIT 0, 1 in /www/uuuq.com/v/o/n/vonline/htdocs/mobile-clip/includes/menu.inc on line 315.


how to clear this err?
Go to the top of the page 
 
  + Quote Post
iconsult.tk
post Mar 23 2009, 12:15 PM
Post #13


Newbie
*

Group: Members
Posts: 17
Joined: 11-November 08
Member No.: 68,554



try to delete your drupal database by mysql management on cPanel mode

re-create your database(same older name) name again, then set Assign Privileges

next, run yourdrupalsite/install.php again & follow above step.
rolleyes.gif
http://iConsult.tk
Go to the top of the page 
 
  + Quote Post
vonline
post Mar 23 2009, 01:04 PM
Post #14


Newbie
*

Group: Members
Posts: 14
Joined: 14-November 08
Member No.: 68,936



thank for this tip & now i can install my drupal finish
Go to the top of the page 
 
  + Quote Post
Liqfan
post Mar 26 2009, 09:57 AM
Post #15


Super Ninja
****

Group: Members
Posts: 358
Joined: 1-April 08
From: Belgium
Member No.: 16,573



Getting issues:
CODE
    * warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 70858 is not allowed to access /www/uuuq.com/q/u/i/quinten/htdocs owned by uid 2003 in /www/uuuq.com/q/u/i/quinten/htdocs/includes/file.inc on line 188.
    * warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 70858 is not allowed to access /www/uuuq.com/q/u/i/quinten/htdocs owned by uid 2003 in /www/uuuq.com/q/u/i/quinten/htdocs/includes/file.inc on line 188.
    * warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 70858 is not allowed to access /www/uuuq.com/q/u/i/quinten/htdocs owned by uid 2003 in /www/uuuq.com/q/u/i/quinten/htdocs/includes/file.inc on line 188.
    * warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 70858 is not allowed to access /www/uuuq.com/q/u/i/quinten/htdocs owned by uid 2003 in /www/uuuq.com/q/u/i/quinten/htdocs/includes/file.inc on line 188.
    * warning: fopen() [function.fopen]: SAFE MODE Restriction in effect. The script whose uid is 70858 is not allowed to access /tmp/filemrbgiD owned by uid 2001 in /www/uuuq.com/q/u/i/quinten/htdocs/includes/file.inc on line 757.
    * warning: fopen(/tmp/filemrbgiD) [function.fopen]: failed to open stream: Success in /www/uuuq.com/q/u/i/quinten/htdocs/includes/file.inc on line 757.
    * Het bestand kon niet aangemaakt worden.
    * warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 70858 is not allowed to access /www/uuuq.com/q/u/i/quinten/htdocs owned by uid 2003 in /www/uuuq.com/q/u/i/quinten/htdocs/includes/file.inc on line 188.
    * warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 70858 is not allowed to access /www/uuuq.com/q/u/i/quinten/htdocs owned by uid 2003 in /www/uuuq.com/q/u/i/quinten/htdocs/includes/file.inc on line 188.
    * warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 70858 is not allowed to access /www/uuuq.com/q/u/i/quinten/htdocs owned by uid 2003 in /www/uuuq.com/q/u/i/quinten/htdocs/includes/file.inc on line 188.
    * warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 70858 is not allowed to access /www/uuuq.com/q/u/i/quinten/htdocs owned by uid 2003 in /www/uuuq.com/q/u/i/quinten/htdocs/includes/file.inc on line 188.
    * warning: fopen() [function.fopen]: SAFE MODE Restriction in effect. The script whose uid is 70858 is not allowed to access /tmp/filerqjMSN owned by uid 2001 in /www/uuuq.com/q/u/i/quinten/htdocs/includes/file.inc on line 757.
    * warning: fopen(/tmp/filerqjMSN) [function.fopen]: failed to open stream: Success in /www/uuuq.com/q/u/i/quinten/htdocs/includes/file.inc on line 757.
    * Het bestand kon niet aangemaakt worden.


Followed your exact steps. Since safe_mod is enabled on uuuq.com, would you like to explain how it can fail while you got success? Would be very nice of you.
Go to the top of the page 
 
  + Quote Post
rojerbinny3132
post Apr 3 2009, 10:46 AM
Post #16


Newbie
*

Group: Members
Posts: 19
Joined: 3-April 09
Member No.: 90,027



I really appriciate for this kind of shortcuts..thanks..
Go to the top of the page 
 
  + Quote Post
veligursky
post Apr 3 2009, 11:25 PM
Post #17


Newbie
*

Group: Members
Posts: 16
Joined: 11-June 08
Member No.: 35,018



domain vndv. Drupal 5.16 you can install locally (standart install) and move after install to zymic.
.htaccess-must bee deleted
Go to the top of the page 
 
  + Quote Post
veligursky
post Apr 5 2009, 06:28 PM
Post #18


Newbie
*

Group: Members
Posts: 16
Joined: 11-June 08
Member No.: 35,018



Drupal 5.16 - I enabled clear urls,
but have problem with images -when I add some content (blog, story etc - they are dissapear ), when i delete .htaccess from "files" directory -they show, but if I try add some content they dissapear again.

Go to the top of the page 
 
  + Quote Post
veligursky
post Apr 5 2009, 06:38 PM
Post #19


Newbie
*

Group: Members
Posts: 16
Joined: 11-June 08
Member No.: 35,018



all done and work
Go to the top of the page 
 
  + Quote Post
AlexeyNS
post Apr 20 2009, 03:54 PM
Post #20


Newbie
*

Group: Members
Posts: 2
Joined: 7-April 09
Member No.: 90,495



can you say in words what to coment out. Pictures don't work
Go to the top of the page 
 
  + Quote Post
2 Pages V   1 2 >
 Reply to this topic Start new topic
left right
0 Members:
left right
 


Lo-Fi Version Time is now: 21st November 2009 - 08:22 PM