Comments (15)
Hi! Some questions regarding the issue:
- Do you run the latest version of Bolt?
- What's the difference between the entries?
from bolt.
Running on cf847aa (Sun Nov 18 16:46:59 2012 +010)
I can't see any differences between the entries. Here is the SQL dump : http://pastebin.com/Lw05MmJ2
And my contenttypes :
entries:
name: Entries
singular_name: Entry
fields:
title:
type: text
class: large
slug:
type: slug
uses: title
image:
type: image
teaser:
type: html
height: 150px
video:
type: video
body:
type: markdown
height: 300px
kudos:
type: number
taxonomy: [ categories, tags ]
record_template: entry.twig
listing_template: listing.twig
listing_records: 10
sort: datecreated DESC
recordsperpage: 7
rss:
enabled: true
feed_records: 10
feed_template: rss.twig
content_length: 250
from bolt.
Just updated to f42ccdd and I got the same error.
from bolt.
I'll try and reproduce your issue
Oh AND I (or somebody else) will try to solve it as well ;-)
from bolt.
I actually bumped into the same issue today, so i'll most likely be able to reproduce and fix it.
from bolt.
Ah, that'd be great. Be sure to also take a look at issue #20 :)
from bolt.
Note: this doesn't solve the issue yet. Just helps me pinpointing it. Expect a fix soon. :-)
from bolt.
So, the issue might be fixe now, and it might not be. Regardless, if you could try updating, then it will either have fixed the problem, or it gives you a better error, or at the very least it will give us a hint where to continue looking.
from bolt.
After update, problem is still happening :
Used templates:
1. view/error.twig
2. view/_header.twig
3. view/_footer.twig
Route: /_contenttypeslug_slug
Request URI: /entry/migrating-from-wordpress-to-bolt
Parameters:
arr(2)
[
"contenttypeslug" => str(5) "entry"
"slug" => str(32) "migrating-from-wordpress-to-bolt"
]```
from bolt.
So, for some reason there's no message about the missing template, but bolt still falls back to the error template.
The (contenttype)
in the notification means that you've set entry.twig
in your contenttype.yml, which should be OK.
Are you positive that the file /theme/svbtle/entry.twig
exists, and is readable by the webuser?
Does the 'log entries' box in the debug bar mention anything?
from bolt.
Yes, the entry.twig is present and readable. And it's correctly working for another entry. The log doesn't contain anything.
/var/www/nls.io/web(branch:master*) # ls -la theme/svbtle/entry.twig
-rwxrwxr-x 1 web13 client7 943 21 nov. 21:19 theme/svbtle/entry.twig
Do you want a direct SSH access to the files if it can help ?
from bolt.
Yes, if i could have access to the ssh (and Bolt itself, of course), i'm pretty sure i can figure out what the bug is. Feel free to mail me at [email protected].
from bolt.
After publishing an entry, I get the same error as mentioned above. I'm working with Bolt 0.95.
Log entries:
". PHP-Notice: Undefined offset: 1.
in: /public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Schema/SqliteSchemaManager.php::166
2. PHP-Notice: Undefined index: record_template.
in: /public_html/app/src/Bolt/Content.php::550
3. Template "" is not defined ().
in: /public_html/app/app_backend.php::217
4. PHP-Notice: Undefined index: file.
in: /public_html/app/app_backend.php::230 "
from bolt.
You should check your config.yml. There should be a line record_template: blabla...
in it. If not, copy it over from config.yml.dist
.
from bolt.
Is there a way for auto select the template you want? So 'page.twig' for pages and so on.
from bolt.
Related Issues (20)
- exposing an endpoint in socket mode HOT 1
- error when accessing boltcms url HOT 8
- Export 0000-00-00 00:00:00 dates as Unix time
- SetContent is not case-insensitive in all databases
- template field lists underscore files in subfolders HOT 2
- Bolt CMS 3.7.4 incompatibility with PHP 7.4 - Trying to access array offset on value of type bool
- Trying to get in touch regarding a security issue
- BOLT is crashing when optimizing python HOT 2
- Uploaded PDF Files not opening in browser HOT 1
- Database export Nut command does not export relations between records HOT 1
- Keep the current locale visible in backend viewport at all times HOT 1
- Problems Run bolt.so on M1 Mac HOT 1
- Cannot Install Bolot 5 HOT 1
- Language support for 403,503,404 HOT 3
- Old AVX test fails due to GPF/sigsegv HOT 1
- Plans for Bolt 6 / Symfony 6 / Stimulus / API Platform 3 HOT 3
- DELETE method not working for Contents API
- app/nut database:export outputs unexpected results for multi-contenttype select fields HOT 1
- Dependency Resolution Performs Extremely Slowly HOT 1
- bolt fails to deploy on hosts with debian bookworm HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bolt.