the web host change and problem(s)

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
smirkingdude
Forum Members
Forum Members
Posts: 17
Joined: Fri Sep 21, 2007 7:31 pm

the web host change and problem(s)

Post by smirkingdude »

Good evening! I apologize for confusing you guys on IRC few hours ago.  :-[

One of you has suggested that I post under "Installation and Setup".

The background story

Deaf Cafe team chose to have the website move from old web host to new web host.
Backups was performed (both folders/files and database).
Got the authorization code and make the domain name changes from old web host to the new web host.

At the present time, the domain "deafcafeflint.org" still on the old web host (until Aug 15th).
The version in use here is 1.6.3.

I uploaded folders/files into the new place on a new web host. Nothing was shown. I realized this means I need to put the database file (.sql file) in there. I put it in there but not in proper place. Somebody at the technical support put it in the proper place and changed some areas in config.php file. he told me that database itself is working fine. (I believe that config.php still need fixed. I don't know what's wrong with this config.php file this time.)

I got 2 big red errors on top (about CGExtension module) and a paragraph-long lines of black error messages.

I then got suggestion to clear the cache and delete the files in /tmp/template_c and in /tmp/cache...chmod 777 to those subdirectories and to /tmp directory and to /uploads directory.

I viewed.  This time: 2 big red errors remain but only one long line of black error message.
http://ehub22.webhostinghub.com/~deafca5/

The Suggestions...

here are the suggestions I get from IRC:
  • find and fix the config.php file to make it work for new web host
  • upload and run the 1.6.3 installation then upgrade to the latest version
  • ignore the 1.6.3 installation and just download & run the latest version installation
what should to be done first?

my email address is: jgalofre96@hotmail.com

Tony
Deaf Cafe Team Webservant
Last edited by smirkingdude on Sat Aug 14, 2010 1:49 am, edited 1 time in total.
replytomk3

Re: the web host change and problem(s)

Post by replytomk3 »

Hello

If you PM me login info to old and new servers I can help with the transfer (take a look or do it myself). You might be coming across several issues. There is really only one proper way to transfer, per the wiki and my signature links.
smirkingdude
Forum Members
Forum Members
Posts: 17
Joined: Fri Sep 21, 2007 7:31 pm

Re: the web host change and problem(s)

Post by smirkingdude »

Replytomk3,

ok...

I am on IRC and didn't see you.
Could you give me your email address?
I could email you the info you requested.  :)
just email me -->> jgalofre96@hotmail.com

Tony
Last edited by smirkingdude on Mon Aug 16, 2010 2:19 pm, edited 1 time in total.
replytomk3

Re: the web host change and problem(s)

Post by replytomk3 »

I have:

Modified config.php paths
temporarily reset cmsms password to admin
Cleared cache
created an ftp account for myself
disabled mod_rewrite pretty URLs as .htaccess paths have to be modifed as well.

between backups, changing passwords, creating passwords/accounts, waiting, etc, etc THIS ALONE took more than half an hour. I'll STRESS THIS POINT FROM NOW ON on my forum posts. I do not want anyone to think an upgrade/transfer is a five second process that's done with a click of a single button.

The site now shows up. But a lot of work will have to be done.

1) Delete ftp account when I'm done.
2) Modify paths again after domain name is changed again, and clear cache after change.
3) Use another template. This one is horrible.
4) Redo site from scratch. Your site is now at 40MB database and a long list of modules. Why? Recreate the site on a fresh new CMSMS installation.
5) Change .htaccess to correct paths and turn pretty URLs back on.
6) Files WERE NOT transferred without errors. Admin section is missing images and such.

I can of course be hired to perform steps 1-6.
Last edited by replytomk3 on Tue Aug 17, 2010 2:06 am, edited 1 time in total.
smirkingdude
Forum Members
Forum Members
Posts: 17
Joined: Fri Sep 21, 2007 7:31 pm

Re: the web host change and problem(s)

Post by smirkingdude »

I did:

1) clear the cache (/tmp/cache and /tmp/template_c)
2) upload the whole /public_html folder to the new host
3) made changes to config.php file (those that relate to database and temporary address) (will change again once the website get permenant address)
4) view http://ehub22.webhostinghub.com/~deafca5 ... webpage works but many broken links  :-[
5)updated .htaccess file and uploaded it to the new host

