Search found 35 matches

by FishNiX
Thu Apr 23, 2015 4:20 am
Forum: Installation
Topic: Upgrade 1.7.8 to 2.0.0 or 2.0.1 - plugin migration
Replies: 2
Views: 2307

Re: Upgrade 1.7.8 to 2.0.0 or 2.0.1 - plugin migration

OK I think I know the issue - I'm using a capastrano style deployment with the chef deploy resource (https://docs.chef.io/resource_deploy.html) and my plugins directory is not included in the release, its one of my 'shared' directories, so these plugins are not getting created when the git fetch hap...
by FishNiX
Tue Apr 21, 2015 2:15 pm
Forum: Installation
Topic: Upgrade 1.7.8 to 2.0.0 or 2.0.1 - plugin migration
Replies: 2
Views: 2307

Upgrade 1.7.8 to 2.0.0 or 2.0.1 - plugin migration

Hi! We are running 1.7.8 with a lot of html_nuggets, we also use the category plugin. In 1.7.8 these were built-in, but they all break after moving to 2.0.x (missing). Is this expected? Do we have to recreate all of those nuggets?
Thanks!
by FishNiX
Sat Aug 30, 2014 12:23 am
Forum: Plugins
Topic: Setting default for new config options in plugin
Replies: 2
Views: 2051

Setting default for new config options in plugin

@onli -

You mentioned I should specify the default here

Code: Select all

$this->get_config('display_helper', true)
I've made a change to the s9ymarkup plugin, can you tell me where I should do that?

https://github.com/fishnix/Serendipity/ ... kup_option

Thanks!
:mrgreen:
by FishNiX
Sun Jan 20, 2013 4:25 am
Forum: Plugins
Topic: Overriding commentInfo['ip']?
Replies: 2
Views: 1560

Re: Overriding commentInfo['ip']?

I didn't know I could do that. I'll give it a shot.

Thanks as always!
-c
by FishNiX
Sun Jan 20, 2013 1:17 am
Forum: Plugins
Topic: Overriding commentInfo['ip']?
Replies: 2
Views: 1560

Overriding commentInfo['ip']?

Hey all - I'm trying to write in support for X-Forwarded-For without hacking core functions. I've been trying to work with the frontend_saveComment event hook. It looks like eventData and addData come through with some information about the comment, but setting eventData['ip'] = getenv('HTTP_X_FORWA...
by FishNiX
Sun Jan 20, 2013 1:10 am
Forum: Plugins
Topic: Spam Protector not detecting X-Forwarded-For
Replies: 2
Views: 2134

Re: Spam Protector not detecting X-Forwarded-For

That worked - I had to make sure each instance looked for HTTP_X_FORWARDED_FOR first. 645c645,646 < 'user_ip' => $_SERVER['REMOTE_ADDR'] != getenv('SERVER_ADDR') ? $_SERVER['REMOTE_ADDR'] : getenv('HTTP_X_FORWARDED_FOR'), --- > #'user_ip' => $_SERVER['REMOTE_ADDR'] != getenv('SERVER_ADDR') ? $_SERVE...
by FishNiX
Wed Sep 05, 2012 1:12 am
Forum: Plugins
Topic: Spam Protector not detecting X-Forwarded-For
Replies: 2
Views: 2134

Spam Protector not detecting X-Forwarded-For

I have a varnish cache in front of S9Y. It's is inserting X-Forwarded-For headers. Apache sees these headers fine and logs them with a combination of LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" proxy SetEnvIf X-Forwarded-For "^.*\..*\..*\..*" forwarded a...
by FishNiX
Wed Apr 25, 2012 3:44 am
Forum: Development
Topic: Vending stuff from entryproperties cache with memcache plugi
Replies: 1
Views: 1673

Vending stuff from entryproperties cache with memcache plugi

So I know this has been talked about a few times, but it keeps coming back in my mind that this *should* work. Of course I haven't made it work yet, so... :) I have a read heavy site with basically _all_ unauthenticated users. I'm OK with losing some dynamic-ness as well. I am planning to drop varni...
by FishNiX
Thu Mar 22, 2012 3:00 pm
Forum: Installation
Topic: Error running in AWS Elastic Beanstalk
Replies: 5
Views: 4515

Re: Error running in AWS Elastic Beanstalk

Yes, understood that it's not an s9y bug (now). This was also my first use of php 5.3, and googling around for php 5.3 + session problems shows some information that sessions are deprecated in 5.3. I thought perhaps it was an issue there (which is why I also tried the 1.7alpha code). I guess this is...
by FishNiX
Thu Mar 22, 2012 2:44 pm
Forum: Installation
Topic: Error running in AWS Elastic Beanstalk
Replies: 5
Views: 4515

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 2:39 pm
Forum: Bugs
Topic: Live posts show up as scheduled
Replies: 2
Views: 1492

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 2:29 pm
Forum: Installation
Topic: Error running in AWS Elastic Beanstalk
Replies: 5
Views: 4515

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 11:03 pm
Forum: Announcements
Topic: Moving to GitHub.com: Call for developers - CVS/SVN affected
Replies: 19
Views: 28535

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 11:28 pm
Forum: General discussions
Topic: Performance! How to make it better?
Replies: 3
Views: 1643

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: 1742

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!