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

Discussion in 'Mac Programming' started by bfellows, Jan 27, 2009.

  1. macrumors newbie

    Joined:
    Jan 27, 2009
    #1
    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.
     
  2. macrumors regular

    Joined:
    Jun 18, 2008
    #2
    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.
     
  3. macrumors 6502a

    kylos

    Joined:
    Nov 8, 2002
    Location:
    MI
    #3
    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?
     
  4. macrumors 68000

    Joined:
    Jun 20, 2007
  5. macrumors 6502a

    Joined:
    Mar 19, 2008
    Location:
    North Shore, MA
    #5
    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.

    Code:
    chmod 755 "./fullscreen-1/Contents/Mac OS/Flash Player"
    Edit:
    Ignore this. It was UnrarX screwing with me.
     
  6. macrumors 6502a

    kylos

    Joined:
    Nov 8, 2002
    Location:
    MI
    #6
    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.
     
  7. macrumors 6502a

    Joined:
    Mar 19, 2008
    Location:
    North Shore, MA
    #7
    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...
     
  8. macrumors 6502a

    kylos

    Joined:
    Nov 8, 2002
    Location:
    MI
  9. macrumors 6502a

    Joined:
    Mar 19, 2008
    Location:
    North Shore, MA
    #9
    Firefox 3.0.5 here; the site does misbehave in WebKit/Safari on my machine though.
     
  10. macrumors 6502a

    kylos

    Joined:
    Nov 8, 2002
    Location:
    MI
    #10
    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:

    Code:
    AddType application/x-rar-encoded .rar
    If you're not comfortable doing this, send me a private message and we can work something out.
     

Share This Page