Deploying to Web
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 87
- Joined: Thu Jul 17, 2008 8:42 pm
Deploying to Web
Hi,
I am a beginner using RunRev 4.0 Studio and wanted to see if I could create and deploy a very basic revlet.
I began by creating a single stack with the label "Hello"
Next I went to build settings and chose Web, using all of the defaults.
A Web revlet is then created: the web file contains a test.html file and the revlet (Untitled1.revlet).
I upload to my site and then try browsing with FireFox to the revlet: error message: can't be found. I instead browse to the test.html whichdoes not display the revlet.
I try with IE 8: error message (page can't be found) for the revlet. The test.html shows a RunRev logo error message: there was an error loading the revlet.
I must be doing something wrong. Any suggestions appreciated.
Kind Regards,
I am a beginner using RunRev 4.0 Studio and wanted to see if I could create and deploy a very basic revlet.
I began by creating a single stack with the label "Hello"
Next I went to build settings and chose Web, using all of the defaults.
A Web revlet is then created: the web file contains a test.html file and the revlet (Untitled1.revlet).
I upload to my site and then try browsing with FireFox to the revlet: error message: can't be found. I instead browse to the test.html whichdoes not display the revlet.
I try with IE 8: error message (page can't be found) for the revlet. The test.html shows a RunRev logo error message: there was an error loading the revlet.
I must be doing something wrong. Any suggestions appreciated.
Kind Regards,
saratogacoach
LiveCode 4.6.0, Windows 7 Home Premium 64 bit, Core i7 2.80, 8G RAM, ATI Radeon HD5770
LiveCode 4.6.0, Windows 7 Home Premium 64 bit, Core i7 2.80, 8G RAM, ATI Radeon HD5770
Sounds like everything is in the right place for it to work, but will ask the most basic questions real quick anyway.
test.html and the revlet are both in the same folder on the server correct?
You have the plugin installed?
After initial build it should pop up a local run version of the page, did it work? And only doesn't work when loaded onto your external server?
Mind sharing the address so I can try it from here?
Edit: I uploaded a test of my own at http://runthenumbersnow.com/FV/test.html does mine work for you?
test.html and the revlet are both in the same folder on the server correct?
You have the plugin installed?
After initial build it should pop up a local run version of the page, did it work? And only doesn't work when loaded onto your external server?
Mind sharing the address so I can try it from here?
Edit: I uploaded a test of my own at http://runthenumbersnow.com/FV/test.html does mine work for you?
-
- Posts: 87
- Joined: Thu Jul 17, 2008 8:42 pm
Hi Sturgis,
Thanks for your reply. Yes, your revlet worked fine in my Firefox browser (even with Ad Block turned on).
I have the latest plugin installed.
Rather than guess, I re-compiled the test revlet, and yes the test.html displayed locally.
I've re-uploaded it (both files to same folder) to:
http://www.elearningprojects.com/Web/test.html
Still having same problems.
Kind Regards,
Thanks for your reply. Yes, your revlet worked fine in my Firefox browser (even with Ad Block turned on).
I have the latest plugin installed.
Rather than guess, I re-compiled the test revlet, and yes the test.html displayed locally.
I've re-uploaded it (both files to same folder) to:
http://www.elearningprojects.com/Web/test.html
Still having same problems.
Kind Regards,
saratogacoach
LiveCode 4.6.0, Windows 7 Home Premium 64 bit, Core i7 2.80, 8G RAM, ATI Radeon HD5770
LiveCode 4.6.0, Windows 7 Home Premium 64 bit, Core i7 2.80, 8G RAM, ATI Radeon HD5770
Ok, I have a theory. Yours won't work for me either, but since it DOES work locally when first built, and I assume if you go back to the file on your drive manually and load test.html it still works, then my guess is the file is getting messed up during upload. Is it possible the revelet is being uploaded in ascii mode rather than binary?
How are you uploading it?
You might try an ftp client that you can force to bin mode and see if it makes a difference. Assuming you have ftp access to your web server.
Edit: after looking at the source of the html file itself, it looks fine and dandy, but trying to point at http://www.elearningprojects.com/Web/WebTest.revlet doesn't yield the expected results and shows a file not found error, so the question is, has there been a case change during the upload process, or has the extension or name of the revelet itself been changed on the server?
Its actually there, named right and the permissions for the file are correct so that its actually readable?
With mine, if you go directly to the revlet you get a prompt to download indicating the file is actually there.
How are you uploading it?
You might try an ftp client that you can force to bin mode and see if it makes a difference. Assuming you have ftp access to your web server.
Edit: after looking at the source of the html file itself, it looks fine and dandy, but trying to point at http://www.elearningprojects.com/Web/WebTest.revlet doesn't yield the expected results and shows a file not found error, so the question is, has there been a case change during the upload process, or has the extension or name of the revelet itself been changed on the server?
Its actually there, named right and the permissions for the file are correct so that its actually readable?
With mine, if you go directly to the revlet you get a prompt to download indicating the file is actually there.
saratogacoach wrote:Hi Sturgis,
Thanks for your reply. Yes, your revlet worked fine in my Firefox browser (even with Ad Block turned on).
I have the latest plugin installed.
Rather than guess, I re-compiled the test revlet, and yes the test.html displayed locally.
I've re-uploaded it (both files to same folder) to:
http://www.elearningprojects.com/Web/test.html
Still having same problems.
Kind Regards,
-
- Posts: 87
- Joined: Thu Jul 17, 2008 8:42 pm
Hi Sturgis,
I'm afraid I'm not too skilled with the web side of things. I used the latest Filezilla to upload.
What I can try is to upload using Dreamweaver instead. See if that makes any difference.
The other possibility is that the .revlet mime type is not allowed by my ISP. I use GoDaddy. I'll check my control panel, maybe contact GoDaddy support.
Kind Regards,
I'm afraid I'm not too skilled with the web side of things. I used the latest Filezilla to upload.
What I can try is to upload using Dreamweaver instead. See if that makes any difference.
The other possibility is that the .revlet mime type is not allowed by my ISP. I use GoDaddy. I'll check my control panel, maybe contact GoDaddy support.
Kind Regards,
saratogacoach
LiveCode 4.6.0, Windows 7 Home Premium 64 bit, Core i7 2.80, 8G RAM, ATI Radeon HD5770
LiveCode 4.6.0, Windows 7 Home Premium 64 bit, Core i7 2.80, 8G RAM, ATI Radeon HD5770
ok. I have a godaddy site too i'll try mine there also and let you know if it works.
saratogacoach wrote:Hi Sturgis,
I'm afraid I'm not too skilled with the web side of things. I used the latest Filezilla to upload.
What I can try is to upload using Dreamweaver instead. See if that makes any difference.
The other possibility is that the .revlet mime type is not allowed by my ISP. I use GoDaddy. I'll check my control panel, maybe contact GoDaddy support.
Kind Regards,
-
- Posts: 87
- Joined: Thu Jul 17, 2008 8:42 pm
Hi Sturgis,
I am waiting on hold to talk with GoDaddy tech support. I have Windows hosting and checked the default mime types: .revlet is not listed.
So, maybe having GoDaddy add .revlet for my site may help (if they will do this).
I ran into a similar issue with a non-listed mime type for another web deployed program. GoDaddy added the needed mime type, and it began working OK.
I'll be interested to see if your GoDaddy site works with .revlet. If it does then, for me, it's another problem.
Kind Regards,
I am waiting on hold to talk with GoDaddy tech support. I have Windows hosting and checked the default mime types: .revlet is not listed.
So, maybe having GoDaddy add .revlet for my site may help (if they will do this).
I ran into a similar issue with a non-listed mime type for another web deployed program. GoDaddy added the needed mime type, and it began working OK.
I'll be interested to see if your GoDaddy site works with .revlet. If it does then, for me, it's another problem.
Kind Regards,
saratogacoach
LiveCode 4.6.0, Windows 7 Home Premium 64 bit, Core i7 2.80, 8G RAM, ATI Radeon HD5770
LiveCode 4.6.0, Windows 7 Home Premium 64 bit, Core i7 2.80, 8G RAM, ATI Radeon HD5770
Indeed it does work for me. My site hosted on godaddy is http://terminalhealth.info/test.html for the revlet. To get it there I used the filemanager thats built into the godaddy control panel, so yeah its looking like something strange is going on.
If you go to the file manager on godaddy for your hosting account and drill down to the web folder that has your revlet, there is an icon on the right that tells you if the file is "web visible" meaning the permissions are correct to be able to see it. If its not there, then its a permission issue.
Also am wondering, it works for me but my server is linux based. Is yours windows based? If I recall they have both types.
Digging a little further, the file doesn't need to be executable, but if it shows as NOT web accessible in the file manager, just check it, click permissions at the top and put a check into the web visible box. That should set it to +r (readable) and hopefully fix the problem.
If you go to the file manager on godaddy for your hosting account and drill down to the web folder that has your revlet, there is an icon on the right that tells you if the file is "web visible" meaning the permissions are correct to be able to see it. If its not there, then its a permission issue.
Also am wondering, it works for me but my server is linux based. Is yours windows based? If I recall they have both types.
Digging a little further, the file doesn't need to be executable, but if it shows as NOT web accessible in the file manager, just check it, click permissions at the top and put a check into the web visible box. That should set it to +r (readable) and hopefully fix the problem.
-
- Posts: 87
- Joined: Thu Jul 17, 2008 8:42 pm
Hi Sturgis,
I have asked GoDaddy support to add the mime type .revlet to my 2 Windows hosting accounts.
I also did check, while on the phone with tech support, for permissions: it is set up OK now. But this still produced the same display errors.
So, I'll wait until the mime type is configured by them. Hopefully it will work then.
I think that Linux and Windows hosting may work differently. So, if you have Windows hosting with GoDaddy with the revlet working, then the mime type being added on my hosting account will probably not resolve my problem.
Kind Regards,
I have asked GoDaddy support to add the mime type .revlet to my 2 Windows hosting accounts.
I also did check, while on the phone with tech support, for permissions: it is set up OK now. But this still produced the same display errors.
So, I'll wait until the mime type is configured by them. Hopefully it will work then.
I think that Linux and Windows hosting may work differently. So, if you have Windows hosting with GoDaddy with the revlet working, then the mime type being added on my hosting account will probably not resolve my problem.
Kind Regards,
saratogacoach
LiveCode 4.6.0, Windows 7 Home Premium 64 bit, Core i7 2.80, 8G RAM, ATI Radeon HD5770
LiveCode 4.6.0, Windows 7 Home Premium 64 bit, Core i7 2.80, 8G RAM, ATI Radeon HD5770
Hopefully you'll get it fix. I'm afraid my list of ideas is about at an end, especially since I don't know the differences between the windows and linux based hosting systems on godaddy.
Good luck!
If you figure out the issue, let me know so I can sock it away for future reference.
Good luck!
If you figure out the issue, let me know so I can sock it away for future reference.
saratogacoach wrote:Hi Sturgis,
I have asked GoDaddy support to add the mime type .revlet to my 2 Windows hosting accounts.
I also did check, while on the phone with tech support, for permissions: it is set up OK now. But this still produced the same display errors.
So, I'll wait until the mime type is configured by them. Hopefully it will work then.
I think that Linux and Windows hosting may work differently. So, if you have Windows hosting with GoDaddy with the revlet working, then the mime type being added on my hosting account will probably not resolve my problem.
Kind Regards,
-
- Posts: 87
- Joined: Thu Jul 17, 2008 8:42 pm
Hi Sturgis,
If you sign in to your GoDaddy hosting account(s), on the Green toolbar towards the top, select Hosting, then Hosting Management>My Hosting Account, you should be able to see your account (terminalhealth.info) listed. It should also show the account type: Linux or Windows.
Ordinarily, I would have chosen Linux myself, but I need to use some DB features only available in the Windows hosting.
Let me know what you discover.
Happy to share any additional solutions that come my way.
Kind Regards,
If you sign in to your GoDaddy hosting account(s), on the Green toolbar towards the top, select Hosting, then Hosting Management>My Hosting Account, you should be able to see your account (terminalhealth.info) listed. It should also show the account type: Linux or Windows.
Ordinarily, I would have chosen Linux myself, but I need to use some DB features only available in the Windows hosting.
Let me know what you discover.
Happy to share any additional solutions that come my way.
Kind Regards,
saratogacoach
LiveCode 4.6.0, Windows 7 Home Premium 64 bit, Core i7 2.80, 8G RAM, ATI Radeon HD5770
LiveCode 4.6.0, Windows 7 Home Premium 64 bit, Core i7 2.80, 8G RAM, ATI Radeon HD5770
-
- Posts: 87
- Joined: Thu Jul 17, 2008 8:42 pm