0
Welcome Guest! Login
0 items Join Now

Moving to GoDaddy - Help w Config.php

    • kerrya98's Avatar
    • kerrya98
    • Sr. Rocketeer
    • Posts: 111
    • Thanks: 0

    Moving to GoDaddy - Help w Config.php

    Posted 15 years 8 months ago
    • Ok, need some help. Moving my Joomla 1.0 site from one provider to GoDaddy.
      On my 4th attempt with this and need help from you smarty pants out there......

      What I have done:
      1) FTP-ed all folders and files to my new root directory. -Successful.
      2) Created a new database.-Successful.
      3) Imported my old database. -Successful.
      4) Change my config.php file - Not successful.
      Something is wrong....I have tried all the spots I thought I was supposed to change but am missing something and my site just shows the Joomla title page and says "Could not connect to the database server."

      Can someone help?? Here is my file....and in red what I changed.

      <?php
      if(!defined('RG_EMULATION')) { define( 'RG_EMULATION', 0 ); }
      $mosConfig_MetaAuthor = '0';
      $mosConfig_MetaDesc = 'Illinois Girls Lacrosse Association is a non profit organization that exists to promote and educate girls in the skill, knowledge, sportsmanship and love of the sport of lacrosse. The Illinois Girls Lacrosse Association was created to offer all girls the opportunity to learn and play the sport of lacrosse. The IGLA offers leagues, camps, and clinics in many communities throughout Chicagoland.

      ';
      $mosConfig_MetaKeys = 'illinois, lacrosse, non profit, glenview, hinsdale, winnetka, northfield, glen ellyn, darien, clarendon, burr ridge, lake forest, northbrook, highland park, oak park, river forest, western springs, lagrange
      ';
      $mosConfig_MetaTitle = '1';
      $mosConfig_absolute_path = '/home/content/s/c/a/scalteaux/html';
      $mosConfig_admin_expired = '1';
      $mosConfig_allowUserRegistration = '1';
      $mosConfig_back_button = '0';
      $mosConfig_cachepath = '/home/content/s/c/a/scalteaux/html/cache';
      $mosConfig_cachetime = '900';
      $mosConfig_caching = '0';
      $mosConfig_db = 'igla_joomla01.db.4670487.hostedresource.com';
      $mosConfig_dbprefix = 'jos_';
      $mosConfig_debug = '0';
      $mosConfig_dirperms = '';
      $mosConfig_editor = 'none';
      $mosConfig_enable_log_items = '0';
      $mosConfig_enable_log_searches = '0';
      $mosConfig_enable_stats = '0';
      $mosConfig_error_message = 'This site is temporarily unavailable.<br /> Please notify the System Administrator';
      $mosConfig_error_reporting = '-1';
      $mosConfig_favicon = 'favicon.ico';
      $mosConfig_fileperms = '';
      $mosConfig_fromname = 'Admin';
      $mosConfig_frontend_login = '1';
      $mosConfig_frontend_userparams = '1';
      $mosConfig_gzip = '0';
      $mosConfig_helpurl = ' help.joomla.org ';
      $mosConfig_hideAuthor = '1';
      $mosConfig_hideCreateDate = '1';
      $mosConfig_hideEmail = '1';
      $mosConfig_hideModifyDate = '1';
      $mosConfig_hidePdf = '1';
      $mosConfig_hidePrint = '1';
      $mosConfig_hits = '1';
      $mosConfig_host = 'localhost';
      $mosConfig_icons = '1';
      $mosConfig_item_navigation = '1';
      $mosConfig_itemid_compat = '0';
      $mosConfig_lang = 'english';
      $mosConfig_lifetime = '900';
      $mosConfig_link_titles = '0';
      $mosConfig_list_limit = '30';
      $mosConfig_live_site = ' iglax.org ';
      $mosConfig_locale = 'en_GB';
      $mosConfig_mailer = 'mail';
      $mosConfig_mailfrom = 'This email address is being protected from spambots. You need JavaScript enabled to view it.';
      $mosConfig_multilingual_support = '0';
      $mosConfig_multipage_toc = '1';
      $mosConfig_offline = '0';
      $mosConfig_offline_message = 'This site is down for maintenance.<br /> Please check back again soon.';
      $mosConfig_offset = '-1';
      $mosConfig_offset_user = '-6';
      $mosConfig_pagetitles = '1';
      $mosConfig_password = 'password';
      $mosConfig_readmore = '1';
      $mosConfig_secret = '-';
      $mosConfig_sef = '0';
      $mosConfig_sendmail = '/usr/sbin/sendmail';
      $mosConfig_session_life_admin = '1800';
      $mosConfig_session_type = '0';
      $mosConfig_shownoauth = '0';
      $mosConfig_sitename = 'The Illinois Girls Lacrosse Association';
      $mosConfig_smtpauth = '0';
      $mosConfig_smtphost = 'localhost';
      $mosConfig_smtppass = '';
      $mosConfig_smtpuser = '';
      $mosConfig_uniquemail = '1';
      $mosConfig_user = 'igla_joomla01';
      $mosConfig_useractivation = '1';
      $mosConfig_vote = '0';
      setlocale (LC_TIME, $mosConfig_locale);
      ?>
  • Re: Moving to GoDaddy - Help w Config.php

    Posted 15 years 8 months ago
    • I'm thinking your mosConfig_db should just be 'igla_joomla01' without all the stuff after it. But that's just a guess.
  • Re: Moving to GoDaddy - Help w Config.php

    Posted 15 years 8 months ago
    • Not sure if this will help or not but I had severe issues with godaddy making some unique host names and usernames and such for the databases. Go to godaddy's hosting control center. Go to Databases mysql from the drop down menus. Click the pencil icon next to the database name.

      Now click the Configuration button above. Confirm the hostname, username and database name you are using there.
    • kerrya98's Avatar
    • kerrya98
    • Sr. Rocketeer
    • Posts: 111
    • Thanks: 0

    Re: Moving to GoDaddy - Help w Config.php

    Posted 15 years 8 months ago
    • So two things...

      1) Mark was right about this...
      $mosConfig_db = 'igla_joomla01.db.4670487.hostedresource.com'; SHOULD HAVE BEEN...
      $mosConfig_db = 'igla_joomla01';

      2) The above was 'igla_joomla01.db.4670487.hostedresource.com' was actually supposed to be in this spot...$mosConfig_host = 'localhost'; instead of "local host".

      Now I am all set.

      Thanks!

Time to create page: 0.075 seconds