CakePHP “Object not found!” XAMP Windows - php

I just got downloaded from the cloud an old CakePHP project, it was uploaded for someone else, and I need to have a copy of it in my PC.
The problem is that when I paste it in my XAMPP folder (C:\xampp\htdocs\theproject), it shows the following error:
enter image description here
I'm not sure if you are able to see the image, but it says:
Object not found! The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404 localhost Apache/2.4.18 (Win32) OpenSSL/1.0.2e PHP/7.0.4
I'm using PHP 7.0.4 & 7.1.33
Cake PHP version 2.3.8.

Related

Is there any fix for Xampp Object not found?

Today I tried to open xampp and run apache and MYSQL and they were working but any .php file I try to run It says the following:
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.
Error 404
localhost
Apache/2.4.53 (Unix) OpenSSL/1.1.1n PHP/8.1.4 mod_perl/2.0.12 Perl/v5.34.1
I tried to check my files and check my database and they were fine.I Also tried to run it on a Windows Machine and it didn't work.Thanks in advance.
Oh I found it I just uninstalled xampp and deleted the remaining folders then installed it again and created the Database and the tables.And now it is working.Thanks for replies.

Object Not Found and other issues in XAMPP in OSX

I used to use installed Apache on my Mac to run php-files, but after updating to High Sierra my PHP already updated from v5 to v7. I've tried lots of hints but nothing worked. I've stopped the Apache server and installed XAMPP. It worked for the first time, but when I tried again for the second time it gave me 'Permission denied' error.
Then I've fixed it with httpd.conf and other manipulations. Now, when I click 'Go to application' it gives me this:
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404
I checked and there are all necessary files (index.php, 2.php[my test]) in opt/lampp/htdocs, but this problem remained? Would be very grateful for any help!

Magento Object not found

I have installed WAMP on my system.
A couple of days ago i was working on a magento site on localhost.
But now, whenever I install a fresh magento site on the localhost I get the following error
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.
Error 404
dev.ytcvn.com
Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.5.19
mod_rewrite is not enabled in your apache. Check for it.

Php error on localhost. Error 403

I am currently getting an error with php using XAMPP. The error is:
Access forbidden!
You don't have permission to access the requested object. It is either read-protected or not readable by the server.
If you think this is a server error, please contact the webmaster.
Error 403
localhost
Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7
I have no changes made to the config of XAMPP and was unable to find away to fix this. I have read about the error and tried suggested fixs, none of which work for me or others that tried them.
A bit more info on this, it only happens after clicking a submit button ().
Any suggestions on how to fix this would be very much appricated
PHP is probably not running. i once had this problem with apache2 php5 and apache-php5-mod(from my package repository) on linux.
I could only serve plain html(no php) files untill i fixed it.
Does a simple php_info() file work?
Is the page with the submit button a .php or a .html?
If the phpinfo file fails try making a simple php info and running it from the command line(without the apache server)
(to do this):
1. open windows explorer.
2. navigate to php.exe
3. in the address bar, enter "C:\WINDOWS\system32\cmd.exe" (a window should open.)
4. in the window type "php.exe PATH_TO_PHPINFO_FILE\FILENAME.php"
Please tell me what it outputs.

How to Debug php in Eclipse

I am new to PHP.....
(In Eclips IDE) If i run the PHP code with Run As --> "PHP Script", that will work fine but Run As --> "PHP Web Page" is throwing the error as
Object not found!
The requested URL was not found on this server.
If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404
localhost
03/22/11 12:04:12
Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11
OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.8
Please help me....
Gnanendra
If you are using XAMPP place your eclipse project workspace in the XAMPP\htdocs\ folder. if you use WAMP then place it in the WAMP\www\ folder. you'll find the XAMPP or WAMP folders in the directory where you have installed it.
for your reference:
Are you using any XAMPP or WAMP service? Did you place your files properly? It says the apache could not find your file. i.e. you've either not configured your environment properly or your file is at a wrong place.

Categories