HansSchouten / Laravel-Pagebuilder

A drag and drop pagebuilder to manage pages in any Laravel project
https://www.phpagebuilder.com
MIT License
799 stars 184 forks source link

PHPageBuilder page not found #121

Closed zunaidmiah closed 2 years ago

zunaidmiah commented 2 years ago

I follow your instruction but i got this issue image

HansSchouten commented 2 years ago

This base URL (everything up to /admin) is probably not stored in the config file, or the Laravel env

zunaidmiah commented 2 years ago

Okay. So what can i do now?

HansSchouten commented 2 years ago

I think check/debug the URLs in your .env or pagebuilder config file. I always use clean URLs without sub folders as base URL for websites, so probably the URL is the source of the issue.

zunaidmiah commented 2 years ago

Okay. Please let me one thing, how i will update config/pagebuilder.php file? I mean what i need to be changed or updated of this file.

HansSchouten commented 2 years ago

Run the second command in the Installation steps to publish the config file: https://github.com/HansSchouten/Laravel-Pagebuilder#installation. Next, you would have a config file

zunaidmiah commented 2 years ago

when run all command for installation then i got config file. But from index page when i click get started link then show that error message which i add in screenshot . I can't ran this project. Help me please

zunaidmiah commented 2 years ago

Will you please provide a video step by step how will integrate your pagebuilder with fresh laravel project. It;s really help me if you'll provide me this. Thanks for your consideration and time

HansSchouten commented 2 years ago

Unfortunately at the moment I don't have time to create that or check out on all tickets. But what I can say is that it is most likely due to the URL you are using (I directly work directly on (sub)domains on the many VPSes I own, so never locally) hence my URLs are always https://www.example.com or a subdomain and never a subfolder. So there could be an issue around that. Probably if you host the project directly in http://localhost it would work fine. And to find the root cause search through the project to the code where it outputs "check your URL" there would be something going wrong if you debug dd() the state of the variables/methods around there.

Gagandeep188 commented 1 year ago

hey zunaidmiah have you got the error????