Page 1 of 1

Serendipity Vs Free.fr

Posted: Mon Aug 22, 2005 3:56 am
by denis69fr
I try to install serendipity 0.8.2 at a frech provider FREE.FR, It use to offerto it's member Serendipity 0.7.1 enhance by them to improve the security.

In reallity they have modify the PHP in orderto refrain certain function. The list of block functions can be found at : http://faq.free.fr/?q=1137

My problem is taht serendipity 0.8.2 do not work with FREE.FR, I have install the version from scratch removing 0.7.1 libraries and files.

When I start the first time the new version, it ask for the conection parameters. I think I enter them correctly because it creates the database in Mysql. But know that the database is created, it do not work, it just show a http error 500, Sever internal error.

:cry: Unfortunatly we can not expect any help from the provider.

It exists several way to help me.

:?: First way, is to give me a method to debug the programs and found a way to have version 0.8.4 working with this provider. It will be perferct because I am interest by several plugin taht do not work in 0.7.1.

:?: The alternative is to give me the instruction in order to get in version 0.7.1 the ability to view the ticket post with a future date.

The configuration is the following (I masked the password):

<?php
/*
Serendipity configuration file
Written on Thu, 7 Jul 2005 13:02:03 +0200
*/

$serendipity['versionInstalled'] = '0.8.2';
$serendipity['dbName'] = 'd_tortel';
$serendipity['dbPrefix'] = 'serendipity_';
$serendipity['dbHost'] = 'sql.free.fr';
$serendipity['dbUser'] = 'd.tortel';
$serendipity['dbPass'] = '*******';
$serendipity['dbType'] = 'mysql';
$serendipity['dbPersistent'] = false;

// End of Serendipity configuration file
// You can place your own special variables after here:

?>

and the adress for serendipity :

http://d.tortel.free.fr/serendipity/

Thank to help me

Denis

:oops: Excuse the quality of my English, I am just a poor French man.

Re: Serendipity Vs Free.fr

Posted: Mon Aug 22, 2005 2:48 pm
by garvinhicking
Hi!

You're language was perfectly allright, no need to feel sorry.

About your installation, the 500 Server error most surely happens because of an invalid .htaccess file. Please temporarily save that file on your system and delete it frmo the Server. That file is not needed for operation, it only defines some helpfull variables if you want to use URL rewriting. So this means, you can use Serendipity 0.8.x, but you can NOT use "Apache Errorhandling" as URL rewriting. But that only affects the look of the links, everything will work as expected!

The functions that are disabled from free.fr might occasionally generate error messages for you, which you can ignore though.

The only problem you might have is that "realpath()" is disabled. This is a very IMPORTANT function for some libraries. Especially the Smarty library may not work without that function, but you'll have to see.

First, just remove .htaccess and please report back here what happens then!

Regards,
Garvin

Posted: Tue Aug 23, 2005 1:55 am
by denis69fr
:D Wonderfull, :D

After I remove the .htacess I was able to enter in serendipity and I also successfully updrade to 0.8.4

The .htacess contains :

# BEGIN s9y
DirectoryIndex /serendipity/index.php
php_value session.use_trans_sid 0
php_value register_globals off
<Files *.tpl>
deny from all
</Files>

<Files *.sql>
deny from all
</Files>

<Files *.inc.php>
deny from all
</Files>

<Files *.db>
deny from all
</Files>

# END s9y

What is the next step ?

I will carry on my test before installing the version 0.8.4 on the weblog we are preparing for the association that I am managing. We will use serendipity to keep the contact and informa of the activity schedule for an association that organize differcnt activites around mountains : Trecking, climbbing, Via ferrata, Skiing ...

As soon the final touch is working on I let you know.

Posted: Tue Aug 23, 2005 1:15 pm
by garvinhicking
Okay, that's great. Actually inside your .htaccess you can try to remove those lines:

Code: Select all

php_value session.use_trans_sid 0
php_value register_globals off
Those might be the ones that are causing trouble on Free.fr.

Regards,
Garvin

Posted: Wed Aug 24, 2005 12:12 am
by denis69fr
I try to remove this 2 lines but the program was failling again. So I try one by one to remove the line. up to find the only combination that works.

In reality it works when you remove the three first lines.

Thank for the help.

Now I will try to upgrade version 0.7.1 "Free" to 0.8.4

Posted: Thu Sep 08, 2005 10:19 pm
by Nggg
Facing the same problem (ie S9y with Free.fr), this topic gave me a solution!
Thanks a lot!!!!!! :D