PDA

View Full Version : Program was opening on Mac and PC but I lost contact with the programmer. Need help.




bfellows
Jan 27, 2009, 10:06 AM
My program works on PC at www.fullscreen-1.com but will not open on Mac. Only the code shows.
It was working but I lost contact with the programmer who had it working. He is in Pakistan.
Can someone please help me find someone who can help me get the program finished so it will work on Mac as well as PC when someone tries to access it at www.fullscreen-1.com ?
Thank you very much.



ghayenga
Jan 27, 2009, 11:55 AM
My program works on PC at www.fullscreen-1.com but will not open on Mac. Only the code shows.
It was working but I lost contact with the programmer who had it working. He is in Pakistan.
Can someone please help me find someone who can help me get the program finished so it will work on Mac as well as PC when someone tries to access it at www.fullscreen-1.com ?
Thank you very much.

That's a .rar file. I downloaded it and de-encoded it and it's a flash app that, once de-encoded, should work just fine. Safari apparently doesn't automatically de-encode the .rar files, or you don't have the correct browser settings to automatically de-encode, I don't.

I downloaded fullscreen-1.app.rar and double-clicked it and the Stuffit Expander on my Mac de-encoded it to produce the fullscreen-1.app flash application on my desktop.

kylos
Jan 27, 2009, 05:51 PM
What is the desired behavior? Is the application supposed to be downloaded to the user's downloads folder or is it supposed to play in their browser?

plumbingandtech
Jan 27, 2009, 06:12 PM
Ah the Joys of outsourcing...

Guiyon
Jan 27, 2009, 07:04 PM
You are missing the execute bit on the main binary. Running the following command (from the terminal) in the application's parent folder should solve the issue.

chmod 755 "./fullscreen-1/Contents/Mac OS/Flash Player"

Edit:
Ignore this. It was UnrarX screwing with me.

kylos
Jan 27, 2009, 07:23 PM
Guyion, maybe you have a funny umask setting, but the executable bit is set and the application launches as ghayenga already indicated. The problem is that the browser displays text in the browser window instead of downloading or launching the application.

bfellows, I think I know what your problem is, but I would need to know if the app is only supposed to be downloaded or if it is also supposed to be launched. If you'd like me to fix this, send me a pm with more info.

Guiyon
Jan 27, 2009, 07:28 PM
Guyion, maybe you have a funny umask setting, but the executable bit is set and the application launches as ghayenga already indicated. The problem is that the browser displays text in the browser window instead of downloading or launching the application.

Yep, looks like it was Unrar X; Unraring it with Stuffit worked fine. As for the view/download issue you hit, I didn't run into that. It downloaded fine when I clicked the link. Odd...

kylos
Jan 27, 2009, 07:29 PM
Guyion, what browser are you using?

Guiyon
Jan 27, 2009, 07:40 PM
Guyion, what browser are you using?

Firefox 3.0.5 here; the site does misbehave in WebKit/Safari on my machine though.

kylos
Jan 27, 2009, 07:51 PM
Firefox 3.0.5 here; the site does misbehave in WebKit/Safari on my machine though.

That's what I thought. I first tried it in Safari and the page displays the app archive as text. I think that's the only problem the OP is having, and the Firefox behavior is what's expected. The problem is that Safari is blindly respecting the Content-Type header while other browsers perform an extension check or magic number test to determine that the file should be downloaded rather than displayed in the browser window.

To the OP: if you have some technical skill, simply create a file on your website called ".htaccess", place it in the directory "soft/", and put the following line in it:

AddType application/x-rar-encoded .rar

If you're not comfortable doing this, send me a private message and we can work something out.