Why can't I view the rest of my components? - javascript

I am working on this project, now everything on the server is running fine but I am having issues viewing the rest of the components for the web app of the page beside the header.
Here is the link to my codebase https://github.com/henry88lay/MyReads-Project
no errors or messages can't seem to find the bug

Related

Linked POST INSPECTOR giving 404 - React APP

I'm using React app for web development and there is a concept called "share company profile". While sharing the URL it shows something went wrong and in the LinkedIn post inspector it show like below: But on Facebook it works fine since it's a React app. I have placed all meta and OG tags in index.html itself.
while giving the base url in inspector its working fine but with params like /company/IN-Gowtham-28/ not working
If that is a valid URL and your app is a SPA (single page app) made with react, the only thing I can think of is your default redirection. Let me explain:
A react SPA creates only 1 page (/index.html) which includes your entire app, including the router and subsequent pages. so if you try to load /another/page/ that will return a 404 as there's no HTML file at the location. In order to avoid that, your web server should redirect all HTML requests to /index.html. depending on your server or hosting of choice there are several ways to do that. from there, react (react-router) will show the proper page depending on URL location.

Heroku app won't redirect unlike when it's running on localhost

I've been building and running a web app on my localhost. Everything was working fine after I carried out all the test to make sure everything was working fine. I finally decided to deploy the web app on heroku, where I wanted to add extra content on the landing page through by using the admin section.
Now, I face the problem when I try to register a new user. After I've clicked the register link and fill out all the fields. The site redirects me to a blank page displaying '500 | Server Error.' instead of redirecting me to the login page where I can access the website and add content. This is an image of the page which it redirects me to. Image instead of redirecting me to a page like this. Can some please guide me on a way of how to solve this problem? If you want to try out the site, here's the link. http://lifeisspiritual.herokuapp.com/register
You are in production mode, you have to set it to development in .env, then you will see the error stack trace. I don't think you can solve it without this change.

Vue-Router not loading component

I am developing a website using Vue and Vue-Router in local. Then I commit changes with git to the production server and the site files get updated.
I was making a payment status page and it's working perfectly in local, so i uploaded the changed to the production server but for some reason the component isn't being loaded on the production server. I am getting no errors.. The rest of the routes I made (were always and are still) working fine, but the new routes I made/make dont in production (again, working perfectly locally)
Does anyone have any debugging suggestions to try and figure out whats happening?
I fixed the problem, It had to do with caching

owncloud app navigation from sidebar

I am newbie to the owncloud app development. I am trying to do a simple app in the owncloud environment.
In my app I created the basic things like appinfo file and index.php file and enabled the app also. So now I want to implement the navigation from sidebar and the page should not reload (like in file or activity app). I am using the owncloud API's only. Now I stuck there only. I'm not able to navigate the pages without refreshing. I am trying to understand the javascript files but I am not getting anything in that.
For this please suggest me what all things I should do and learn? And how it can be implemented.
P.S: I read owncloud official document (developer manual) but that has not helped me.
There is an "Old Menu" app that you can install on your server yourself. More info is here: https://apps.owncloud.com/content/show.php/Old+menu?content=166872

SharePoint App DOM Manipulation and Deployment

I've got some issues with development and deployment of a sharepoint app. The App is going to be an App Part in a SharePoint site.
One issue is, that the app (provider hosted) is not high trusted, although I went through the msdn tutorial how to create a high trusted app (with certificate etc.) Everytime I deploy the app, I get the error: The specified application identifier is invalid or does not exist.
The second issue is, that the App uses JavaScript to manipulate the DOM. The problem is, that I can only manipulate the DOM of the App Part. But I want to manipulate the DOM of the SharePoint site itself, and all DOMs laying in it (all other Web or App Parts included in the Site).
Is this possible?
For example, in the App I want to manipulate the Menu of the SharePoint Site this way:
document.getElementById("zz15_RootAspMenu"). do something
This way I could add Menu-points. But I have no access to zz15_RootAspMenu because its in the outer DOM.
Could it be possible, that the solution to the first issue leads to the solution of the second?
The App is currently running on the SharePoint Machine on "localhost". (I'm working with a Remote Desktop so the App is running on the SharePoint Server but is called via localhost from there) If the App is deployed correctly, could it be that only then the App is imported correctly into the Site and then I can access it's DOM?

Categories

Resources