Installation error


#1

Hy all,
I have a problem when I tried to install Piwik.
First I have downloaded the a piwik source zip wih wget and unzipped it.
When I opened the a example.com/piwik URL, I got a lot of PHP error (Notice)
and at the end of the errors, I got this:

[i]require_once(): 1. h->opened_path=[/var/www/html/piwik/core/FrontController.php] h->filename=[/var/www/html/piwik/core/FrontController.php]

in ‘/var/www/html/piwik/core/Loader.php’ at the line 72

#0 Piwik_ErrorHandler(…) called at [/var/www/html/piwik/core/Loader.php:72]
#1 Piwik_Loader::loadClass(…) called at [/var/www/html/piwik/core/Loader.php:72]
#2 Piwik_Loader::loadClass(…) called at [/var/www/html/piwik/core/Loader.php:109]
#3 Piwik_Loader::autoload(…) called at [:]
#4 spl_autoload_call(…) called at [/var/www/html/piwik/index.php:51][/i]

When I set the permissions to 0777 piwik writes less error message, but still there some of the errors above…
When I modify the index.php, to not to display the error and the error_reporting set to E_ALL^E_NOTICE, there aren’t any error on the screen and the installer is appering, but on the second step, I get a “file integriti check” error.

Thanks for the help, PHPGod

P.s.: Sorry of my english…


(Matthieu Aubry) #2

I recommend deleting all files, and download again from piwik.org/latest.zip


#3

Yes, I did that, but not solved the problem…
I get the same error on index.php

When I typed the piwik.php to the location, I got this:
SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘mydatabase.piwik_option’ doesn’t exist

Edit the following line in piwik.php to enable tracker debugging and display a backtrace:

$GLOBALS['PIWIK_TRACKER_DEBUG'] = true;

#4

delete all files, and re-download


(Originalbaby) #5

Hello, I have the same problem, this forum is good for me, I am new here


#6

Yes, I did the same. delete all files from the server and re-download, re-unzip it, and copy it to the correct folder.
The error you can see in my previous post…