Discussions
Activity
Sign In
How it works
Sebastian Olsson (2)
Activity
Discussions
31
Comments
90
Troubles with update from 3.5.2 to last version 4.2.1
There is probably something wrong with the file permissions. Make sure that files and directories are owned by the user www-data or apache (or whatever your hosting provider tells you it should be) and check that all the files are uploaded and has t…
Comment by
Sebastian Olsson (2)
April 2014
permalink
Did you update Smarty?
public function __construct() { parent::__construct(); $config = CampSite::GetConfigInstance(); $this->debugging = $config->getSetting('smarty.debugging'); $this->force_compile = $config->ge…
Comment by
Sebastian Olsson (2)
April 2014
permalink
Error: The site alias ..... not assigned to a publication. Please create a publication and assign it
Are you sure there is no spelling error in the alias? By the way, the http:// is not needed. It's only a protocol and not part of the domain name.
Comment by
Sebastian Olsson (2)
March 2014
permalink
newscoop and Apache mod_rewrite directives
No, that will not work. Newscoop uses the requested URL to determine what to show, so if you change that it will stop working.
Comment by
Sebastian Olsson (2)
March 2014
permalink
newscoop and Apache mod_rewrite directives
The rewrite rules in Newscoop basically says to redirect all admin stuff to admin.php and everything else to index.php, except some files and directories. Can you post an example of what you are trying to do?
Comment by
Sebastian Olsson (2)
March 2014
permalink
Cannot make a Newscoop backup
You have two options: Option A. Edit the scripts to point to the correct directory. In the file bin/newscoop-backup, line 172 must be changed from this: camp_copy_files("$html_dir/files", $backupDirFullPath); to this: camp_copy_files(&q…
Comment by
Sebastian Olsson (2)
February 2014
permalink
Cannot make a Newscoop backup
The problem is that the directory /var/lib/newscoop/files does not exist. When files/ was moved to public/files/ they didn't change it in the backup and restore scripts.
Comment by
Sebastian Olsson (2)
February 2014
permalink
Incorrect path to yml file
These files have this type of error: application/phpunit.bootstrap.php src/Newscoop/GimmeBundle/Tests/ContainerAwareUnitTestCase.php src/Newscoop/GimmeBundle/Serializer/Article/FieldsHandler.php library/Newscoop/Gimme/PropertyMatcher.php Maybe ev…
Comment by
Sebastian Olsson (2)
February 2014
permalink
Some templates stopped working after update to 4.2.1
I changed a file to add permission for the {{php}} tag, so the first one works now. But this did not solve the other problem.
Comment by
Sebastian Olsson (2)
February 2014
permalink
Did you update Smarty?
I added this line in template_engine/classes/CampTemplate.php, in the __construct() function: $this->allow_php_tag = true; The {{php}} tags in my template are now working.
Comment by
Sebastian Olsson (2)
February 2014
permalink
Installing newscoop issue: Configuring MySQL goes wrong
You should look at the apache error log to find out what error it is.
Comment by
Sebastian Olsson (2)
February 2014
permalink
Did you update Smarty?
So the default was changed in Newscoop 4.2.1. You need to change http://sourcefabric.booktype.pro/newscoop-42-cookbook/using-javascript-and-php-in-templates/ because it describes how it worked in Newscoop 4.2. How can I make that change? What file…
Comment by
Sebastian Olsson (2)
February 2014
permalink
Did you update Smarty?
{{ $smarty.version }} tells me Smarty-3.0.9, so the deprecated features should still be available. What else could be causing this?
Comment by
Sebastian Olsson (2)
February 2014
permalink
Some templates stopped working after update to 4.2.1
I tested different parts of the template and this part breaks the template: {{ if !in_array($gimme->attachment->file_name|truncate:{{ $gimme->attachment->file_name|count_characters:true - $gimme->attachment->extension…
Comment by
Sebastian Olsson (2)
January 2014
permalink
Path to Smarty cache?
The cache we want to use is on a different filesystem.
Comment by
Sebastian Olsson (2)
January 2014
permalink
Can not edit articles with status 'Published'
It turns out the problem with moving articles was not solved in 4.2.1, it was only working on my test installation on my laptop but not on the host server. This is in the log: [22-Jan-2014 16:50:45 Europe/Stockholm] Newscoop error: Array to string…
Comment by
Sebastian Olsson (2)
January 2014
permalink
Can't edit image metadata
I have the same problem, box goes blank after uploading. If I reload the page in the browser, the images will show up next to the article editor and I can click on an image to add the caption etc there.
Comment by
Sebastian Olsson (2)
January 2014
permalink
Some templates stopped working after update to 4.2.1
I deleted everything and installed it from scratch and now I can get all the articles, but it will not run the PHP code. I commented out that part of the template and the rest of the page shows up, until the next bit of code, which is in multimedia.…
Comment by
Sebastian Olsson (2)
January 2014
permalink
Some templates stopped working after update to 4.2.1
Here are some more, possibly unrelated, errors: [17-Jan-2014 15:31:41 Etc/GMT-1] Newscoop error: Undefined variable: w_dest in /www/webvol20/lx/qocik3a4fn8yqn5/socialisterna.org/public_html/template_engine/classes/CampGetImage.php:494[17-Jan-2014 1…
Comment by
Sebastian Olsson (2)
January 2014
permalink
Some templates stopped working after update to 4.2.1
Also, when I click on an article, there is only a blank page. No errors are added to the log file.
Comment by
Sebastian Olsson (2)
January 2014
permalink
Session cache files are never deleted
The sessions are also not deleted from the database. I have 34536 rows in the Sessions table, going all the way back to 2013-11-30 when the new website was launched.
Comment by
Sebastian Olsson (2)
January 2014
permalink
Some templates stopped working after update to 4.2.1
This is the error-log: [17-Jan-2014 12:18:05 Etc/GMT-1] PHP Fatal error: Allowed memory size of 100663296 bytes exhausted (tried to allocate 105 bytes) in /www/webvol20/lx/qocik3a4fn8yqn5/socialisterna.org/public_html/vendor/doctrine/orm/lib/Doctr…
Comment by
Sebastian Olsson (2)
January 2014
permalink
Add content field to a template page
Replace {{ $gimme->articletype->news->ingress }} with the code provided by Daniel James.
Comment by
Sebastian Olsson (2)
January 2014
permalink
Can not edit articles with status 'Published'
Upgrading to Newscoop 4.2.1 fixes the issues with deleting or moving articles, but I can still not edit any article while it is published.
Comment by
Sebastian Olsson (2)
January 2014
permalink
Can not edit articles with status 'Published'
When I try to edit a published article or publish an article from the edit page, I get this error message: Argument 1 passed to Article::getSEOURLEnd() must be an array, boolean given, called in /var/lib/newscoop/admin-files/articles/edit_html.ph…
Comment by
Sebastian Olsson (2)
January 2014
permalink
Image renditions and memory
I'm not doing it. You should assign it to someone else. I have some experience with PHP, but I got this recommendation from the web host's support technician.
Comment by
Sebastian Olsson (2)
January 2014
permalink
Session cache files are never deleted
It happened again! There is something severely wrong about newscoop's session handling. I can't have a website that crashes twice a month!
Comment by
Sebastian Olsson (2)
January 2014
permalink
Setting Template Cache Handler to DB breaks the frontend
Sorry, it was what I did before that which broke it. I had enabled the Template Cache Handler. I set it back to 'disabled' and that fixed it.
Comment by
Sebastian Olsson (2)
December 2013
permalink
Session cache files are never deleted
Thank you. Why doesn't Newscoop delete the session files when they are no longer in use? It fills up the filesystem!
Comment by
Sebastian Olsson (2)
December 2013
permalink
Publish schedule doesn't work
http://dev.sourcefabric.org/browse/CS-4887
Comment by
Sebastian Olsson (2)
December 2013
permalink
More Comments
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Stop following
About
Username
Sebastian Olsson (2)
Joined
October 2011
Visits
0
Last Active
February 2019
Roles
Member
Posts
121
Friends
Followed by 1 person
My Badges
Total Points: 75
Top Posters
Albert FR
1978
Martin Konecny
1860
Andrey Podshivalov
1526
Voisses Tech
1423
John Chewter
899
Daniel James
844
Roger Wilco
784
hoerich
627
Paul Baranowski
389
Cliff Wang
339