No index showing - Wave

Solved
stevenpriddy

July 30, 08:13 AM

I have went through many routes and cannot get the wave platform to show. I have put it in domain/project as well as put it in the folder above the public_html as well as in it. Either way I can't see it. I just get a 403 error. What am I doing wrong?

Select One:
stevenpriddy

July 30, 09:29 AM

So I found that if I go to domain/project/public I can see the site but the images don't work and some of the links don't work correctly.

Select One:
bobbyiliev

August 2, 01:10 AM

Hello,

For your images, make sure to do these two things:

  • Add the storage symlink:
php artisan storage:link
  • Set the APP_URL in your .env file to match your domain name

Let me know how it goes!

Bobby

Select One:
stevenpriddy

August 5, 10:33 AM

I have also done the storage:link I have the correct APP_URL in the .env I have done everything short of learning the whole laravel language in 24 hours. I have installed in the path with public_html as well as inside of public_html. In the path with it I get an error trying to access the autoload and app files that the index calls for. saying that I don't have permission. I set an owner and I set permissions. Still had an error.

Inside of public_html I get one of 3 things.

  1. 403 Forbidden Unfortunately, you do not have permission to view this.
  2. A site that isn't getting the onsite images, css or js. Only ones linked from other sites in the code. Basically no them or no storage features.
  3. The site shows up in structure using the theme as it should but anything called from storage isn't shown even with the correct storage link, folder and file permissions in the storage folders. The storage link is showing when inspecting the site.

I am going to try to get a version showing the theme correctly and then we can try to troubleshoot it.

The system never notified me that you responded.

Select One:
stevenpriddy

August 5, 12:19 PM

Ok I have a site with the them working. I started all from scratch. Nothing within the symlink is called and used on the site.

example in admin is called like this

img src="/storage//settings/April2021/deploy-to-do.png" class="hidden-md" style="width:40px; height:40px;">

The hyperlink for this essentially is https://domain.com/storage/settings/April2021/deploy-to-do.png which doesn't display the image.

In browser inspector if I change that link to this below then the image shows perfectly. img src="/storage/app/public/settings/April2021/deploy-to-do.png" class="hidden-md" style="width:40px; height:40px;">

Select One:
bobbyiliev

August 6, 01:33 AM

What I could suggest here is to change your document root so that it points to the public folder, so that you don't have to visit yourdomain.com/project/public but you could visit your domain directly.

This is also why you could be having those problems with the path to the images.

What web server are you using? I can guide you on how you could change the document root.

Select One:
stevenpriddy

August 6, 05:16 AM

VPS running Debian 10 and VestaCP Apache2

Select One:
stevenpriddy

August 6, 05:26 AM

DocumentRoot /home/user/web/domain.cc/public_html/project/public is what I have been doing. I have also tried as DocumentRoot /home/user/web/domain.cc/public_html/public with public_html being the project and DocumentRoot /home/user/web/domain.cc/project/public

Select One:
bobbyiliev

August 6, 05:40 AM

The path depends on where you've actually installed the app, so for example if you've intalled it at /home/user/web/domain.cc/public_html/project then the document root should be set to:

/home/user/web/domain.cc/public_html/project/public

And if you've installed it at /home/user/web/domain.cc/project, then the document root should be:

/home/user/web/domain.cc/project/public

If you wish you could send over the login details to support@devdojo.com and I can have a look at it for you.

Select One:
stevenpriddy

August 6, 06:05 AM

so the best version I have right now is at /home/user/web/domain.cc/public_html/project and the root is set to /home/user/web/domain.cc/public_html/project/public the symlink is set at /home/user/web/domain.cc/public_html/project/storage/app/public

What login details would you need? I can send whatever you need.

Select One:
bobbyiliev

August 6, 06:20 AM

Hello,

Yes this setup looks very good actually. Are you still seeing the problem with the images? Also does your APP_URL match exactly your domain name including the HTTPS/HTTP part?

If you are still seeing the problem, it would be best if you could send over the SSH details to the server.

Select One:
stevenpriddy

August 6, 06:30 AM

Information has been emailed. Thanks

Select One:
stevenpriddy

August 6, 06:31 AM

Yes still have a problem with images. APP_URL matches including HTTPS

Select One:
bobbyiliev

August 6, 07:13 AM

Hi,

So after some investigation, it looks like that the Apache Document root is still pointing to /home/user/web/domain.com/public_html/ but your wave install is at /home/user/web/domain.com/public_html/project.

The quickest fix is to change the Apache Document root to:

/home/user/web/domain.com/public_html/project/public

As you are using VestaCP, you can follow the steps here on how to host a Laravel app on VestaCP:

https://forum.vestacp.com/viewtopic.php?t=16237

Select One:
stevenpriddy

August 6, 01:24 PM

Best Answer

So as a step before I reinstalled I changed the document root in proxy and that worked. Thanks for your help.

Select One:
Write
Preview
Help
Cursor Start: Cursor End:
Type '/' for commands
Drop Files Here

Markdown Basics

Below you will find some common used markdown syntax. For a deeper dive in Markdown check out this Cheat Sheet


Bold & Italic

Italics *asterisks*
Bold **double asterisks**


Code

Inline Code
`backtick`Code Block```
Three back ticks and then enter your code blocks here.
```


Headers

# This is a Heading 1
## This is a Heading 2
### This is a Heading 3


Quotes

> type a greater than sign and start typing your quote.

Links

You can add links by adding text inside of [] and the link inside of (), like so:

[link_text](https://google.com)

Lists

To add a numbered list you can simply start with a number and a ., like so:
1. The first item in my list

For an unordered list, you can add a dash -, like so:
- The start of my list


Images

You can add images by selecting the image icon, which will upload and add an image to the editor, or you can manually add the image by adding an exclamation !, followed by the alt text inside of [], and the image URL inside of (), like so:

![alt text for image](url_to_image.png)

Dividers

To add a divider you can add three dashes or three asterisks:
--- or ***


Embedding GIFs via Giphy

You can easily embed animated GIFS with the following syntax:
{% giphy https://giphy.com/embed/giphy_id %}


Embedding Codepens

You can also embed a codepen by writing the following:
{% codepen https://codepen.io/your/pen/url %}

You may also choose the default tabs you wish to show your pen by writing the default-tab like so: (default is result)

{% codepen https://codepen.io/your/pen/url default-tab=result,html %}


Embedding CodeSandbox

You can also embed CodeSandbox by writing the following:
{% codesandbox YOUR_CODESANDBOX_EMBED_URL %}


Embedding YouTube Videos

You can also embed a YouTube video by writing the following:
{% youtube VIDEO_ID_HERE %}


Embedding buymeacoffee.com

You can also embed your "Buy me a coffee" button by writing the following:
{% buymeacoffee BUY_ME_A_COFFEE_USERNAME_HERE %}


Load More Answers

Please login, or signup to write a response.