I just excitedly added the Online Editor (CMS 2) to a new empty php page on my site entitled “dashboard”. My cms folders are set up and the Collection component has been set. But, when I uploaded and viewed the dashboard page live, I didn’t get a setup screen with the options to create an account. Instead, I got a prompt for entering an email and password (that I haven’t set up yet). I asked the AI Bot about it and it told me that I could set up this info in the Project Settings under CMS, but there’s no CMS section in my Project Settings. Do any of you have a CMS section? The AI Bot gave me plenty of instructions to make the CMS section show up in Project Settings, but nothing has worked. I concede that I could be missing something simple, but I still can’t find it. Is the AI Bot hallucinating?
If you need to run first-time setup again, delete the Online Editor configuration file from the published site.
Deleting config.php removes the Online Editor setup, including the admin account, configured content folders, resource folders, and workspace settings. It does not delete your Markdown content or uploaded resources.
Before deleting anything, back up config.php if you might need the current settings later. Then connect to your server using FTP, SFTP, SSH, or your hosting file manager and find the Online Editor assets folder. The configuration file lives in the editor PHP folder:
Copy
components/shared/assets/editor/php/config.php
Delete php/config.php, reload your admin page, and complete first-time setup again.
It appears that my install never created a config.php because I can’t find it. I’m looking in: rw/elements/com.elementsplatform.cms/editor/php (image attached). Could there be another step I’m missing?
By the way, I’ve created a brand new project from scratch, created the cms folder structure, and put in a markdown file… created the dashboard, etc… and still no CMS area in the Project Settings. I also tried the same process using the Microblog project as a starting point. Still nothing there in Project Settings. I did not publish these two attempts to a server, as the AI Bot instructed that the CMS area in the Project Settings is actually created when the Collection component is populated… and its been done correctly both times.
this sounds like it could be your server is not allowing access to the Online Editor’s javascript files. Some hosts have very strict mod_security rules that may block some requests.
Could you send me the live URL so I can take a look? that way we’ll have more to work with here
Thanks Ben, It’s solved now. I updated Elements with the new release this morning, deleted my old tests on the server, created a new project from the Microblog template, and everything is working smoothly. I was very relieved to see the CMS setup screen! I even checked to see that the config.php file was there (not there yesterday) and it was. Thanks to you and Dan for caring about my success!
Thank you Dan. Everything works as advertised this morning after updating with the new release, clearing the old install from the server, and loading up the new Microblog project. Thank you for your responses. Now, onward to see what I can create!