Magento after pull custom module on server, custom block not showing template - git-pull

I was created custom module what perfect works on local server, but after pulling it on the remote server, the template wasn't shows on frontend. If I change in layout type of block to standart core/template it's showing in hints, but if put again my type module/block it is not working. Repeat, that code same as on local server and remote server. And all other functionality working fine.

Related

Blazor WASM: Multiple client apps

I'm working on a Blazor WASM app and I want to add an Administration. The administration will use a completely different set of css and js files so I want to create a new client application for it.
What I'm trying to achieve is to have my app on address https://myapp.com and the admin part on http://myapp.com/admin.
I'm following the example provided in this response https://github.com/dotnet/aspnetcore/issues/21872 but it doesn't work so far. The main application loads, but when I try to navigate to the administration I'm getting 404.
Has anyone did it with .net5?
The problem I was facing was caused because I forgot to add a dependency of the second client project into the server project.

Umbraco Cannot View Admin Panel After Migrate From Localhost to Webhost

I already setup umbraco in my localhost. And it's works perfectly.
I uploaded all the files to webhost.
Also, I migrated the database from localhost to webhost using SQL Server Import & Export Data Wizard (because I use SQL Server 2014 instead of SQL CE)
Ok, so it's working perfectly in front end...
But whenever I access to admin panel (http://mywebsiteexample.com/umbraco),
there will be a login box...
so after I fill up the login box and click login, the screen shows nothing..
Why?
could someone please help me?
I use the freehosting at http://www.somee.com
You might have only copied the schema and forgotten the data from the database.
I believe running the installer will generate the content based on the XML, if I'm correct.
Try this by going to: www.website.com/install

deploy asp.net project on another computer

Just to begin I am a beginner in ASP, and havign some difficulty in deploying my first application.
I made a asp.net project in VS2008, and I ws trying to deploy it on another machine and following are the steps that I did:
right clicked on website and published set loaction to c:\inetpub\wwwroot and pasted my app to this folder.
Then I went to control Panel- admin tool- IIS and there it showed the website which I copied then went to its properties added documents, set ASP>NET version, it was blank by default. Then edited the configuration and under authentication changed its mode to none.
And then when I cick on the app in IIS and browse it showed the desired output, but I need to know how to open the same app in browser.
Thanks
If I've understood this correctly - it does depend on how the website has been set up in IIS. At it's most simple it would be
As the default website
http://[external IP of webserver]/default.aspx
As a virtual under the website
http://[external IP of webserver]/[virtualName]/default.aspx
Assuming there is a file called default.aspx (insert your own)
if default.aspx is specified as a default document for the site
http://[external IP of webserver]
http://[external IP of webserver]/[virtualName]
if you are using binding to a specific IP and or port (look in IIS, left handside at the binding link - see image below)
http://hostname: optionalpost
Apologies if I have misunderstood
EDIT
To check whether the site is active at all and to get a better idea of what the external URL is then on the left hand side of IIS will be browse to website. Click this to check whether the site comes up at all.
If it does then the URL should be obvious. It could be one with a host header i.e. looks like a normal URL i.e.
http://mytestsite.com
If it is in this format then you may not be able to browse externally if you can't resolve this hostheader to the IP of the box. To get around this then edit you host file and add a mapping from the url to the external IP of the box.
Host header is at following in windows 7 (or windows generally i think)
C:\Windows\System32\drivers\etc\hosts
Please back this file up before editing it

How to implement a "Site under maintenance" page for JSP application running on OC4J

My JSP based wesite is already in production, running over OC4J (managed by opmnctl). When the application is down, users get a 500 error page. This is not a top-level domain, it is like:
http://localhost/myJspApp
How can I implement a 'welcome' page? it needs to show login screen if the application is running, otherwise show a 'Site Under Maintenance' message in case of OC4J being down.
I am sure it is not possible to use JSP on this welcome page when OC4J is down (altough it was desirable because application status is stored in a table, and it could be easily fetched from db using JSP).
If the OC4J is down, it means that you have no container to run your JSPs.
But, you can still return a nice error page from a different site or HTML. For doing that you need to configure the Apache HTTP server. This is done in the httpd.conf file, using the ErrorDocument part.
Look here for more details

Upload vCard (.vcf) file to IIS7 Site

I'm trying to upload a vcard file to a site i've built with ASP.NET. It's hosted on an IIS7 server.
I keep running into the "content type not allowed" error when i try to upload the file. I have write permission to the directory, I've already added the MIME type for vcards and restarted the IIS server, however it still refuses to take it.
I'm using DevExpress UploadControl and i've removed any validation from it so i am fairly certain the control is not restricting the file upload.
Any other suggestions ?
Maybe your component just allow some content types by default and new ones must be granted access manually.
Can you to debug your server side code, to see if your page code executes and to spot exactly what component are throwing up that error?
It's an HTTP error or a .net exception?

Resources