ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Host transfered site without notice and it stopped working

March 15, 2008 5:05pm

Subscribe [2]
  • #1 / Mar 15, 2008 5:05pm

    Jake Lyman

    20 posts

    Hello!

    I’m in a very tight spot. I have an ee site that was transfered to a different server by my host during the course of a system upgrade - moving from a 2.0 to 3.0 hosting platform. The day they transfered all the files, the site stopped working. The host tells me there is nothing they can do to help me since I have custom code.

    Does anyone know what might have happened in the transfer? What DIDN’T they do? I’m assuming they did a simple “Copy and Paste” of the site from one server to the other. I honestly do not know where to begin to get the site functioning again.

    Thank you so much!

    Jake

  • #2 / Mar 15, 2008 5:11pm

    Ryan Irelan

    444 posts

    What do you mean it isn’t working? Are you getting an error, blank pages, etc? More details will help someone help you troubleshoot.

  • #3 / Mar 15, 2008 5:24pm

    Jake Lyman

    20 posts

    Sorry, Ryan. Rookie mistake! I’m getting 404 pages on any pages that were associated with templates in EE. I can still log in to EE, and the list of templates is still “there,” but they are no longer editable. Each of the pages has a question mark next to it. Could it be database related?

    Thanks for your willingness to help!

  • #4 / Mar 16, 2008 10:39am

    Robin Sowell

    13255 posts

    Are you saving templates as text files?  And any chance you can link us to the front page of the site in question?  I’m betting some paths are now off- and hopefully that’s it.  If you go to ‘Edit’- do the entries all still show there?

  • #5 / Mar 16, 2008 1:14pm

    Jake Lyman

    20 posts

    Hi Robin!

    Thanks so much for weighing in on this for me. I’m so grateful. The site is castronovo.com - the first page is a video intro so click the"skip” button. Then the main page of the site works fine. However, none of the text links to the right work. They all bring up a 404 pages.

    When you say “Edit,” do you mean clicking the names of one of the templates? If so, yes, I can click the name of a template and still see all the code I created. There is just a question mark in front of the templates name.

    I’ve attached a screen grab showing the question marks.

    Thanks again!

    Jake

  • #6 / Mar 16, 2008 1:22pm

    Robin Sowell

    13255 posts

    Ah- I would bet the question mark is a missing image.  I’m suprised you haven’t lost some style in your cp as well.

    OK- let’s see if we can get the frontend showing first.  Check this kblog entry about 404’s on interior.  That looks like what’s up to me.

    Also- just for the moment while we get this squared away?  I would probably remove the htaccess file you’re using to ditch the index.php.  Let’s get it up and working.  Then remove index.php.  Also- go to ‘Admin- System Prefs- General config’- double check any paths in there, make sure they’re correct.  Any full paths are probably wrong if they changed servers- but I’m not dead sure.  You can check this kblog entry on figuring out your full paths.

    I would also put up a fresh copy of the main index.php file- I’m not sure if you’ve done any renaming or anything there, so just nice to know there’s a stock copy up.

    I can’t get the interior pages working no matter what I try- like
    http://www.castronovo.com/index.php/site/wealth/
    http://www.castronovo.com/index.php?/site/wealth/

    So I wouldn’t be surprised if you have to dink with the $qtype as mentioned in the first kblog link.  But- let’s get it showing interior pages, then move on to adding back the htaccess and cp issues.

  • #7 / Mar 16, 2008 1:55pm

    Jake Lyman

    20 posts

    Robin! Your help is getting me somewhere! Yeah!

    First, I deleted the .htaccess file. The whole site stopped working! 😊 Then I went into the CP and turned on the “Force Query String” preference in the Output Preferences section - which the kblog entry on 404’s said to do. Still no joy. The next step I took was to put the .htaccess file back up. Once I did that, the site started working again but the URL’s are all “messed” up. Is that no longer “fixable” since I made that change on “Force Query String”?

    I didn’t touch the $qtype as mentioned in the first kblog link. I couldn’t find this. I hate being a rookie. But it seems it may not be necessary?

    Paths in General config seem to be fine. I forgot to read the kblog entries on full paths and will do so after submitting this post.

    What do you mean by “fresh copy of the index.php file? I’m not sure where this is, which is terrible. Sorry!

    Finally, the images in the CP are still showing question marks . . . any other thoughts on this?

    Thank you, thank you, thank you!

  • #8 / Mar 16, 2008 2:04pm

    Robin Sowell

    13255 posts

    OK- making progress.  Looks like you had renamed your index.php file to ‘main’ -correct?  And what’s your current htaccess file look like?  And to get the urls back to what they were- they should be:
    http://www.castronovo.com/main/site/wisdom/
    vs currently working version:
    http://www.castronovo.com/main?/site/wisdom/

    Ignore the ‘fresh copy of index.php’ bit- I now think I understand what’s up- you renamed that file main.  Correct?

    Oh- and for the images with the ?- take a look at the source code.  What’s the url to one of the images- and if you try to go to that url directly, does it work?  If not- what should the url be?

  • #9 / Mar 16, 2008 2:24pm

    Jake Lyman

    20 posts

    Yes, it looks like I renamed the file to “main”. But as shagrined as I am to say this, I need to say that I don’t remember how I did this. I design during the summer - I’m a teacher during the school year, and this site was my first foray into EE. I spent a month on it and haven’t touched it since July. I have a terrible memory!

    So . . . all that to say that I vaguely remember doing this and I remember I changed it to main because I thought seeing “index” in the URL would be confusing, but I don’t remember how I changed this. So now that we know that index.php is “main” in the URL, can I ask if it is still “index.php” in my template structure? Does that make sense?

    I checked the path for the images in the CP and found that the URL to that image is cast.system/cp_global_images/webpage_icon.png where “cast.system” refers to my EE install on this server. When I look in that folder there is no cp_global_images folder at all, which explains why those images are missing. Not sure what to do there. I don’t even have that folder locally, which doesn’t make sense.

    Here is the content of my .htaccess file:

    # -FrontPage-

    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>
    AuthName http://www.castronovo.com
    AuthUserFile /www/castronovo/_vti_pvt/service.pwd
    AuthGroupFile /www/castronovo/_vti_pvt/service.grp
    <Files main>
    ForceType application/x-httpd-php
    </Files>
    AddType application/x-httpd-php .htm

    Thanks, my friend.

  • #10 / Mar 16, 2008 2:36pm

    Robin Sowell

    13255 posts

    Bugger- I suspect the query string is going to be tricky.  Who is your host?

    And for the images- go to ‘Admin- System Prefs- General Config’- what do you have for:
    URL to your “themes” folder
    and  
    Theme Folder Path

  • #11 / Mar 16, 2008 2:53pm

    Jake Lyman

    20 posts

    Woah, those fields are completely blank. There is no path for either one of those.

    Host is iPower. I’ve been thinking of switching. I’m hosting a number of other sites on Mosso. But after this happened, it makes me a bit nervous to switch!

  • #12 / Mar 16, 2008 2:59pm

    Robin Sowell

    13255 posts

    Well- I would not be happy with them for moving me like that and then not helping me figure out any tweaks.  But- I think we can get this going.  Fill in the proper paths for the url and path.  And then- let’s just see what happens if you also turn ‘Force query stings’ back off.  Right now?
    http://www.castronovo.com/main/site/rate_quote/ works- no query string.  The links are getting goobered, but I suspect another path issue there.

  • #13 / Mar 16, 2008 3:04pm

    Jake Lyman

    20 posts

    Robin,

    What are the proper paths for the url and path? Is their a doc I should read on this?

    Once I have that correct I’ll turn it off and see what happens.

    Yes, I am NOT happy. Like I said, I think I’ll transfer hosts after this and ask for a refund.

    😊

  • #14 / Mar 16, 2008 3:16pm

    Robin Sowell

    13255 posts

    The url is most likely http://www.castronovo.com/themes/ .  Just putting that in may well get things showing.  The path is another matter- mine is /www/pmh001/public_html/themes/ - but that can vary a lot.  It’s going to end with /themes/ - but other than that…  Check here for tips on figuring it out.

    Also- what do you have set for:
    Name of your site’s index page
    and  
    URL to the root directory of your site

  • #15 / Mar 16, 2008 3:37pm

    Jake Lyman

    20 posts

    Robin, I typed in http://www.castronovo.com/themes and updated the site, and then the site broke again. So I deleted it and returned it to “normal” but the site doesn’t show anything but a few images now. NONE of those paths in the system prefs area were filled in before I made the change to the themes path. Does that provide a clue in any way?

    Thanks so much for your patience with this. At this point, if we can just get it working, let’s take a break. I’ll resume troubleshooting again another day.

    Sincerely,

    Jake

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases