The output after installation was Page Not Found. I’m not sure that I got the setup right - It is very different.
My main point is that it is really hard to know where the problem is when you are learning. For example often a small change will report a bug in the coldbox code, hundreds of lines into the system - where does one go to sort that? If you remember I asked about using git on the actual server so that it is possible to return to the original code. Many times I’ve had to scrap the whole demo and start again when I have a problem that I can’t solve.
The point that I made to Luis was that for all good tutorials, everything should work on latest so that anybody coming into the CFML world at least has a chance of following instructions that work. There also needs to be a clear out of many, many old tutorials that don’t apply any longer.
But I still have the issue of what module version to use - There are 45 versions of cbsecurity for example…
Yes, we get it. The demo didn’t work and it’s frustrating. But you’ve got to put as much effort into detailing the exact commands and steps you took as you’re taking telling us how it doesn’t work or we can’t help you very well
I don’t work a lot with cbsecurity, so perhaps @lmajano can chime in to clarify the requirements. I will point out that ColdBox 7 isn’t even released yet! It’s in beta right now, which explains why our ColdBox app templates don’t use it yet. I’m a little surprised Luis would put ColdBox 7 in the requirements list when that isn’t even a stable version of ColdBox, but it appears you only need ColdBox 7 if you plan on using the delegates and basic auth features. I would assume the rest of cbsecurity works find on ColdBox 6 and I would suggest @lmajano update that readme to clarify until such a time that ColdBox 7 is actually released.
What command did you use to install it? What is the output of package list? What URL did you hit? Can you show a screenshot of the “page not found” as it’s not clear if you are talking about a 404 from your web server, or a ColdBox error page, or what.
I’ll chime in with a bit of support for this: “My main point is that it is really hard to know where the problem is when you are learning.” For all the effort Ortus has put into the demos and the docs, it is exceptionally easy to make a simple mistake that is impossible to find. I am very careful to do one little thing at a time. I find myself retreating to a working state all the time because I needed to be even more careful to do less.
I’m very happy with ColdBox and we’re actively integrating it into our shop. Once you figure things out, it is pretty straightforward.
I followed the course exactly - I know it is in the process of being updated. Why do I need to explain the steps as they are documented in the course. If you did the course you would have the same problems.
From a newbie perspective, these areas are black boxes - if a course is there it should work and if this was a requirement for releasing a new module then this confusion might not occur.
When an error comes back from ColdBox system saying line 554 has a bug in its code what should a newbie do? He’s followed the course exactly and it does not work. The only alternative is to scrap the demo and start again.
I’m trying to be constructive here - I have to learn Coldbox and want to learn Coldbox but the courses need to work with correct module versions at least pinned. The alternative is that any course works with the latest versions of all modules.
I’m committed to helping you, but I’ll be real honest. If you want this level of support without putting any effort on your end to even giving us details of the error, etc I’d recommend purchasing some consulting hours or a training and one of us can sit down with you go over your questions in person. I’m not going to go find a course and go through the entire thing, guessing if you ran the commands correctly just to provide free support for you on the forum. If you can tell me you installed version xyz of a module and run code abc and got error “screenshot”, you’re a lot more likely to get useful help.
I believe @gpickin created the original Soapbox course (I could be wrong) so maybe he knows more about what’s in that course, but I suspect he’s going to ask the same sort of questions I asked above.
I’m not looking for support - I’m happy to learn as I go, but to do that I need to recreate the tutorials and get them working - not bothering you and other members of the community for bugs and omissions. Proper tests for the tutorials should pass when new modules are released. Then they can be updated.
My point is that for anybody new coming into ColdBox the requirement is that the tutorials work - all the old and out of date courses are utterly irrelevant for learning. In the future if they require old versions for their projects then they can look back at archived courses.
Have a look at CFCasts for example and imagine you are just coming into ColdBox…
My original question still has not been answered - How on earth do you know what module versions go with what?
@Eggely Tony, I have explained this to you personally via email. I don’t think you are stopping and realizing that I am updating the course, and nothing will work until I am done. I told you this. So please be patient until I update the course so it can get up to standards to newer versions.
I also explained the issue with the course pre-update: the mismatch of versions of packages. Again, this is an oversight on our part that when we did the course 3 years ago, the latest build for cbsecurity was version 2.x. If you run the same commands, it will bring the latest version, and of course, the chance of it working is not good because things change.
I also explained that this goes to any package manager or docker container image you use. If you use the latest tag, it can be problematic down the road.
Once again, I ask you be patient, until I complete the training upgrade so you can run through and test it.