error deploying to heroku "No input file specified" - php

i have a project on github that is a simple HTML web page personal portfolio. I attempted to deploy to Heroku from the CLI and it seems that the site deployed correctly as far as i can tell. there are no errors in heroku dashboard, but when i launch the app the browser states "No input file specified." the site works locally and it works on godaddy servers with no errors. I have created an "index.php" and "composer.json" files as the documentation suggested but still getting the error and google hasnt been much help.
has anyone else experienced this?
my kingdom for any assistance...

i found out what the problem was. in case anyone else runs into this there was a user.ini file from when i hosted on godaddy's plesk servers on the root of my project that was screwing everything up. i removed it, redeployed and it wrks fine now.

Related

$this->request->is(array('put')) not working in cakephp framework

I have very strange problem with the following code,
$this->request->is(array('put'))
I have Ubuntu local server and I haven't got ant problems in my local server
but when I upload my local file on to a live server the following code,
$this->request->is(array('put'))
does not work.
What it means is that when I edit the form, it doesn't occur. My real problem is that no debugging tools such as Debugkit and debug and error_log are not reporting/logging any issues.
OP, Contact the web server company you're hosting with... had similar issue but it was resolved from the server end, it has something to do with mod_securtiy.
I hope this helps

localhost error #500 MAMP

Yesterday I transferred a live WordPress site and successfully setup my local dev environment using MAMP. I was able to get my database exported from my live site and imported locally. I was able to login and see my site, but to my surprise this morning, I am not able to access the site anymore. I am however able to access my localhost, but once I select and enter the root folder I get the always unwelcome "localhost is currently unable to handle this request. error 500".
I am not sure what's happened since yesterday to cause this and I've searched the forums, but I'm at a loss. I am new to local PHP development, so I might be missing something simple. I appreciate any and all help.

How to correctly publish CakePHP 3 to external server?

I'm writing application in Cakephp-3. I have got local server (Xampp) and external (Apache).
In my local server, all redirect works fine, but when I upload my Cakephp project into external server, I have got error while invoking links.
Error: The view for OnasController::index() was not found.
such a view, of course, exist there!!
I think that's the fault of an external server configuration: path, webroot etc.
I will be very grateful for any solution that help solve my problem.
This is my screen where is project localization.
Ok sorry !! Edited !!!

Getting "Not Found" error for the php app in spite of deploying it successfully in Opsworks. Other php apps are working fine

I am getting "Not Found" error for the php app in spite of deploying it successfully in Opsworks. Other php apps are working fine. Also, i am able to run the app in my local environment using Xampp.
Can anybody throw some light on this please ?
Well..i was deploying it repeatedly on the same ec2 instance and getting the 404 error on accessing it. I started a fresh instance, deployed the app on it and it's working fine now. Thanks everybody who looked into this for me. Cheers !!

Wordpress site doesn't work in localhost running in android emulator

I just want to learn how to build responsive themes and I installed the android emulator on win7 and all is ok when I test sites which are running on a live server. The problem is that is not working when I try to test wordpress sites from WAMP server. I'm using 10.0.2.2 instead of localhost or ip... It's working for simple html files but not for wp. It shows me a sitemap with all the site pages and when I try to click on one of them it shows me an error "The webpage might be temporarily down...".
I need to test them on WAMP server before uploading them on a live server. What should I do?... When I uplaod them on server, (the same theme), all is working. Could be something wrong with the wamp configuration?. I test it on 2 pc's (32 and 64) and the same is happening.
I found http://www.youtube.com/watch?v=ZR6E9I0PKoI video and there I see that it's working for him. What am I missing.
Thanks for your help,
Florin
UPDATE
I tested the instructions on the video and they worked fine; I was using WordPress multisite and didn't work, so I created a standalone setup and it worked :)
Here's a simple solution I tested and working for debugging WordPress themes on Android.
First you have to be able to access your localhost from your mobile, follow this instructions here.
Now you should be able to access your localhost from Android. Since WP is redirecting addresss like http://192.168.0.100/wordpress/ to something like http://localhost/wordpress/. Better create a directory on your www folder and test your html versions of styles until they suite your responsive needs.

Categories