Search found 12 matches

by foobar
Thu Sep 07, 2006 3:50 pm
Forum: General discussions
Topic: Urgent help needed: Made a failure with renaming titles!
Replies: 12
Views: 6649

Time is the problem, Garvin. I am very busy atm, so playing around is not possible. Okay, you have a technical doc, but if you have a simple "hello world" plugin anywhere I will try to implement it.
by foobar
Thu Sep 07, 2006 3:14 pm
Forum: General discussions
Topic: Urgent help needed: Made a failure with renaming titles!
Replies: 12
Views: 6649

Sure you right Garvin,

but think, I needed that solution very very quick. Implementing the hack was not really easy in that short time, because I know nothing about the code structure of Serendipity.

If I would trying to create a plugin, I don´t know how long it would take.

So its hack. And I´am ...
by foobar
Thu Sep 07, 2006 3:02 pm
Forum: General discussions
Topic: Urgent help needed: Made a failure with renaming titles!
Replies: 12
Views: 6649

I think I did it:


/* BEGIN 301 HACK
* Place after in index.php after $title = serendipity_db_query(SELECT title FROM...
*/

$fooURLTitle = str_replace('.html', '', basename($_SERVER['REQUEST_URI']));

$fooURLTitle = substr($fooURLTitle, strpos($fooURLTitle, '-') + 1, strlen($fooURLTitle ...
by foobar
Thu Sep 07, 2006 2:31 pm
Forum: General discussions
Topic: Urgent help needed: Made a failure with renaming titles!
Replies: 12
Views: 6649

But you where kicked from the index for approximately 6 months if you delete your site from the index.

And with sitemap, you cannot fix that problem correctly, because of the links from other sites, pointing to your page.
by foobar
Thu Sep 07, 2006 2:01 pm
Forum: General discussions
Topic: Urgent help needed: Made a failure with renaming titles!
Replies: 12
Views: 6649

Where is the function to convert the database title to url title?

That thing that replaces " " with "-"?


Edit:

Functions name is: serendipity_makeFilename
by foobar
Thu Sep 07, 2006 1:36 pm
Forum: General discussions
Topic: Urgent help needed: Made a failure with renaming titles!
Replies: 12
Views: 6649

Hello Garv

this is my quick patch for serendipity redirect problem:

Not perfect because I have not found the constant for the url:



/* BEGIN 301 HACK
* Place after in index.php after $title = serendipity_db_query(SELECT title FROM...
*/

$foo = substr($serendipity['uriArguments'][1 ...
by foobar
Thu Sep 07, 2006 12:44 pm
Forum: General discussions
Topic: Urgent help needed: Made a failure with renaming titles!
Replies: 12
Views: 6649

Correction:

It displays the index. This is bad too. :(


Edit:

Only if .html at the end is not given.
by foobar
Thu Sep 07, 2006 12:32 pm
Forum: General discussions
Topic: Urgent help needed: Made a failure with renaming titles!
Replies: 12
Views: 6649

Urgent help needed: Made a failure with renaming titles!

Hello folks,

made a big mistake. I renamed my titles the articles. The problem is, is activated smart urls. Some of those urls are indexed in Google.

If Google-Bot visits my site, he will also have the old links in his index. So he will kick them because of double contentent.

The problem depends ...
by foobar
Mon Jun 19, 2006 8:27 pm
Forum: General discussions
Topic: Since 1.0 Serendipty wouldn´t work with Safe Mode On
Replies: 7
Views: 3861

Hy garv,

thanks for your offer, but I found the bug now. I seems to depend on the useres which are provided in the .tar.gz.

I chown`ed the whole dir with the real user and I seems to work now.


Thanks for all!



Und danke, hast du echt super gemacht, Serendipity ist ein feines Stück Software!
by foobar
Mon Jun 19, 2006 3:34 pm
Forum: General discussions
Topic: Since 1.0 Serendipty wouldn´t work with Safe Mode On
Replies: 7
Views: 3861

Sorry garv,

If I would get an PHP error atm, I would post it. But I didn´t get one. Only that installation page.
I gave, for test, the serendipity_config_local.inc.php all rights. Nothing changes :(
by foobar
Mon Jun 19, 2006 3:15 pm
Forum: General discussions
Topic: Since 1.0 Serendipty wouldn´t work with Safe Mode On
Replies: 7
Views: 3861

Hy garvinhicking,

I chmod archives, plugins, templates_c, uploads to 777 now. But got the same problem. (The installation page appears).
by foobar
Mon Jun 19, 2006 1:16 pm
Forum: General discussions
Topic: Since 1.0 Serendipty wouldn´t work with Safe Mode On
Replies: 7
Views: 3861

Since 1.0 Serendipty wouldn´t work with Safe Mode On

Hello,

I upgraded that weekend my Serendipity Installation to 1.0 (from 0.9.1)

Now I does not work with safe_mode = on. Because of the is_writable queries in the code.

Even when I do a chmod 1777 to the required folderes I won´t work. Unless I deactivate Safe mode.

Thats not what I wan´t. I want ...