• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

I cannot create pages.

ashkir

👽 Chevereto Freak
🎯Description of the issue

When I am trying to create a page I am now getting an error on page creation.
▶🚶‍Reproduction steps
  1. Create a Page
  2. Fill in details, for example test on all the fields
  3. Press Save and you get a PHP error.
😢Unexpected result

🙁 I am posting it in the error log. Just a Chevereto blank error page.

📃Error log message

Code:
[16-Jan-2019 19:48:28 America/Los_Angeles] exception 'CHV\PageException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '' for key 'page_internal'' in /home/nickpic/public_html/app/lib/classes/class.page.php:204
Stack trace:
#0 /home/nickpic/public_html/app/routes/route.dashboard.php(1160): CHV\Page::insert(Array)
#1 /home/nickpic/public_html/lib/G/classes/class.handler.php(232): G\Handler->{closure}(Object(G\Handler))
#2 /home/nickpic/public_html/lib/G/classes/class.handler.php(132): G\Handler->processRequest()
#3 /home/nickpic/public_html/app/loader.php(806): G\Handler->__construct(Array)
#4 /home/nickpic/public_html/index.php(20): include_once('/home/nickpic/p...')
#5 {main}
[16-Jan-2019 19:48:48 America/Los_Angeles] exception 'CHV\PageException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '' for key 'page_internal'' in /home/nickpic/public_html/app/lib/classes/class.page.php:204
Stack trace:
#0 /home/nickpic/public_html/app/routes/route.dashboard.php(1160): CHV\Page::insert(Array)
#1 /home/nickpic/public_html/lib/G/classes/class.handler.php(232): G\Handler->{closure}(Object(G\Handler))
#2 /home/nickpic/public_html/lib/G/classes/class.handler.php(132): G\Handler->processRequest()
#3 /home/nickpic/public_html/app/loader.php(806): G\Handler->__construct(Array)
#4 /home/nickpic/public_html/index.php(20): include_once('/home/nickpic/p...')
#5 {main}
[16-Jan-2019 19:49:50 America/Los_Angeles] exception 'CHV\PageException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '' for key 'page_internal'' in /home/nickpic/public_html/app/lib/classes/class.page.php:204
Stack trace:
#0 /home/nickpic/public_html/app/routes/route.dashboard.php(1160): CHV\Page::insert(Array)
#1 /home/nickpic/public_html/lib/G/classes/class.handler.php(232): G\Handler->{closure}(Object(G\Handler))
#2 /home/nickpic/public_html/lib/G/classes/class.handler.php(132): G\Handler->processRequest()
#3 /home/nickpic/public_html/app/loader.php(806): G\Handler->__construct(Array)
#4 /home/nickpic/public_html/index.php(20): include_once('/home/nickpic/p...')
#5 {main}
 
Will do when I have a chance. Thank you.

Someone suggested updating my PHP, I can do that after I separate out my medical cloud. US Govt has some strict server version requirements for security reasons. But I'll push that to it's own VPS so I can differenate this onet oo.
 
What kind of page are you creating?

In any case, the issue seems to be PHP type related because the key '' that the thing handles should be null, not string. Try switching to 7.2, maybe is just a type cast.
 
I was trying to create a regular HTML active page. But, I even tried one while filling in everything as "test" and it didn't work. Weird thing is I was able to make a page before the pages update.

I'll look into upgrading php
 
I figured it out. When I updated the software, "Null" now seems to be required for page_internal. Previous custom pages did not have null values. I don't know why they all got wiped. But fixing that lets me add new pages.
 
Back
Top