FastCGI Error in MAMP Pro When Uploading Files In Craft CMS - mamp

I get errors when trying to upload files to a local install of a Craft CMS site i run through MAMP Pro v 4.0.5.
The ajax call to upload returns a 500 error code, and the apache log has the following:
[Mon Oct 10 08:22:47 2016] [error] [client ::1] FastCGI: incomplete headers
(0 bytes) received from server "/Applications/MAMP/fcgi-bin/php5.6.25.fcgi",
referer: http://healthchase2.dev/admin/assets
I tried turning off the fastcgi_module from the APache seciton of the control panel for MAMP Pro. But I still get the error.
Any help greatly appreciated.

I was running into the same issue in Mamp 4 and managed to resolve by updating the PHP ini. Although Mamp comes with its own version of imagick I had to add the line extension=imagick.so to my ini file which seems to have fixed the problem.
Cheers
Cole

Related

Windows error 126 when opening proficy Hmi/Scada

Hi I was trying to run a program (Proficy Hmi) but I got more than one dll error, Windows error 126
I have attached all the error images here with the Windows version
Device type ("All-in-One" 15-panel marine)
Windows version (Windows XP for embedded systems)
Also I downloaded all the missing dll files but it didn't solve the problem
I can't change Windows
Picture of: ifix startup . version 4.0 [build 6192]
Picture of: ifix startup program error code : 126
Picture of : ifix startup error
Picture of:startup history

Prestashop broken after module PayPal installed

I installed PayPal module on my Prestashop site with version 1.5, after that I received this error if I try to contact my web site:
Warning: require(/web/htdocs/www.safarino.it/home/modules/paypal/backward_compatibility/backward.php): failed to open stream: No such file or directory in /web/htdocs/www.safarino.it/home/modules/paypal/paypal.php on line 127 Warning: require(/web/htdocs/www.safarino.it/home/modules/paypal/backward_compatibility/backward.php): failed to open stream: No such file or directory in /web/htdocs/www.safarino.it/home/modules/paypal/paypal.php on line 127 Fatal error: require(): Failed opening required '/web/htdocs/www.safarino.it/home/modules/paypal/backward_compatibility/backward.php' (include_path='.:/php5.6/lib/php/') in /web/htdocs/www.safarino.it/home/modules/paypal/paypal.php on line 127
How can I fixed them ?
I cannot remove this module because also web panel is broken
Rename your module folder in FTP from "paypal" to something else like "paypal.bak",
this way module will not be loaded at runtime and you'll get access again to your backoffice.
That said, I am not sure Paypal module is still compatible with Prestashop 1.5.
Consider upgrading Prestashop to 1.7 version (or at least 1.6) since 1.5 is over 6 years old and you will have other major issues other than Paypal sooner or later..

