joomla question...

Discussion in 'Off Topic Discussion' started by karsten, Oct 24, 2009.

  1. karsten

    karsten Member of The Cult Of Kefka

    Joined:
    Mar 14, 2004
    Messages:
    4,015
    Likes Received:
    149
    noob question obviously :p

    so i got some webpage up running on jomla on my pc using localhost... now i'd like to upload it and make some tests... what i'm supposed to upload via ftp? the whole project folder?

    i can't find anywhere the good old standard html file to be uploaded... whoever helps, will win the internetz
     
  2. Tchoin

    Tchoin Site Patron

    Joined:
    Mar 24, 2008
    Messages:
    2,477
    Likes Received:
    126
    First you have to check (in case it's a free host) gives you all the permissions for using Joomla (some global php config stuff, I believe now a days there's no problem with that), and then you'd have to upload the SQL database and the whole project folder via FTP, BUT, keep in mind that you'll have to edit the Joomla config files to change all server the direct addresses and SQL database info and passwords (which will probably be different than the ones you are using now in your local server).

    Hope that helps!
     
  3. karsten

    karsten Member of The Cult Of Kefka

    Joined:
    Mar 14, 2004
    Messages:
    4,015
    Likes Received:
    149
    i'm about to smash something now... :(

    since nothing would work AT ALL i did a remotehost install... so the joomla installation starts fine, but it stops saying:

    Database Error: Unable to connect to the database:Could not connect to MySQL

    so i've uploaded mysql too. no go. i've tried uploading to the root and inside the project folder but it just doesn't want to work....

    is a CMS program that actually works out there? :/ or at least a program that modifies and uploads from localhost to remote host without making you bleed?

    i've wasted 3 days on joomla now :( it's a great tool but works for me only on localhost damn it!

    any help appreciatyed
     
  4. Tchoin

    Tchoin Site Patron

    Joined:
    Mar 24, 2008
    Messages:
    2,477
    Likes Received:
    126
    Did you change server address, SQL database username and password, and so on, once you uploaded it? Because if you uploaded the whole project via FTP unless you change all of that you won't be seeing anything working.
    The config info you entered when you installed it on your local server is different than the one uploaded so that's why it won't even connect to the SQL database.
     
  5. z_killemall

    z_killemall Familiar Face

    Joined:
    Dec 4, 2006
    Messages:
    1,116
    Likes Received:
    6
    Have you already made a MySQL database in the server? If you didn't yet, enter to your hosting service's Control Panel and look for some link that says something related to MySQL Databases/Users creation. Follow the steps and you'll have a database up and running. Write down the DB name, the user and the password to use them in the Joomla installation.

    I recommend you to do a clean Joomla installation and later upload the contents of the database (if you didn't write any articles yet avoid this). Uploading an already installed version of Joomla can be a real headache if you don't know where and how to configure the database parameters later...

    In case you really need to upload the database, you'll need to back it up first. In your localhost menu (http://localhost/) you must have a tool called phpMyAdmin, enter there.

    In the left section you'll find links that say information_schema, mysql and others, these are the databases. The two I mentioned are made by the system, you'll have to look for a third one (it can be called with any name you assigned it), this is the Joomla database so click it:
    [​IMG]
    In this screen you'll find some tabs in the upper right section, click the one that says Export.
    [​IMG]
    Now ignore everything and go down, check the checkbox that says "Save as file" and click on the "Go" button. Download the file and there you got the database file.
    [​IMG]
    Go to your server's control panel and enter phpMyAdmin. Select the database you created and in the tabs in the upper section select "Import". in the file input select the database file and click on Go.
    That's it, everything you wrote in the localhost Joomla installation should appear in the remote server now.
     
  6. karsten

    karsten Member of The Cult Of Kefka

    Joined:
    Mar 14, 2004
    Messages:
    4,015
    Likes Received:
    149
    how do i enter this? i tought that i had to upload the mysql folder to the webspace... i'm installling a fresh _remote_ joomla... and it installs but blocks at the mysql part, so i uploaded the whole folder.

    i have no database to export since i'm going to restart from scratch...
     
  7. karsten

    karsten Member of The Cult Of Kefka

    Joined:
    Mar 14, 2004
    Messages:
    4,015
    Likes Received:
    149
    on hold for now; my anti spam deleted the instruction to reach cpanel T_T so i'll try again from home....
     
  8. retro

    retro Resigned from mod duty 15 March 2018

    Joined:
    Mar 13, 2004
    Messages:
    10,354
    Likes Received:
    822
    You must create a MySQL database first, write down the logon details for that. There'll be a config file included in the ZIP file of Joomla. Edit the details so they include your server. Then upload the whole folder, and run the setup process. You may find you have to set permissions on folders via FTP or even change certain global settings via your host's control panel (or sometimes you have to ask them). Then, when you're done, it'll tell you to delete certain directories. DO IT!

    In short, follow the instructions and you shouldn't go wrong, as long as you edit the config file to include your db details ;-)
     
  9. Japan-Games.com

    Japan-Games.com Well Known Member

    Joined:
    Sep 12, 2005
    Messages:
    1,806
    Likes Received:
    9
    Well, the easiest possible way to install Joomla is to get a hosting account with a company that will install it for you. I have a $7 GoDaddy.com account and GoDaddy has an auto-install for Joomla in their hosting control panel. You literally click on a button, wait 10 minutes, and GoDaddy installs everything for you. They have a copy of Joomla saved and they simply auto-install it to your hosting account.

    Joomla doesn't really install like other scripts. For most scripts you do what people are telling you above. You go to your cPanel in your hosting account and create a database. There you will choose a database name, user, and password. Then you go to the config.php file on your PC and enter in the database name, user, and password into the file. Then you upload the file to the server. Now you have database X, user Y, and password Z created on your server, and your config.php has database X, user Y, and password Z saved in the file. They match so you get access to your database.

    But like I said, Joomla is a bit different. First you create your database through cPanel. Again we'll call it database x, user y, and password z. Then you upload the entire Joomla folder to your server. After you've done that you have to point your browser to /installation/index.php. If your website is called MyWebsite.com then you'd go to http://www.MyWebsite.com/installation/index.php. That's the install page for Joomla.

    Joomla will take you through a series of setup pages, like asking you what language you want to use, reading the Terms of Use, etc. You'll eventually get to a page where they ask you to enter in your database information. That's where you'll enter in database x, user y, and password z. So instead of manually opening up your config.php file on your PC, manually changing the information, then uploading the file, Joomal's install process will modify your config.php file for you after you've uploaded the Joomla folder.

    So there's really only 3 steps.... 1) Create a database on your server, 2) upload all of the Joomla files, and 3) point your browser to the install page. You won't touch or mofidy the Joomla files on your local PC in any way....you just upload the entire folder. You can even upload the zip file only and have your server unzip it for you if you want.

    Anyway, I hope this helps. I have Joomla running on one of my sites and it's pretty good. I've tried a few different CMS packages and it's by far the best. The support via their message boards is amazing and they have unlimited ways to modify it.
     
    Last edited: Oct 28, 2009
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page