This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

office23398
office23398

Before => About a month I have nearly adopted "octobercms" as the best framework, after many views, tests ... on all those famous CMS. Me, 20 years in Unix/tools/C/ ... But only recently in all those details concerning Web technologies, php/libraries/cmf...

The point => OctoberCMS very well and carefully installed, re-installed, to learn its way. Always clean. When it was not, it was my fault, because not enough involved in all this stuff, php/symfony/css/twig ... etc. Then reset with a clean state (tar file), and my bad setup fixed. But now ... Some database error I do not like (I do not like errors :-) When I post a topic (after all rainlab Forum setup, re-setup), a Sqlite database error, below I copy part of the system log ( ./storage/logs/system.log ).

===== log start

[2017-05-17 15:06:26] production.ERROR: ErrorException: A non-numeric value encountered in /Volumes/Disk2/Web/october/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:1262 Stack trace:

0 /Volumes/Disk2/Web/october/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(1262): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'A non-numeric v...', '/Volumes/Disk2/...', 1262, Array)

1 /Volumes/Disk2/Web/october/vendor/october/rain/src/Database/Builder.php(138): Illuminate\Database\Query\Builder->forPage('last', '20')

2 /Volumes/Disk2/Web/october/plugins/rainlab/forum/models/Post.php(122): October\Rain\Database\Builder->paginate('20', 'last')

3 [internal function]: RainLab\Forum\Models\Post->scopeListFrontEnd(Object(October\Rain\Database\Builder), Array)

4 /Volumes/Disk2/Web/october/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(901): call_user_func_array(Array, Array)

5 /Volumes/Disk2/Web/october/vendor/october/rain/src/Database/Builder.php(185): Illuminate\Database\Eloquent\Builder->callScope('scopeListFrontE...', Array)

6 /Volumes/Disk2/Web/october/plugins/rainlab/forum/components/Topic.php(198): October\Rain\Database\Builder->__call('listFrontEnd', Array)

7 /Volumes/Disk2/Web/october/plugins/rainlab/forum/components/Topic.php(116): RainLab\Forum\Components\Topic->preparePostList()

...

===== log end

Apparently it's a problem to INSERT a non-numeric value in a Sqlite TABLE. Databases OK for me. And certainly later I'll adopt PostGreSQL in place of Sqlite. But what I like, need, wen I use October, it's the layer above the database, it's not the time to go in SQL details, to make a patch, etc.

So ...

Anybody can help me ?

Best regards. Thanks a lot.

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.