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
5 Pages V   1 2 3 > »    Reply to this topic Start new topic
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
swordz
post Mar 4 2009, 05:49 PM
Post #2


Outrageously Uber Ninja
*******

Group: Moderators
Posts: 1,805
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 #3


Hosting Abuse Staff
*******

Group: Moderators
Posts: 2,933
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 #4


Ninja
***

Group: Members
Posts: 289
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 #5


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 #6


Ninja
***

Group: Members
Posts: 289
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 #7


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 #8


Ninja
***

Group: Members
Posts: 289
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 #9


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 #10


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 #11


Newbie
*

Group: Members
Posts: 22
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 #12


Newbie
*

Group: Members
Posts: 19
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 #13


Newbie
*

Group: Members
Posts: 22
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 #14


Super Ninja
****

Group: Members
Posts: 367
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 #15


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 #16


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 #17


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 #18


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 #19


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
lizon
post Apr 21 2009, 10:10 PM
Post #20


Ninja
***

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



QUOTE(AlexeyNS @ Apr 20 2009, 10:54 AM) *
can you say in words what to coment out. Pictures don't work



sorry been away addressing some issues. Their working again.
Go to the top of the page 
 
  + Quote Post
5 Pages V   1 2 3 > » 
 Reply to this topic Start new topic
left right
0 Members:
left right
 


Lo-Fi Version Time is now: 20th May 2013 - 10:05 PM