Search found 49 matches

by axelseaa
Thu May 01, 2008 3:38 pm
Forum: General discussions
Topic: Upload PDF File
Replies: 6
Views: 3230

Hi! Which PHP version do you use? The recogintion whether a media file is an attachment or image makes use of the PHP getimagesize() functionality. Plus, I assume you are using s9y 1.3? Regards, Garvin Currently we have php 5.2.0 installed, I have not yet had a chance to install 1.3 - currently sti...
by axelseaa
Thu May 01, 2008 2:53 am
Forum: General discussions
Topic: Upload PDF File
Replies: 6
Views: 3230

You should have a "Media" button above your editor. It should do what you want. I know it's worked for me with .zip, .tar.gz, and .xcf files. The WYSIWYG editor might validate or rewrite the URL or something; try the non-WYSIWYG editor and see if it makes any difference. How is that possi...
by axelseaa
Wed Apr 30, 2008 6:09 am
Forum: General discussions
Topic: Upload PDF File
Replies: 6
Views: 3230

Upload PDF File

I'm trying to upload a PDF file and create a link to it in an entry. What is the best way to do this? I can upload the pdf with the "Add Media" option, but when I try to insert it into the entry with the image option, picking link only, it doesn't work. Any thoughts?
by axelseaa
Tue Jan 23, 2007 2:57 pm
Forum: Development
Topic: Suggested Change to serendipity_config.inc.php
Replies: 8
Views: 8045

Currently in my installer I have the following chunk of code: define('IN_installer', true); define('IN_upgrader', true); define('IN_serendipity', true); define('IN_serendipity_admin', true); define('IS_installed', false); define('S9Y_INCLUDE_PATH', '/usr/local/lib/s9y/'); $serendipity['dbType'] = 'm...
by axelseaa
Tue Jan 23, 2007 2:24 pm
Forum: Development
Topic: Suggested Change to serendipity_config.inc.php
Replies: 8
Views: 8045

The problem isn't serendipity_config.inc.php directly. For my install script to process, it needs to include both the functions.inc.php file and the serendipity_config.inc.php. Both of those files try to include compat.inc.php, which is what causes the problems. Is it necessary to call compat.inc.ph...
by axelseaa
Tue Jan 23, 2007 5:28 am
Forum: Development
Topic: Suggested Change to serendipity_config.inc.php
Replies: 8
Views: 8045

Here is a response I got from the php list: If there are functions defined in the included file, they can be used in the main file independent if they are before return() or after. If the file is included twice, PHP 5 issues fatal error because functions were already declared, while PHP 4 doesn't co...
by axelseaa
Tue Jan 23, 2007 4:14 am
Forum: Development
Topic: Suggested Change to serendipity_config.inc.php
Replies: 8
Views: 8045

Garvin, I did some testing, and this is what I concluded. First, I created the following file: <?php if (defined('TEST_LOADED')) { return; } define('TEST_LOADED',true); echo "blah blah blah blah<br/>"; ?> I then called it as follows: include('test.php'); include('test.php'); include('test....
by axelseaa
Mon Jan 22, 2007 2:16 pm
Forum: Bugs
Topic: 1.1 Multi Install Javascript Problem
Replies: 7
Views: 4883

I was searching around, and noticed the same problem with the image editing javascript. Can this file also be moved?
by axelseaa
Sat Jan 20, 2007 6:36 am
Forum: Development
Topic: Suggested Change to serendipity_config.inc.php
Replies: 8
Views: 8045

Suggested Change to serendipity_config.inc.php

I run a multi-install site, and i scripted the installation and was not able to get around changing 1 line in the serendipity_config.inc.php file. Is it possible to change line 31 from: include(S9Y_INCLUDE_PATH . 'include/compat.inc.php'); To: include_once(S9Y_INCLUDE_PATH . 'include/compat.inc.php');
by axelseaa
Sat Jan 20, 2007 5:37 am
Forum: Bugs
Topic: 1.1 Multi Install Javascript Problem
Replies: 7
Views: 4883

1.1 Multi Install Javascript Problem

I just upgraded a multi-site install, and noticed the new javascript functions on the plugins page don't work. Each multi-install blog has a .htaccess file with the following: php_value include_path php_value include_path ".:/usr/local/lib/:/usr/local/lib/s9y/:/usr/local/lib/s9y/bundled-libs/&q...
by axelseaa
Thu Aug 03, 2006 3:43 pm
Forum: General discussions
Topic: Spartacus Shows Plugins, But Not Styles
Replies: 14
Views: 7852

Hi! I got it! Sorry for not yet responding. :( It was due to a "xmlns:requirements" XML namespace element in the template package.xml that was created by spartacus but could not be parsed properly. I changed the generation code for that, so in the next refresh cycle (in about 18 hours) th...
by axelseaa
Wed Aug 02, 2006 9:34 pm
Forum: General discussions
Topic: Spartacus Shows Plugins, But Not Styles
Replies: 14
Views: 7852

Hi! Okay, that confirms that somehow the XML does not get parsed at all. It might be an umlaut corruption problem of the XML, maybe caused by some of the new templates. I will investigate this next week, I'll be gone now for the weekend... Best regards, Garvin Any luck on this issue yet? Or is it o...
by axelseaa
Wed Jun 28, 2006 10:53 pm
Forum: Bugs
Topic: Gallery2 embed bug w/ backtrace and error report
Replies: 5
Views: 4652

Howdy, The plugin currently isn't smart enough to check for slashes, make sure you add the trailing slash. /var/www/html/gallery2embed.php is really looking for /var/www/html/gallery2/embed.php If that still causes you problems, let me know. -- Aaron Thank you this is perfect. It really could proba...
by axelseaa
Wed Jun 28, 2006 3:02 pm
Forum: Bugs
Topic: captcha issue with spamblock
Replies: 12
Views: 8273

Hi! If "Expected:" is empty it means the PHP sessions on that blog do not seem to work, or the user entering it didn't have cookies enabled... Regards, Garvin I was thinking that would probably the only reason this would ever happen. However, this morning it worked. So for now I'll just k...
by axelseaa
Wed Jun 28, 2006 3:01 pm
Forum: Bugs
Topic: Gallery2 embed bug w/ backtrace and error report
Replies: 5
Views: 4652

Howdy,

The plugin currently isn't smart enough to check for slashes, make sure you add the trailing slash. /var/www/html/gallery2embed.php is really looking for /var/www/html/gallery2/embed.php

If that still causes you problems, let me know.

-- Aaron