WARNING: Unable to pull data from 'http://gems.github.com': bad response Not Found 404 (http://gems.github.io/specs.4.8.gz)

I tried install rails 6.0.0 using command
gem install rails --pre
output:
....
WARNING: Unable to pull data from 'http://gems.github.com': bad
response Not Found 404 (http://gems.github.io/specs.4.8.gz) 40 gems
installed
System Configuration:
Mac OSX 10.13.6
ruby 2.6.1p33 (2019-01-30 revision 66950) [x86_64-darwin17]
OpenSSL 1.0.2h 3 May 2016
Since this is the test configuration with rails 6 beta, I like to clear all system warning in order to focus in rails.
Is there any solution to clear the warning?
Here what I did.
Go to my github account and add new gpg (after created new one)
Then no more warning!

iOS Over-the-Air mobile Ad-Hoc downloading: "Could not Extract Archive" error

I am trying to download my application over the web on my iOS 4.2 device.
I have verified that the application I have built installs and runs correctly on my device through XCode - i.e. The application should be built and signed correctly. I package it through "Build and Archive" and "Share..." it - then upload the .plist and .ipa files to my server, which I have the correct links to, etc..etc...
When I try to install it (over-the-air), it says "Waiting...", then "Loading..." then "Installing...", then I get an error: "Unable to Download 'myAppName'" - (Done) (Retry).
Checking the console on my iPhone, I get the following:
Sat Jan 8 18:30:50 unknown
installd[26090] : 2ff66000
extract_package: Could not extract
archive Sat Jan 8 18:30:50 unknown
installd[26090] : 2ff66000
stage_package: Could not extract
/var/tmp/install_staging.ReUsa4/foo.zip
to /var/tmp/install_staging.ReUsa4/foo_extracted
Sat Jan 8 18:30:50 unknown
installd[26090] : 2ff66000
MobileInstallationInstall: Could not
stage the package Sat Jan 8 18:30:50
unknown installd[26090] :
2ff66000 handle_install: API failed
Sat Jan 8 18:30:50 unknown
com.apple.itunesstored[26087]
: MobileInstallationInstall:
failed with -1
Looks like a bunch of problems "Extracting Archive". Anyone know what this means?
Any ideas???
UPDATE: I the Diawi web site to install this - and it worked fine. So, it's not a code signing issue.
Are you positive that the URL you entered when you did the Enterprise distribution, points to your IPA file? The fact it is showing foo.zip in there seems to point in that direction.
Another thing one may check is the deployment target version vs. iPad iOS version. In my case I was building 4.3 target, while my iPad was at 4.2.1. After I built 4.2 and upload, things works fine.
Yes we had same problem
WRONG
Application URL:http://www.mycompany.com/
RIGHT
Application URL:http://www.mycompany.com/MyApp.ipa
A clue is in the progress bar under the icon:
if you see Unable to Download and the bar is at 0 then I found that something in the plist is wrong.
Test All URLS in plist. They should be openable/downloadable in a browser.
If the progress bar moves too quickly it can find the images but the IPA is a problem, check the URL.
If it moves slowly I found its downloding the IPA ok.
If it gets to 75% and fails it usually mean its downloaded what it can and is now failing on install.
Open organizer/Your device/Console logs
if you see unzip error - "cant unarchive" theres something wrong with ipa.
We had wrong URL http://www.mycompany.com/ so think it downloaded default.htm because we said this was the application URL then tried to unzip it and failed.
NONE OF THIS IS HELPED BY APPLES CRAPPY DOCs NOT GIVING AN EXAMPLE!!!!
Go to Product -> Edit Schema -> Build Configuration
Change Debug to Release and try it.
I figured my problem out, maybe you are having the same issue. When uploading the .ipa file to my website I was doing so as an ASCII file when it should have been as a binary. Whatever way you are using to upload the files make sure you can specify the transfer type used to upload them. Hope this helps
I was uploading my ipa to a shared host that I use for tinkering. I tried another host and it worked fine.
For future googlers, here's the errrors I was getting on my device in Organizer
unknown installd[1595] <Error>: 2fff9000 bom_file_error_handler: Payload/MyApp/thumb#2x.png:No such file or directory
unknown installd[1595] <Error>: 2fff9000 : Can't stat Payload/MyApp/thumb#2x.png: No such file or directory
unknown installd[1595] <Error>: 2fff9000 : Can't stat Payload/MyApp: No such file or directory
unknown installd[1595] <Error>: 2fff9000 extract_package: Could not extract archive
unknown installd[1595] <Error>: 2fff9000 stage_package: Could not extract /var/tmp/install_staging.mqnjNY/foo.zip to /var/tmp/install_staging.mqnjNY/foo_extracted
unknown com.apple.itunesstored[1605] <Notice>: MobileInstallationInstall: failed with -1
unknown installd[1595] <Error>: 2fff9000 MobileInstallationInstall: Could not stage the package
unknown installd[1595] <Error>: 2fff9000 handle_install: API failed
unknown installd[1595] <Error>: 2fff9000 send_message: failed to send mach message of 71 bytes: 10000003
unknown installd[1595] <Error>: 2fff9000 send_error: Could not send error response to client
I had the same problem.
I had created an Ad-Hoc Distribution release of my iPad app, had the URL correct, but then copied the .plist and .ipa files into the wrong directory on my FTP site.
Copying it to the correct place (which corresponded with the "Application URL" setting when I created the Archive) fixed this issue.
Sigh. Wouldn't it be nice if the Terminal gave us an easy-to-read description of why such apps had failed to install...

Error in GWT(web application project)?

i created one web application project.I try to run the project but it shows the following output.How to solve this?
There is a new version of the SDK available.
Latest SDK:
Release: 1.3.1
Timestamp: Tue Feb 09 04:30:41 IST 2010
API versions: [1.0]
Your SDK:
Release: 1.3.0
Timestamp: Tue Dec 15 00:17:37 IST 2009
API versions: [1.0]
Please visit http://code.google.com/appengine for the latest SDK.
The server is running at http://localhost:8888/
It probably means that port 8888 is already in use by some other service (Java server?) - if you're using Google Eclipse Plugin, you can specify the port in the project settings, otherwise use the --port parameter.
You may have already started a server running your GWT application (or just any other server), which you will have to stop before you can start another one. Or do like Igor said and start your GWT server on another port.