This project is read-only.

How to update the module installed and is running on server

Topics: Customizing Orchard, General, Troubleshooting, Writing modules
Jul 15, 2013 at 8:54 AM
I have a website is running on server.
It's use some modules like "Skywalker.Webshop"
I need to update some feature and at the local I modified the Controller class: "CheckoutControllers.cs"
So, now how do i update its on the server??

Thank a lot!
Jul 15, 2013 at 9:12 PM
Jul 16, 2013 at 3:13 AM
No, FTP is ok.
But I don't know where new version DLL is upload?
Or What I have to do to update on server?
Jul 16, 2013 at 6:19 AM
You don't need to upload a dll. Unless you disabled dynamic compilation on the server.
Jul 16, 2013 at 7:49 AM
Edited Jul 16, 2013 at 7:50 AM
So What do I have to update new code for server (when i edit a controller class)?
Jul 16, 2013 at 8:19 AM
Just upload that cs file.
Jul 16, 2013 at 9:11 AM
I have a website:
Hosting at goDaddy server

When I upload the new version of cs file then go to my website, it's show the text:
"The page cannot be displayed because an internal server error has occurred."

Last day i tried this way, the first i upload new cs file, but it's show the message above
and then i reUpload my backup cs file,
It's still show "The page cannot be displayed because an internal server error has occurred."

After a day my web is shown normally
Can you explain me why??

Thank you very much!
Jul 17, 2013 at 12:34 AM
I can't because I'm not on your machine. You need to check the logs (in app_data\logs) and figure it out. Chances are, you had changed more than that, or you're missing write permissions on some directories.
Jul 19, 2013 at 4:12 PM
Thank you, I fixed its.
Maybe server is delay update, after 2 hours when I upload new cs file, the new code is executed.