Search found 23 matches

by spiritquest
Thu Jul 02, 2009 7:27 pm
Forum: General discussions
Topic: Trying to set form defaults when creating new users
Replies: 1
Views: 1582

Trying to set form defaults when creating new users

When we create new users, the form that shows to allow us to set username / wysiwyg / publishing preferences is pre-populated with certain defaults.

serendipity_admin.php?serendipity[adminModule]=configuration

If I wanted to change the defaults, what file am I looking at editing and any pointers ...
by spiritquest
Mon Jun 23, 2008 1:23 pm
Forum: Bugs
Topic: Session PHP Notices appearing in apache error logs
Replies: 7
Views: 5916

Should it be reading line 20

Having a look at the line of code that the error message is looking at I see the following:

if (!headers_sent()) {
session_start();

// Prevent session fixation by only allowing sessions that have been sent by the server.
// Any session that does not contain our unique token will be regarded ...
by spiritquest
Mon Jun 23, 2008 12:59 pm
Forum: Bugs
Topic: Session PHP Notices appearing in apache error logs
Replies: 7
Views: 5916

I haven't been able to check back in previous logs, as the logrotate wasn't set to archive logs for any period of time.

I can tell you that the logs are continuously reporting PHP Notices to the effect:

A session had already been started - ignoring session_start() ...

I will re-check the server ...
by spiritquest
Sun Apr 13, 2008 2:46 pm
Forum: Plugins
Topic: TinyMCE WYSIWYG editor
Replies: 96
Views: 80207

Yes, the tinyMCE plugin doesn't support version 3.0, as the interfaces changed.

Any Idea when the plugin will support the 3.x branch of tinymce (this is mainly an issue so the safari plugin for tinymce can be employed).

I know serendipity users who are mac based safari users, this would be a big ...
by spiritquest
Thu Jan 17, 2008 4:18 pm
Forum: Bugs
Topic: Session PHP Notices appearing in apache error logs
Replies: 7
Views: 5916

I don't know if they started recently. I only noticed them when I went to investigate the slow down. I can look back at earlier logs. I haven't been plugged into the blog much since before xmas.

I'll check.

As far as plugins, no nothing new, and as far as I can tell no changes on the server. We ...
by spiritquest
Thu Jan 17, 2008 3:55 pm
Forum: Bugs
Topic: Session PHP Notices appearing in apache error logs
Replies: 7
Views: 5916

The main php.ini file:

session.auto_start = 0

So thats off.

I noticed yesterday, that pages were hanging when I tried to visit a posting or catgeory, sometimes it hung for minutes. the logs show that the PHP notices were being written during the hanging.
by spiritquest
Thu Jan 17, 2008 3:21 pm
Forum: Bugs
Topic: Session PHP Notices appearing in apache error logs
Replies: 7
Views: 5916

Session PHP Notices appearing in apache error logs

Hi Garvin,

I've been noticing a lot of serendipity errors, and some hige lags in page loads just recently.

Am running 1.2

Here is what the apache logs say:

[Thu Jan 17 14:05:12 2008] [error] [client xxx.xxx.xxx.xxx] PHP Notice: A session had already been started - ignoring session_start() in ...
by spiritquest
Wed May 16, 2007 5:41 pm
Forum: General discussions
Topic: SQL difficulty - unique author posting
Replies: 11
Views: 7202

Garvin !

Nice one... Yes this pulls the latest information as required. I would not have known to look for the MAX function.

Thanks, works a treat.

Regards,

Ket
by spiritquest
Tue May 08, 2007 12:42 pm
Forum: General discussions
Topic: SQL difficulty - unique author posting
Replies: 11
Views: 7202

Sure !!

I was thinking along the same lines. I will organise that today, thanks !

Ket
by spiritquest
Mon May 07, 2007 5:45 pm
Forum: General discussions
Topic: SQL difficulty - unique author posting
Replies: 11
Views: 7202

Hi,

I am using: MySQL v 5.0.27
by spiritquest
Fri May 04, 2007 3:47 pm
Forum: General discussions
Topic: SQL difficulty - unique author posting
Replies: 11
Views: 7202

Hi,
Removing group by produces the same results:

+----------+---------------------+------------+
| authorID | authorName | timestamp |
+----------+---------------------+------------+
| 4 | Jane Thurnell-Read | 1178184131 |
| 12 | Bonnie Siefers | 1178109789 |
| 12 | Bonnie Siefers | 1178065291 ...
by spiritquest
Thu May 03, 2007 5:19 pm
Forum: General discussions
Topic: SQL difficulty - unique author posting
Replies: 11
Views: 7202

Hi Garvin,

Thanks for the quick reply.

It certainly pulls distinct results and is much cleaner than my messy query, but it doesn't pull the most recent results.

for some reason it selects entries with timestamps weeks ago, the latest post does not come through at all.

your query ...
by spiritquest
Thu May 03, 2007 4:02 pm
Forum: General discussions
Topic: SQL difficulty - unique author posting
Replies: 11
Views: 7202

SQL difficulty - unique author posting

HI,

I've been trying to get a query running that would select the the last 3 authors that have posted to the blog, so i can have a most recent author system running.

the SQL I am using is here:

SELECT DISTINCT
serendipity_authors.authorid AS authorID, serendipity_authors.realname AS authorName ...
by spiritquest
Tue May 01, 2007 11:38 am
Forum: General discussions
Topic: export announcements from phpWebSite into serendipity
Replies: 1
Views: 2031

export announcements from phpWebSite into serendipity

I'm about to take on transferring years worth of announcements and posts from a phpWebSite installation into serendipity. I wondered if anyone has attempted this or if the developers might have some tips that I could use.

I've thought of exporting the phpws data into an RSS feed format and then ...
by spiritquest
Wed Feb 28, 2007 3:04 pm
Forum: Installation
Topic: 1071 error to do with keys - sql import
Replies: 1
Views: 2302

1071 error to do with keys - sql import

Hi there,

I've found one thread and I know what the error means, I just don't know what values or how I can get around this.

I have been building an install locally and am now transferring an SQL dump of the install to the live server.

It runs mySQL 5.027 - I get an error when it try to import ...