how to fix the broken links / broken navigation menu ?
Last edited by smirkingdude on Tue Aug 17, 2010 11:07 pm, edited 1 time in total.
replytomk3

Re: the web host change and problem(s)

Post by replytomk3 »

smirkingdude wrote: I did:

1) clear the cache (/tmp/cache and /tmp/template_c)
2) upload the whole /public_html folder to the new host
3) made changes to config.php file (those that relate to database and temporary address) (will change again once the website get permenant address)
4) view http://ehub22.webhostinghub.com/~deafca5 ... webpage works but many broken links  :-[
5)updated .htaccess file and uploaded it to the new host

how to fix the broken links / broken navigation menu ?

???

Why???

Did you move hosting again???

Why do you have pretty URLs enabled again when .htaccess is not configured properly, and why do you have root URL with a closing slash (among other problems).
smirkingdude
Forum Members
Forum Members
Posts: 17
Joined: Fri Sep 21, 2007 7:31 pm

Re: the web host change and problem(s)

Post by smirkingdude »

Michael,

I didnt have any new hosts..just this one: webhostinghub.com

In fixing the ugly blue page, I uploaded the whole /public_html folder ...it works! The ugly blue page got replaced with the same blue page (as seen on the old web host). See http://ehub22.webhostinghub.com/~deafca5.

The problem I see now is the broken links.

I asked nicely:
how to fix the broken links / broken navigation menu?
you said:
Why do you have pretty URLs enabled again when .htaccess is not configured properly, and why do you have root URL with a closing slash (among other problems).
Please show me my mistake(s) and tell me how to fix them.

I don't want to remain being a newbie..I want to learn & experience & apply your wisdom.

T :)ny
replytomk3

Re: the web host change and problem(s)

Post by replytomk3 »

Code: Select all

$config['root_url'] = 'http://ehub22.webhostinghub.com/~deafca5/';
must be

Code: Select all

$config['root_url'] = 'http://ehub22.webhostinghub.com/~deafca5';

Code: Select all

$config['url_rewriting'] = 'mod_rewrite';
must be

Code: Select all

$config['url_rewriting'] = 'none';
until you figure out correct .htacess path and stop moving things.
smirkingdude
Forum Members
Forum Members
Posts: 17
Joined: Fri Sep 21, 2007 7:31 pm

Re: the web host change and problem(s)

Post by smirkingdude »

Code:
$config['root_url'] = 'http://ehub22.webhostinghub.com/~deafca5/';

must be

Code:
$config['root_url'] = 'http://ehub22.webhostinghub.com/~deafca5';

Code:
$config['url_rewriting'] = 'mod_rewrite';

must be

Code:
$config['url_rewriting'] = 'none';
until you figure out correct .htacess path and stop moving things.
All this is done.

Now I focus on .htaccess file. Learning what went wrong and what can be done about them.
replytomk3

Re: the web host change and problem(s)

Post by replytomk3 »

Site template needs to be rebuilt from scratch. It's horrible. Google Maps API key needs to be specified.
smirkingdude
Forum Members
Forum Members
Posts: 17
Joined: Fri Sep 21, 2007 7:31 pm

Re: the web host change and problem(s)

Post by smirkingdude »

Since the domain name transfer has been completed, I made a change in config.php (the change involving removing the temporary ehub22 address and put the permanent address in the place).

Bingo! the "google map" part works now!  ;D

I also made changes on htaccess file
  • turn off the part that makes "index.php?page="
  • created the part that makes "/" (copied off the part above and modified)
smirkingdude
Forum Members
Forum Members
Posts: 17
Joined: Fri Sep 21, 2007 7:31 pm

Re: the web host change and problem(s)

Post by smirkingdude »

htaccess update
I also made changes on htaccess file
turn off the part that makes "index.php?page="
created the part that makes "/" (copied off the part above and modified)
I make changes again.
  • turn on the part that makes "index.php?page="
  • removed the part that makes "/" (copied off the part above and modified)
and I put on the line 'mod_rewrite' in config.php file.

Behold! the pretty URLs now working fine!  ;D ;D ;D
Locked

Return to “[locked] Installation, Setup and Upgrade”