Report any technical problems you discover and discuss solutions.

invalid template_id (could not find in db)

More
4 months 3 weeks ago #9717 by GeeDV
Hello,
I have two projects that you can preview, but if you try to edit them, it displays - invalid template_id (could not find in db)
These projects used to work, and all other projects work OK.
We're using v3.15, although noticed this issue going back to v3.12.
We're using PHP 8.2, they may have worked OK on php 8.0.
The web files and permissions appear OK.
Do you have any suggestions on where to look or what to try, please.

Thank you

Please Log in or Create an account to join the conversation.

More
4 months 3 weeks ago #9719 by tom
Can you try the set $development to true in config.php around line 43 and look for errors in the apache error log and the error_logs/debug.log file?

Please Log in or Create an account to join the conversation.

More
4 months 1 week ago #9725 by GeeDV
Replied by GeeDV on topic invalid template_id (could not find in db)
The issue was fixed.
Although we didn't appear to use symlinks, something odd was going on in our setup, and perhaps some folder redirections, which caused issues from Xerte v3.13.

Our path settings, set within the management area, were using /usr/local/projects/xerte/www/html/ , these were updated to /var/local/projects/xerte/www/html/ and then it started to work OK.

Please Log in or Create an account to join the conversation.

Moderators: ronmjultenJohnSmith
Time to create page: 0.165 seconds
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo