View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Setup problem blank database. - ProjeQtOr
 
 

Setup problem blank database.

More
23 Mar 2013 13:13 - 23 Mar 2013 13:14 #1 by jaynarol
I encountered a problem during install.

1. i input parameter on first page and submit.
2. out put "Database 'projectorria' created. Parameters are saved.".
3. web redirect to /view/main.php.
4. blank page...

I tried to fix it but without success.

I encountered the following problem.
1. database create success but not have any table.
2. in php logs i found..
[Sat Mar 23 18:46:48.816944 2013] [:error] [pid 5668:tid 1044] [client 127.0.0.1:27819] PHP Fatal error:  Call to a member function query() on a non-object in D:\\Web\\NotAllowedScript663b5d5393375web.com\\pmi\\model\\persistence\\Sql.php on line 58, referer: ...
[Sat Mar 23 18:46:48.816944 2013] [:error] [pid 5668:tid 1044] [client 127.0.0.1:27819] PHP Stack trace:, referer: ...
[Sat Mar 23 18:46:48.816944 2013] [:error] [pid 5668:tid 1044] [client 127.0.0.1:27819] PHP   1. {main}() D:\\Web\\NotAllowedScript663b5d5393375web.com\\pmi\\view\\main.php:0, referer: ...
[Sat Mar 23 18:46:48.816944 2013] [:error] [pid 5668:tid 1044] [client 127.0.0.1:27819] PHP   2. require_once() D:\\Web\\NotAllowedScript663b5d5393375web.com\\pmi\\view\\main.php:10, referer: ...
[Sat Mar 23 18:46:48.816944 2013] [:error] [pid 5668:tid 1044] [client 127.0.0.1:27819] PHP   3. include() D:\\Web\\NotAllowedScript663b5d5393375web.com\\pmi\\tool\\projector.php:121, referer: ...
[Sat Mar 23 18:46:48.816944 2013] [:error] [pid 5668:tid 1044] [client 127.0.0.1:27819] PHP   4. Parameter::getGlobalParameter() D:\\Web\\NotAllowedScript663b5d5393375web.com\\pmi\\view\\login.php:24, referer: ...
[Sat Mar 23 18:46:48.816944 2013] [:error] [pid 5668:tid 1044] [client 127.0.0.1:27819] PHP   5. SqlElement->getSqlElementsFromCriteria() D:\\Web\\NotAllowedScript663b5d5393375web.com\\pmi\\model\\Parameter.php:471, referer: ...
[Sat Mar 23 18:46:48.816944 2013] [:error] [pid 5668:tid 1044] [client 127.0.0.1:27819] PHP   6. Sql::query() D:\\Web\\NotAllowedScript663b5d5393375web.com\\pmi\\model\\persistence\\SqlElement.php:1163, referer: ...


please help me.

thank!
Last edit: 23 Mar 2013 13:14 by jaynarol.

Please Log in or Create an account to join the conversation.

More
23 Mar 2013 13:33 #2 by babynus
First, it is normal that database is empty.
It will be updated on first connection.

Then the issue you get.
Your log reports an issue on line 1163 of /model/persistence/SqlElement.php.
Line code is code type=php] $result = Sql::query($query); [/code]
There is not reason to get an error there.
Sql is a class, and query is called as a static method.

Which version of PHP do you run ?

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
23 Mar 2013 13:36 - 23 Mar 2013 13:39 #3 by jaynarol
Thank for Reply :cheer: .

MyServer:
php - 5.4.11
apache - 2.4.3 (Win32)
mysql - 5.6.10
Last edit: 23 Mar 2013 13:39 by jaynarol.

Please Log in or Create an account to join the conversation.

More
23 Mar 2013 13:45 - 23 Mar 2013 13:47 #4 by jaynarol
it is error in "model/persistence/Sql.php" on line 58
56    try { 
57    	$startMicroTime=microtime(true);
58      $result = $cnx->query($sqlRequest);
59      if (isset($debugQuery) and $debugQuery) {
60      	// debugLog to keep
61        debugLog(round((microtime(true) - $startMicroTime)*1000000)/1000000 . ";" . $sqlRequest);
62      }

i install projectorriaV3.2.1.
Last edit: 23 Mar 2013 13:47 by jaynarol.

Please Log in or Create an account to join the conversation.

More
23 Mar 2013 13:51 #5 by babynus
Do you have PDO installed ?

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
23 Mar 2013 13:57 - 23 Mar 2013 13:57 #6 by jaynarol
yes. I install already.

in my php.ini
extension=php_pdo_mysql.dll

Is it possible that the version of php or apache not Incongruous?
Last edit: 23 Mar 2013 13:57 by jaynarol.

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.039 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.