Bolt: Backend results in a page not found error - bolt-cms

I just installed a copy of Bolt CMS to try it out. I'm getting a fatal "Not found error"
Bolt - Fatal error.
Class: Symfony\Component\HttpKernel\Exception\NotFoundHttpException
Message: The page could not be found, and there is no 'notfound' set in 'config.yml'. Sorry about that.
Code: 0
So far I have tried:
Resetting the .htaccess file
Changing my php version
Checking for the existence of a config.yml file
I know I did the installation right because it was done with Softaculous which does it automatically (unless there is a known issue with that)
Thanks for all your help!

That gets displayed for 404s, but when you haven't defined a ContentType & record to handle it.
The default setting in your app/config/config.yml is notfound: page/not-found which translates to a ContentType of page with the slug of not-found.
Not sure about Softaculous, but when you first set up and you visit any page, you should get an install screen to set up your first user. The error you're seeing should not be available until after that is complete. If that is the case, I would look at changes you might have made to your routing.yml file.
Bonus Extra
Once you're up and running, you may find it useful to define a "hidden resource ContentType" for the 404 handling.

I talked on the IRC and the answer was to edit my .htaccess so that it had a RewriteBase line.

Related

How can I resolve "Library path/components/com_quix/helpers cannot be found" in my website?

I tried to move a component in Joomla and after that site brought this error. Can someone help me.
Error message is this:
"Library path/components/com_quix/helpers cannot be found"
This could mean that the path is incorrect, the specified component does not exist, or there is an issue with the file system. To resolve this issue, you should check the path to ensure it is correct, make sure the component is installed and properly configured, and check for any issues with the file system that may be preventing the path from being accessed.

404 error on the default page on my Gitlab repository

This is my first time using Gitlab.
My repository url is myusername.gitlab.io/myrepo.
Opening that page gives me a 404 error, however when I open myusername.gitlab.io/myrepo/myindex.html, I get my index page.
Can someone tell me how I can set it so myusername.gitlab.io/myrepo loads myusername.gitlab.io/myrepo/myindex.html.
On a second note, I have seen other projects that use username.gitlab.iowithout the need for the/therepo` suffix.
Can anyone tell me how I can remove the suffix and just use the domain to access my repo.
Your server may prefer a default 'index' file to be loaded. In some cases, it may not handle the default file at all.
Rename you index file from myindex.html to index.html
First, to start, you can fork a pre-set project, with the right files in it (including an index.html): see gitlab.com/pages for examples, and "Getting started" for the steps
.
I really want to have myusername.github.io only
Second, that is a user website: make sure your repo (where you have forked/cloned the project example) is named after your GitLab login: <you>.gitlab.io.

Unable to fix malformed JSON in wordpress

I am using woocommerce for the first time with wordpress in order to setup an e-commerce site. Everything is installed properly from wordpress to woocommerce plugin and the theme. But the problem resides.
Kindly check below image
I keep getting the same error again and again, I reinstalled the entire wordpress site but no luck. I followed few tutorials wherein they instruct to open browser console and check for a red line which I don't receive in my console.
What I get is in the image below
Also, somehow I am not even able to select another payment option other then cash on delivery which I have installed on my site. I have been struggling for last 3 days, but no luck! Kindly do not down vote this question. As I am feeling helpless at the moment.
The site is fashionburst.in
Thanks in advance
For anyone who might run into this issue, try to turn on debugging in wp-config.php
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
And then read the log file in wp-content/debug.log. I had a PHP error in one of my plugin's hooks and since the checkout is processed with JS, the checkout.min.js threw this error. Log file should give you proper error report (in my case I was using undefined PHP function).

Pywikibot Error "Warning: Token not found on Example:de. You will not be able to edit any page"

I tried to install Pywikibot. So far so good, the bot is able to log in, apparently access api.php, but when I want to run a script it says:
Warning: Token not found on Example:de. You will not be able to edit any page
I tried to search on the web, but either I am not looking well enough or there just isn't anybody with my problem.
I faced the same error when server name was change. So, check hostname in your family file. However, I'm not sure it is your case because you was able to login. But may be it will help someone with similar warning message.

Cannot find URL when duplicating site

So I have a booking system on my website with the URL domain.co.uk/booking. I wanted to add it to a different site I have, domain.com.au/booking. It is a simple drag and drop then run an install.php file. However my domain.com.au/booking does not find anything there. the files are there in the EXACT same way as they are in my domain.co.uk site which runs fine. Are there any reasons why the path would not be found that i may simply be over looking?
N.B the error that appears is
The requested URL /booking/ was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
If you are on a linux server, /booking/ does not equal /booking. That could explain the difference between the two sites (one is hosted on linux, the other is not).
Though this is just a wild guess.