31 replies
Hi there

I am shifting my sites to a new host and this site is showing this:

Index of /

What could be a possible cause for this happening?

I just looked at the error log and it is saying this:

[19-Oct-2008 00:04:24] PHP Warning: require(ABSPATHwp-includes/compat.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/vivie1/public_html/kiteflyingsociety.com/wp-settings.php on line 202
[19-Oct-2008 00:04:24] PHP Warning: require(ABSPATHwp-includes/compat.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/vivie1/public_html/kiteflyingsociety.com/wp-settings.php on line 202
[19-Oct-2008 00:04:24] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'ABSPATHwp-includes/compat.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/vivie1/public_html/kiteflyingsociety.com/wp-settings.php on line 202


Cheers
Viv
  • Profile picture of the author Janet Sawyer
    Basically, it's telling you that whatever your script is looking to process at line 202 of wp-settings.php it can't because it's not there.

    Your site is showing up as index of........ because there is no index.php or index.html file in there.

    Some thing has been missed and not copied over correctly.

    Hope that helps.

    Janet
    {{ DiscussionBoard.errors[185342].message }}
    • Profile picture of the author mistyone
      Originally Posted by Janet Sawyer View Post

      Basically, it's telling you that whatever your script is looking to process at line 202 of wp-settings.php it can't because it's not there.

      Your site is showing up as index of........ because there is no index.php or index.html file in there.

      Some thing has been missed and not copied over correctly.

      Hope that helps.

      Janet

      Hi Janet

      Thank you so much for responding

      I just looked and you are right there is no index.php file so I will go and hunt that little bugger down :rolleyes:

      I can't believe how difficult this is turning out to be. I have six sites in error so far and as far as the error message on line 202 I know this file is there and it is also the same for another site that's receiving the same error message but again I know that that compat.php file is there in this other sites includes folder so would you have an explanation as to why this is happening. I have downloaded it again and then transferred into the includes folder but it still returns the same error.

      What I find so frustrating is these sites weren't in error before doing the file transfers so how can these errors be occuring?

      Cheers
      Viv

      EDIT: I have just uploaded the index.php and it is out of error and doesn't seem to be concerned with the compat.php which is great
      {{ DiscussionBoard.errors[185356].message }}
  • Profile picture of the author rwil02
    It looks to me like
    ABSPATHwp-includes/compat.php
    is not right

    Unless you have replaced the real path with ABSPATH, I would expect to see a HTTP or file type path there, e.g. /wp-includes/compat.php or /blog/wp-includes/compat.php

    So my guess is that a variable called ABSPATH is given a value of ABSPATH by default (for debugging purposes) and the settings should change the value of it to tell it where WP is installed, and that is/has not happened.
    Signature

    Roger Willcocks
    L-Space Design
    Please vote to help me win a 3kW solar array

    {{ DiscussionBoard.errors[186106].message }}
  • Profile picture of the author rwil02
    Looking for something else I found this, which would confirm my suspicions.

    require (ABSPATH . WPINC . '/feed-rss.php');

    that reads join the variable ABSPATH to the variable WPINC to the string '/feed-rss.php'

    so your error message makes it look the WPINC has been given a value, but ABSPATH has not.
    which might be because of an earlier error.

    Can you point me at a URL where the error shows up?
    Signature

    Roger Willcocks
    L-Space Design
    Please vote to help me win a 3kW solar array

    {{ DiscussionBoard.errors[186357].message }}
  • Profile picture of the author rwil02
    OK.
    I see the compat errors on blu-ray1st and dealerlife

    on blueray360 I see a post.php/query.php error. I think the query.php error is causing the post.php error

    and lowcarb can't find the wp() function.

    Can you find this file:

    /home/vivie1/public_html/dealerlife.info/wp-includes/compat.php
    and
    /home/vivie1/public_html/blu-ray1st.com/wp-includes/compat.php



    If they exist, and are larger than 0 in size, you'll need to check the security on them as that's the only other cause I can think of.
    Signature

    Roger Willcocks
    L-Space Design
    Please vote to help me win a 3kW solar array

    {{ DiscussionBoard.errors[186746].message }}
    • Profile picture of the author mistyone
      Hi once again Roger

      I have located the compat.php file for blu-ray1st. Now when you say is larger than 0 do you mean where it says the size of the file?

      If that is what you mean it says the file size is 2.63kb. If I am on the right track you suggest that I would need to check the security on them.

      For me that is a big???? how do I do that! I am a complete non-tech/newbie and have no clue whatsoever about how to do that

      If I am on the right track then the next lot of instructions would be good

      I would dearly love, in particular, to sort the blu-ray sites out and save myself from the ongoing embarrassment
      {{ DiscussionBoard.errors[186848].message }}
  • Profile picture of the author rwil02
    OK. Is the folder path for it

    /home/vivie1/public_html/blu-ray1st.com/wp-includes/compat.php
    or something different?

    for the security, on the hosting panel file manager you should see 3 digits near the file name
    something like 664 or 777
    tell me that number as well.
    Signature

    Roger Willcocks
    L-Space Design
    Please vote to help me win a 3kW solar array

    {{ DiscussionBoard.errors[186895].message }}
  • Profile picture of the author rwil02
    This I've found it (evil me)
    Your path is
    blu-ray1st.com/wp-includes/wp-includes/
    instead of
    blu-ray1st.com/wp-includes/

    You've copied everything one level too deep.
    Signature

    Roger Willcocks
    L-Space Design
    Please vote to help me win a 3kW solar array

    {{ DiscussionBoard.errors[186902].message }}
    • Profile picture of the author mistyone
      I don't mind if you do whatever you need, so long as it gets me out of the Sh....t

      Thanks for doing whatever it was that you did! It just goes to show that nothings impossible

      I will replace the folder or file (I don't know yet without looking, what it is)that has the missing code for blueray360.com

      Can you help me with the other problems? I don't want to be appearing as though I am being greedy but I would really really like to get these sites sorted and I am also not looking forward to shifting the rest after this lot :confused:

      I really do appreciate your help
      {{ DiscussionBoard.errors[186942].message }}
  • Profile picture of the author rwil02
    The blueray360.com error looks almost like it's missing the first part of the file.
    it shows code, which it shouldn't, and it goes

    PHP Code:
    ...T->QUERy_var )  termlink "file?t->query_var=slug" 
    (capitalised bit is missing compared to a copy I found in Google code search)
    Signature

    Roger Willcocks
    L-Space Design
    Please vote to help me win a 3kW solar array

    {{ DiscussionBoard.errors[186924].message }}
  • Profile picture of the author mistyone
    oops forgot to tell you the info you asked for about the compat.php for blu-ray1st. It says 0644 in the next column to the file size.
    {{ DiscussionBoard.errors[186954].message }}
    • Profile picture of the author mistyone

      Thank you very much for alerting me to the situation I had created with Blu-ray1st. I deleted the extra includes and hey presto it was online.

      Now with blueray360.com. I deleted and replaced the includes folder but this hasn't fixed the error.
      I have used the code editor to edit the post.php file and at line 2768 this is what it looks like:

      update_object_term_cache($post_ids, 'post');

      the query.php on line 684 looks like this:

      foreach ( $GLOBALS['wp_taxonomies'] as $t ) {

      Can you see what is wrong with these lines?
      {{ DiscussionBoard.errors[187111].message }}
  • Profile picture of the author rwil02
    Ok
    644 = Owner Read/Write, everyone else Read. which is correct.

    The fix for
    blu-ray1st.com and dealerlife.info is to

    remove this folder
    blu-ray1st.com/wp-includes/wp-includes/

    and copy this folder again

    blu-ray1st.com/wp-includes/

    for blueray360.com I would first try just replacing query.php
    Signature

    Roger Willcocks
    L-Space Design
    Please vote to help me win a 3kW solar array

    {{ DiscussionBoard.errors[187030].message }}
  • Profile picture of the author rwil02
    $GLOBALS['wp_taxonomies'] is empty because the call to update_object_term_cache($post_ids, 'post'); failed

    I think the file you need to replace is called taxonomy.php
    in wp-includes
    Signature

    Roger Willcocks
    L-Space Design
    Please vote to help me win a 3kW solar array

    {{ DiscussionBoard.errors[187152].message }}
  • Profile picture of the author rwil02
    OK. so
    blu-ray 1st looks right, except post 1 has some word HTML showing.
    dealerlife.info looks like its up but pretty much empty
    blueray360 looks like a taxomony.php file error again
    lowcarbdietreview I'm not sure but it looks like it can't find some files.
    Signature

    Roger Willcocks
    L-Space Design
    Please vote to help me win a 3kW solar array

    {{ DiscussionBoard.errors[188776].message }}
    • Profile picture of the author mistyone
      Originally Posted by rwil02 View Post

      OK. so
      blu-ray 1st looks right, except post 1 has some word HTML showing.
      I'll check that out, thanks for alerting me to it

      dealerlife.info looks like its up but pretty much empty
      Yes this site was a php.bb forum and it was full of porn that I couldn't control so I turned it into a wordpress site, yet to be filled with content

      blueray360 looks like a taxomony.php file error again
      I replaced this file so I will definitely need some help with this one.

      lowcarbdietreview I'm not sure but it looks like it can't find some files.
      I may have another go at uploading the files. I have another site that I am in the middle of doing that to, to see if the site will be without errors.

      Once again Roger thank you for your interest and help, it's been invaluable to me

      Cheers
      Viv
      {{ DiscussionBoard.errors[189001].message }}
  • Profile picture of the author rwil02
    No problem.
    Interesting things about the blueray360 one is that it looks like the error is in a different point in the taxonomy.php file now.

    Is it possible you have connection problems with your FTP program?
    Signature

    Roger Willcocks
    L-Space Design
    Please vote to help me win a 3kW solar array

    {{ DiscussionBoard.errors[189015].message }}
    • Profile picture of the author mistyone
      Originally Posted by rwil02 View Post

      No problem.
      Interesting things about the blueray360 one is that it looks like the error is in a different point in the taxonomy.php file now.

      Is it possible you have connection problems with your FTP program?
      You could say that I sit and watch as the files are transferring from my Godaddy account and I keep seeing read lines saying can't connect. This is one of the reasons why I needed to shift because Godaddy is sooo slooow it is painful. I will try just doing that one file again. This morning I deleted everything in the folder at Hostgator and transferred everything from Godaddy to my computer and back to Hostgator to see if it was a connectivity problem that was giving me the errors but as I said while I sat there looking at the files transferring down into my computer this message line in red kept showing up saying cannot connect and then you would see the messages that it had and welcoming message etc No probs though going the other way, to Hostgator
      It can take anything up to 4 minutes to get into my database area with Godaddy!
      {{ DiscussionBoard.errors[189134].message }}
  • Profile picture of the author rwil02
    That might be it then. If it drops and reconnects part way through a file, it might be writing over the part it already downloaded instead of appending on the end.

    Try copying taxonomy.php from a migrated site that is working to blueray360 and see what happens.
    Signature

    Roger Willcocks
    L-Space Design
    Please vote to help me win a 3kW solar array

    {{ DiscussionBoard.errors[189148].message }}
    • Profile picture of the author mistyone
      Originally Posted by rwil02 View Post

      That might be it then. If it drops and reconnects part way through a file, it might be writing over the part it already downloaded instead of appending on the end.

      Try copying taxonomy.php from a migrated site that is working to blueray360 and see what happens.
      Ok, I will. I didn't realise that you could do that

      Could you give me your advice on this one. I have just redone all the files and the site is still returning an error. Do you think I could do the same thing with this or would that not be an option due to the file type, with this site:

      http://howto-howto.info
      {{ DiscussionBoard.errors[189173].message }}
  • Profile picture of the author rwil02
    That looks the same as the low carb site. might or might not be the same error.

    With WordPress (and most CMs / blog based) sites, most of the files are identical.
    The DB / config is different. The theme is different. And the plug-ins are additional.

    Just don't ask me which are which in general. I figure it out by looking at the individual files on the wordpress download.
    Signature

    Roger Willcocks
    L-Space Design
    Please vote to help me win a 3kW solar array

    {{ DiscussionBoard.errors[189201].message }}
  • Profile picture of the author rwil02
    Here's a thought. Many webhost control panels allow you to zip a folder and all it's contents into a single file, and download it that way.

    If GoDaddy lets you do that, use that file to download to your PC, and unzip it there. Any download problems will cause the zip file to be corrupt, which you will then know about.

    Then you can upload from your PC to HostGator.
    Signature

    Roger Willcocks
    L-Space Design
    Please vote to help me win a 3kW solar array

    {{ DiscussionBoard.errors[189214].message }}
    • Profile picture of the author mistyone
      Originally Posted by rwil02 View Post

      Here's a thought. Many webhost control panels allow you to zip a folder and all it's contents into a single file, and download it that way.

      If GoDaddy lets you do that, use that file to download to your PC, and unzip it there. Any download problems will cause the zip file to be corrupt, which you will then know about.

      Then you can upload from your PC to HostGator.
      Ok, I'll fight my way in there and see if I can find a place to zip up the files and do as you have suggested
      {{ DiscussionBoard.errors[189253].message }}
  • Profile picture of the author mistyone
    Still trying to get the folders to open in file manager. If I didn't know better I would say there is something fishy going on! I haven't told my host yet that I am shifting but he may already know I will be so glad to be free of this site.

    This site turned over perfectly: http://www.roiformula.net/ did it 10 minutes ago
    {{ DiscussionBoard.errors[189440].message }}
  • Profile picture of the author rwil02
    Hi.

    How's this going?

    I just saw this post

    http://www.warriorforum.com/programm...es-faster.html

    Which gives you a way to zip up all your files if you can't do it via the control panel.
    Signature

    Roger Willcocks
    L-Space Design
    Please vote to help me win a 3kW solar array

    {{ DiscussionBoard.errors[196631].message }}

Trending Topics