Piwik install on free.fr


(Dieudonné) #1

At the installation on free.fr host, one gets this message :

To run Piwik you need at least PHP version 5.1.3

Unfortunately it seems your webserver is using PHP version 5.1.3RC4-dev.

Since differences between theses two versions of PHP are probably not a real limitation for using Piwik, is it possible to manage a turn-around for this obstacle ?

I tried to set config/global.ini.php with minimum_php_version = 5.1.0 but with no success style_emoticons/<#EMO_DIR#>/sad.gif


(Dieudonné) #2

Now I found a taround around for this, by setting core/testMinimumPhpVersion.php with $piwik_minimumPHPVersion = ‘5.1.0’;

Unfortunatly another problem comes up :

Warning: require_once(Zend/Registry.php) [function.require-once]: failed to open stream: No such file or directory in /mnt/166/sda/3/3/xxx/piwik/core/ErrorHandler.php on line 12

Fatal error: require_once() [function.require]: Failed opening required 'Zend/Registry.php' (include_path='/mnt/166/sda/3/3/xxx/include:.:/usr/php5/lib/php') in /mnt/166/sda/3/3/flostyle/piwik/core/ErrorHandler.php on line 12

Any Idea how to solve this one ?


(Matthieu Aubry) #3

please make sure all your files are uploaded correctly?


(vipsoft) #4

If that’s the include path, then you’re probably outta luck. Check phpinfo() – I’m guessing set_include_path is in disable_functions.


(Xinfe) #5

Indeed, these functions are not activated :

chown

chmod

get_current_user

php_uname

putenv

set_time_limit

getmyuid

getmypid

dl

ini_alter

ini_restore

ini_set

exec

passthru

system

popen

pclose

leak

mysql_list_dbs

listen

chgrp

disk_total_space

disk_free_space

rmdir

realpath

tmpfile

link

shell_exec

proc_open

chroot

openlog

closelog

syslog

flock

socket_create_listen

socket_accept

socket_listen

sleep

usleep

umask

# set_include_path

restore_include_path

symlink

setlocale

imagerotate

I have tried to fix every broken links, but I can’t repair this one (for now) :
/piwik/libs/Zend/Session/Namespace.php on line 27

require_once 'Zend/Session.php';

(vipsoft) #6

That file is found at libs/Zend/Session.php.


(Xinfe) #7

No, I have tried to edit the “faulty” file to include that libs/Zend/Session.php file, but it don’t works.
I have tried a relative and an absolute link to this file, but it seems to be a ghost. Present, but invisible by php include()…


#8

Hi, what about now, can Piwik be installed and run on free.fr hosting ?


#9

Hi.
I just tried to do it (install Piwik on a free.fr hosted website).
As the PHP version is an old one, I followed this page advice : Installation - Analytics Platform - Matomo
and I add an .htaccess with

AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php

in it.

Instead of having the error message telling me my php version was not the good one, I get

init(); $controller->dispatch(); }

Does anyone know what that’s supposed to mean ?


#10

Hi, does anyone knows if Piwik could work now on free.fr?


#11

Hello,

For activate Php 5 on free.fr, I create an .htaccess on piwik root folder with :


php 5

http://mydomainname.free.fr/piwik/.htaccess

For the sessions problem, I create a folder name " sessions " on root site :

http://mydomainname.free.fr/sessions/

But now, I have a problem because piwik requires either the mysqli extension or both the PDO and pdo_mysql extensions.

Do you have a solution for activate mysqli or PDO+pdo_mysql on free.fr ?

Thanks


#12

can i complete with whosvisiting my insatall piwik accounting?
thank you.
jeanmarch@numericable.fr
jean marc houel.