Search found 41 matches

by FishNiX
Thu Mar 22, 2012 1:44 pm
Forum: Installation
Topic: Error running in AWS Elastic Beanstalk
Replies: 5
Views: 5062

Re: Error running in AWS Elastic Beanstalk

Ah thanks!

In fact, I was working on this earlier yesterday than that was posted (I opened a GitHub issue, but I think bug reports are supposed to still come here to the forum).

Cheers!
by FishNiX
Thu Mar 22, 2012 1:39 pm
Forum: Bugs
Topic: Live posts show up as scheduled
Replies: 2
Views: 1797

Live posts show up as scheduled

Re-opening from GitHub Issues. This is definately 1.6 release running on our live server. I think it's been happening for a long time, but I am not the creator of content, so I don't see it. Should my serverOffset be +4? (server is UTC, localtime is UTC-4). Running the 1.6 release (not updated from ...
by FishNiX
Thu Mar 22, 2012 1:29 pm
Forum: Installation
Topic: Error running in AWS Elastic Beanstalk
Replies: 5
Views: 5062

Error running in AWS Elastic Beanstalk

serendipity_admin.php was the easiest place to grab the error. This was from 1.7 alpha in the master branch. A similar failure occurs with the 1.6 branch. == TESTING ERROR MODE == Fatal error: Uncaught exception 'ErrorException' with message 'Serendipity error: session_start(): open(/var/lib/php/ses...
by FishNiX
Thu Dec 15, 2011 10:03 pm
Forum: Announcements
Topic: Moving to GitHub.com: Call for developers - CVS/SVN affected
Replies: 19
Views: 34070

Re: Moving to GitHub.com: Call for developers - CVS/SVN affe

I like this news ;) I'd like to track a branch which will make my rapid deployment with chef much easier.... is it considered safe to track the (for example) 1.6 branch? I assume all new features will go to master (or a new branch)? and only bug fixes to the current releases branch? or are there no ...
by FishNiX
Wed Dec 07, 2011 10:28 pm
Forum: General discussions
Topic: Performance! How to make it better?
Replies: 3
Views: 2007

Performance! How to make it better?

Warning: long winded post below Running a 2GB host @rackspace cloud -- Apache 2.2.x Mysql 5.1.x ( ~82% hit ratio on query cache) PHP 5.1.x APC opcode caching (~100% hit ratio) Memcache for php sessions S9y v1.6.0 Extended entry properties plugin with caching mysql> select count(*) from serendipity_e...
by FishNiX
Wed Jun 22, 2011 2:20 am
Forum: Installation
Topic: What templates are necessary for installation/admin?
Replies: 2
Views: 2081

What templates are necessary for installation/admin?

Greetings!

I'm trying to strip out unneeded stuff from my installation and writing a chef recipe to install s9y... in the interest of keeping things lean and mean -- what templates are needed to install s9y? what templates are needed for admin, etc?

THanks!
by FishNiX
Fri May 27, 2011 3:09 pm
Forum: Development
Topic: Coding style question; function calling
Replies: 2
Views: 2812

Re: Coding style question; function calling

Garvin - Thanks as always!
by FishNiX
Fri May 27, 2011 1:16 am
Forum: Development
Topic: Coding style question; function calling
Replies: 2
Views: 2812

Coding style question; function calling

When I have a function called in a hook which needs config items is it better to do this: switch($event) { case 'somehook': $foocfg = $this->get_config('foo'); $barcfg = $this->get_config('bar'); $foo = doWork($foocfg, $barcfg); ... ... break; ... ... function doWork($foocfg, $barcfg) { .... .... re...
by FishNiX
Fri May 20, 2011 3:49 pm
Forum: Plugins
Topic: Force Caching of older(?) entries
Replies: 6
Views: 2284

Re: Force Caching of older(?) entries

Do you have "Allow to cache entries? " set to yes? I think yes is default.

I got that link once I installed the extendedproperties plugin. You could try deleting it and reinstalling. I've actually had a situation where I ended up with 2 links.
by FishNiX
Fri May 20, 2011 5:16 am
Forum: Plugins
Topic: Validate config values at save?
Replies: 5
Views: 1742

Re: Validate config values at save?

Greetings -

If configuring my plugin could change the behavior or result of cached entries, should I run

Code: Select all

serendipity_plugin_api::hook_event('backend_cache_purge', $this->title);
serendipity_plugin_api::hook_event('backend_cache_entries', $this->title);
inside cleanup() as well?

Thanks!
by FishNiX
Fri May 20, 2011 1:43 am
Forum: Plugins
Topic: Using cache mechanism in serendipity_event_entryproperties
Replies: 5
Views: 2223

Re: Using cache mechanism in serendipity_event_entryproperti

I think I'm on my way here but I have one question for #2. Right now I do a switch case for the event in the normal way... something like this (remved detail for brevity) if (isset($hooks[$event])) { switch($event) { case 'backend_image_addform': ... ... break; case 'backend_image_add': ... ... brea...
by FishNiX
Mon May 16, 2011 3:30 pm
Forum: Plugins
Topic: Using cache mechanism in serendipity_event_entryproperties
Replies: 5
Views: 2223

Re: Using cache mechanism in serendipity_event_entryproperti

Thanks garvin! The explanation helps. I'll let you know how it goes!
by FishNiX
Mon May 16, 2011 3:23 pm
Forum: Plugins
Topic: Validate config values at save?
Replies: 5
Views: 1742

Re: Validate config values at save?

Thanks garvin -

I actually want to try to use the webservice that get's configured.

I can do this with cleanup()? I suppose in addition I should use the validates.
by FishNiX
Sun May 15, 2011 5:31 pm
Forum: Plugins
Topic: Using cache mechanism in serendipity_event_entryproperties
Replies: 5
Views: 2223

Re: Using cache mechanism in serendipity_event_entryproperti

It looks to me like "uninstalling" my plugin will actually purge the entire ep_cache_* case 'backend_cache_purge': if (!$is_cache) { return true; } serendipity_db_query("DELETE FROM {$serendipity['dbPrefix']}entryproperties WHERE property LIKE 'ep_cache_%'"); break; and "installing" the plugin will ...
by FishNiX
Sun May 15, 2011 4:59 pm
Forum: Plugins
Topic: Using cache mechanism in serendipity_event_entryproperties
Replies: 5
Views: 2223

Using cache mechanism in serendipity_event_entryproperties

I'm writing a plugin that munges entries and changes the location of mediadb stuff. I'm a little concerned that doing that munging will use too many CPU cycles so obviously I'm looking to cache those modified entries. It looks like the ep_cache stores the munged version of my entries in the DB... Ho...