• Welcome to Simple Machines Community Forum. Please login or sign up.

help moving forum to new host errors

Started by sombra, August 27, 2009, 10:46:28 PM

Previous topic - Next topic

sombra

well i moved my forum to a new host i did an back up og public_html

and uploaded this to the new host and uploaded the database

first it opened fine but everytime i tried to go from

mysite.com to misite.com/somthing it went to a 404 page

so i deleted everithng and uploaded again and now it tells me

Connection Problems
Sorry, SMF was unable to connect to the database. This may be caused by the server being busy. Please try again later.

i tried the repair settings but it just go 404

any sugestions?

JimM

Are you uploading the repair_settings.php file into the same directory as your SSI.php?  You shouldn't be getting a 404 with repair_settings.
Jim "JimM" Moore
Former Support Specialist

sombra

yes is uploaded to the same directoru public_html

i dont really know what y did wrong

sombra

i dont know if this helps but im getting this error on the error log on cpanel

[Fri Aug 28 07:19:28 2009] [notice] mod_fcgid: call /home/todoil/public_html/index.php with wrapper /usr/local/cpanel/cgi-sys/php5
[Fri Aug 28 06:38:47 2009] [notice] mod_fcgid: call /home/todoil/public_html/index.php with wrapper /usr/local/cpanel/cgi-sys/php5
[Fri Aug 28 06:35:28 2009] [notice] mod_fcgid: call /home/todoil/public_html/index.php with wrapper /usr/local/cpanel/cgi-sys/php5

sombra

well playing with the database i was enable to enter the repair settings but no changes made i dont knnow what do i need to change well i can enter mydomain.com but everytime i try to enter other url like mydomain.com/profile

or login it gives me a 404

sombra

does pretty url mey be the problem meaby?

i dont get it to run :-[

sombra

well i give up i dont know what im doing

sombra

August 28, 2009, 09:43:38 AM #7 Last Edit: August 28, 2009, 09:57:44 AM by sombra
sorry for the bums i can see now i can accses my board if i use www.

but with out it it tells me theres a problem with the database

were can i take out this www. that i think its the problem

i entered repair settings and this is the pic



i dont remember well but i think i didint used www. in the other host mey this be the problem?

meaby my htaccses

# Pretty URLs mod
# http://code.google.com/p/prettyurls/
# .htaccess file generated automatically on: June 21, 2009, 9:30

RewriteEngine on

# Rules for: actions
RewriteRule ^(activate|admin|ads|announce|announcements|attachapprove|buddy|calendar)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(clock|collapse|coppa|credits|deletemsg|display|dlattach|editpoll)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(editpoll2|emailuser|findmember|forum|groups|help|globalhf|helpadmin)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(im|jseditor|jsmodify|jsoption|lock|lockvoting|login|login2)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(logout|markasread|mascot|mergetopics|mlist|moderate|modifycat|modifykarma)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(movetopic|movetopic2|notify|notifyboard|openidreturn|paypal|pm|post)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(post2|printpage|profile|quotefast|quickmod|quickmod2|recent|register)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(register2|related|reminder|removepoll|removetopic2|reporttm|requestmembers|restoretopic)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(rules|search|search2|sendtopic|shoutbox|sitemap|smstats|suggest)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(spellcheck|splittopics|stats|sticky|thankyou|thankyouajax|thankyoupostlock|thankyoupostlist)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(thankyoupostdelete|thankyoupostdm|thankyoupostcloseall|thankyoupostunlockall|theme|topicsolved|trackip|about:mozilla)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(about:unknown|unread|unreadreplies|verificationcode|viewprofile|vote|viewquery|viewsmfile)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(who|\.xml|xmlhttp)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^chat/?$ ./chat/index.php [L,QSA]

# Rules for: boards
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/?$ ./index.php?pretty;board=$1.0 [L,QSA]
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([0-9]*)/?$ ./index.php?pretty;board=$1.$2 [L,QSA]

# Rules for: topics
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([-_!~*'()$a-zA-Z0-9]+)/?$ ./index.php?pretty;board=$1;topic=$2.0 [L,QSA]
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([-_!~*'()$a-zA-Z0-9]+)/([0-9]*|msg[0-9]*|new)/?$ ./index.php?pretty;board=$1;topic=$2.$3 [L,QSA]

RewriteCond %{HTTP_HOST} ^todoilegal.net/$ [OR]
RewriteCond %{HTTP_HOST} ^www.todoilegal.net/$



<Files 403.shtml>
order allow,deny
allow from all
</Files>

sombra

well i fount out in other pc i can accses the forum just fine and in my pc dont lol

gbsothere

I don't know a lot about this, sombra, except to tell you what happened to me.

Back when I first went over to a dedicated server and set up my different web sites, I neglected to check the box next to www and, as a result, the only way to pull up any of my sites was to do it without www.  If the average surfer tried to go to a site by putting www, the site wouldn't come up.  I called my server and told them that I wanted to be able to have my sites come up with or without www and the tech was able to make a simple change to my settings that solved this issue. 

My case wasn't exactly like yours is, but the point I'm making is that a call to your server asking them about the www issue might get you a favorable result.

:)


ETA:  But I see you can access it now on another computer so it must be a cache thing. 

:)
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

Norv

Please try cleaning your browser cache, then try again. Though I suspect it's actually related to the DNS cache. It might solve itself within several hours.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

glbrtsoms

That's one of my problem to...try to have some tips on this post..

Joey Smith™

There could be a couple things going wrong here at the same time during a move which is why its important to be patient.

1) As has been stated. When setting up a server (especially using a cpanel software) if you do not include the setting where the software will include the ServerAlias directive in the apache config then your server will only answer to the base name used to name the server. This issue is beyond the scope of support that can be provided here.

2) The pretty url mod could in fact be causing a problem since the .htaccess file was written while on the other server. If the new server configuration doesn't match exactly it will cause a problem. Could easily be caused by problem that I addressed in the above.

3) As posted before.. Be patient if you have just moved your site as different ISP's DNS caches will renew at different rates. Which means that you may not be able to see the site from computer, but a friend that has a different ISP may be able to see it. If this is the problem and you start changing server config you could actually break the site and not know it. If you changed the name server info for the @record linked to your domain name you should give it at least 24 hours before changing any server configuration to make sure the DNS has had time to propagate and your ISP's cache to update. Sometimes it can actually take longer and I have seen where host caution you to wait a full 72 hours before changing server config.

Advertisement: