klando / pgpiwik Goto Github PK
View Code? Open in Web Editor NEWPiwik port to PostgreSQL
Home Page: http://dev.piwik.org/trac
License: Other
Piwik port to PostgreSQL
Home Page: http://dev.piwik.org/trac
License: Other
below is my environment:
PHP 5.4.9-4ubuntu2.3 (cli) (built: Sep 4 2013 19:32:25)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
with Xdebug v2.2.3, Copyright (c) 2002-2013, by Derick Rethans
when i visit my pgpiwik site,i got this:
Function ereg() is deprecated
in '/home/workspace/pgpiwik/core/Piwik.php' at the line 88
#0 Piwik_ErrorHandler(8192, Function ereg() is deprecated, /home/workspace/pgpiwik/core/Piwik.php, 88, Array ([directoriesToCheck] => Array ([0] => /tmp,[1] => /tmp/templates_c,[2] => /tmp/cache),[resultCheck] => Array (),[directoryToCheck] => /tmp))
#1 ereg() called at [/home/workspace/pgpiwik/core/Piwik.php:88]
#2 Piwik::checkDirectoriesWritable(Array ([0] => /tmp,[1] => /tmp/templates_c,[2] => /tmp/cache)) called at [/home/workspace/pgpiwik/core/Piwik.php:43]
#3 Piwik::checkDirectoriesWritableOrDie(Array ([0] => /tmp,[1] => /tmp/templates_c,[2] => /tmp/cache)) called at [/home/workspace/pgpiwik/core/FrontController.php:186]
#4 Piwik_FrontController->init() called at [/home/workspace/pgpiwik/index.php:54]
When you create the super user during setup it is not adding that user to the database. May be because login and password are reserved words in pgsql and need quotes.
Hello,
Thanks for this project, I'm moving to a new server and would have to install mysql only for piwik.
One thing I wonder, though, and can't find any answer to on this repos : is there a mean to import mysql data ?
Maybe it would be worthing it to mention that on repos' readme.
the updates that are in core will require the database to be updated. But that code is trying to execute commands for mysql and not pgsql. I just removed the updates to get the site to appear. But this should be fixed.
Function ereg() is deprecated
in '/mnt/perso/www/pgpiwik/core/Piwik.php' at the line 88
#0 Piwik_ErrorHandler(8192, Function ereg() is deprecated, /mnt/perso/www/pgpiwik/core/Piwik.php, 88, Array ([directoriesToCheck] => Array ([0] => /tmp,[1] => /tmp/templates_c,[2] => /tmp/cache),[resultCheck] => Array (),[directoryToCheck] => /tmp))
#1 ereg() called at [/mnt/perso/www/pgpiwik/core/Piwik.php:88]
#2 Piwik::checkDirectoriesWritable(Array ([0] => /tmp,[1] => /tmp/templates_c,[2] => /tmp/cache)) called at [/mnt/perso/www/pgpiwik/core/Piwik.php:43]
#3 Piwik::checkDirectoriesWritableOrDie(Array ([0] => /tmp,[1] => /tmp/templates_c,[2] => /tmp/cache)) called at [/mnt/perso/www/pgpiwik/core/FrontController.php:186]
#4 Piwik_FrontController->init() called at [/mnt/perso/www/pgpiwik/index.php:54]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.