1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Ask problem :CakePHP on Xampp --> Object not found!

Discussion in 'PHP' started by junandya, Nov 2, 2009.

  1. #1
    Hello all my friend,

    I have a website that developed under cakePHP. i was developed it in my pc on xampp server which installed in c:/xampp. The website running properly in my PC. But when i copy the website code to my laptop which is has the same xampp version installed, also in c:/xampp, the website not running properly. In my browser i have this notification, indicates the files cannot be read:

    Object not found!

    The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.

    If you think this is a server error, please contact the webmaster.


    Please help me to solve this problem. & please show me where exactly the problem is.

    may be it will help
    My PC:
    - Win XP
    - XAMPP 1.7.2!
    - c:/xampp
    - default xampp configuration

    My Laptop:
    - Win XP
    - Kapersky
    - XAMPP 1.7.2!
    - c:/xampp
    - default xampp configuration



    Thanks in advance
     
    junandya, Nov 2, 2009 IP
  2. jgalvez

    jgalvez Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    404 errors mean the file can not be found, which means you either didn't copy all the files over properly, or you are using a .htaccess file which you didn't copy over either. Double check to make sure all your files got copied over properly. Beyond that, check the database and make sure all the settings match your laptop's environment properly.
     
    jgalvez, Nov 2, 2009 IP
  3. szalinski

    szalinski Peon

    Messages:
    341
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    have you looked in your apache error logs? anything interesting?
     
    szalinski, Nov 4, 2009 IP
  4. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #4
    Do you have mod_rewrite enabled on both machines?
     
    nico_swd, Nov 4, 2009 IP
  5. samkapur

    samkapur Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5

    Please help in removing the top line form my index page

    http://financewale.com/forum/index.php
     
    samkapur, Nov 5, 2009 IP
  6. joshcrowder

    joshcrowder Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    It sounds like its going to be one of three issues.

    1. mod_rewrite is not enabled, which would be strange on a default install of XAMPP
    2. a .htaccess file is missing, check In the root,app dir, and webroot dir.
    3. Make sure you have imported the database and have linked it to yours app/config/config.php
     
    joshcrowder, Nov 11, 2009 IP
  7. kobyn

    kobyn Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Hi Junandya,

    Were you able to solve the "Object not found!" issue? I am having the same problem using XAMP with cakephp. Thanks in advance for your help.
     
    kobyn, Jun 16, 2010 IP