PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, January 19, 2022

[FIXED] CakePHP "Object not found!" XAMP

 January 19, 2022     cakephp     No comments   

Issue

I have downloaded and setup CakePHP on XAMP (Win 7) following by http://www.youtube.com/watch?v=hQos_O-nqtQ tutorial.

When I setup new project using NetBeans IDE 8.0.1, everything goes fine but when I tried to view page of my ItemsController's "index" function using http:// myproject/items/ it says: "Object not found!".

enter image description here

I tried "http:// myproject/index.php/items/" and my page loads without javascript and css files. I tried everything which are suggested here, but could not resolve the issue after spending many hours. Does anyone know the exact solution of this problem?

Thanks


Solution

The problem was solved from the link provided by Kai leonardaustin.com/blog/technical/enable-mod_rewrite-in-xampp. The problem solved after one change in httpd.conf file residing in xampp\apache\conf folder. Change: AllowOverride none to AllowOverride All.

@Kai: Thanks a lot.

I have to post my own answer as Kai did not post his reply as "Answer" even after a long time



Answered By - developer
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing