View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - install : MysqlDB missing ? - ProjeQtOr
 
 

install : MysqlDB missing ?

More
19 Sep 2011 18:25 #1 by Sky
Hi

I just download projectorria on XAMPP light (Apache, MySQL, no python)

When I go to the mail page, it redirects to projectorria/view/main.php
and display the message :
ERROR : Impossible to load class mysqlDB
=> Not found in ../model/MysqlDB.php
=> Not found in ../model/persistence/MysqlDB.php

No more information is shown.
Can projectorria runs on XAMP or is there a problem ?

Thanks for help
Sky

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

More
19 Sep 2011 20:26 #2 by babynus
Hi,

No issue to run or XAMPP or XAMPP Lite (I just tried, it's OK).
Just pay attention that Lite version does not include mail functionality, so automatic emailing on status change may not work.
But this should not lead to an error.

Could you :
- precise conditions of production of the error (print screen ?)
- have a look at the log file after producing the error.

Thanks.

Babynus
Administrator of ProjeQtOr web site

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

More
20 Sep 2011 09:14 - 20 Sep 2011 14:22 #3 by Sky
Hi

Well, I should probably see the install page. Instead of that, I get a blank one with the message :
ERROR : Impossible to load class mysqlDB
=> Not found in ../model/MysqlDB.php
=> Not found in ../model/persistence/MysqlDB.php

No more.
Sometimes HTML code can help, so here it is :

<span class="messageERROR" >ERROR : Impossible to load class mysqlDB<br/> => Not found in ../model/MysqlDB.php <br/> => Not found in ../model/persistence/MysqlDB.php <br/></span><input type="hidden" id="lastSaveId" value="" /><input type="hidden" id="lastOperation" value="ERROR" /><input type="hidden" id="lastOperationStatus" value="ERROR" />

I suppose you ask about apache log ?
Here is the access log :
127.0.0.1 - - [20/Sep/2011:09:06:56 +0200] "GET /projectorria/ HTTP/1.1" 200 1414 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)"
127.0.0.1 - - [20/Sep/2011:09:06:56 +0200] "GET /projectorria/view/img/logo.ico HTTP/1.1" 200 326 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)"
127.0.0.1 - - [20/Sep/2011:09:06:56 +0200] "GET /projectorria/view/css/projector.css HTTP/1.1" 200 52474 "[url]http://127.0.0.1/projectorria/[/url]" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)"
127.0.0.1 - - [20/Sep/2011:09:06:56 +0200] "GET /projectorria/view/css/FileInput.css HTTP/1.1" 200 1193 "[url]http://127.0.0.1/projectorria/view/css/projector.css[/url]" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)"
127.0.0.1 - - [20/Sep/2011:09:06:56 +0200] "GET /projectorria/view/css/common.css HTTP/1.1" 200 54908 "[url]http://127.0.0.1/projectorria/view/css/projector.css[/url]" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)"
127.0.0.1 - - [20/Sep/2011:09:06:56 +0200] "GET /projectorria/view/css/projectorIcons.css HTTP/1.1" 200 32158 "[url]http://127.0.0.1/projectorria/view/css/projector.css[/url]" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)"
127.0.0.1 - - [20/Sep/2011:09:06:56 +0200] "GET /projectorria/external/dojo/resources/dojo.css HTTP/1.1" 200 1571 "[url]http://127.0.0.1/projectorria/view/css/projector.css[/url]" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)"
127.0.0.1 - - [20/Sep/2011:09:06:56 +0200] "GET /projectorria/external/dijit/themes/dijit.css HTTP/1.1" 200 29460 "[url]http://127.0.0.1/projectorria/view/css/projector.css[/url]" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)"
127.0.0.1 - - [20/Sep/2011:09:06:56 +0200] "GET /projectorria/external/dijit/icons/commonIcons.css HTTP/1.1" 200 4408 "[url]http://127.0.0.1/projectorria/view/css/projector.css[/url]" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)"
127.0.0.1 - - [20/Sep/2011:09:06:56 +0200] "GET /projectorria/view/img/logoFull.gif HTTP/1.1" 200 5458 "[url]http://127.0.0.1/projectorria/[/url]" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)"
127.0.0.1 - - [20/Sep/2011:09:06:56 +0200] "GET /projectorria/view/img/titleFull.gif HTTP/1.1" 200 5849 "[url]http://127.0.0.1/projectorria/[/url]" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)"
127.0.0.1 - - [20/Sep/2011:09:06:56 +0200] "GET /projectorria/view/css/images/spinner10.gif HTTP/1.1" 200 3289 "[url]http://127.0.0.1/projectorria/view/css/projector.css[/url]" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)"
127.0.0.1 - - [20/Sep/2011:09:06:56 +0200] "POST /projectorria/view HTTP/1.1" 301 385 "[url]http://127.0.0.1/projectorria/[/url]" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)"
127.0.0.1 - - [20/Sep/2011:09:06:56 +0200] "GET /projectorria/view/ HTTP/1.1" 200 1527 "[url]http://127.0.0.1/projectorria/[/url]" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)"
127.0.0.1 - - [20/Sep/2011:09:06:56 +0200] "GET /projectorria/view/img/logo.ico HTTP/1.1" 200 326 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)"
127.0.0.1 - - [20/Sep/2011:09:06:56 +0200] "GET /projectorria/view/css/projector.css HTTP/1.1" 200 52474 "[url]http://127.0.0.1/projectorria/view/[/url]" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)"
127.0.0.1 - - [20/Sep/2011:09:06:56 +0200] "GET /projectorria/view/css/common.css HTTP/1.1" 200 54908 "[url]http://127.0.0.1/projectorria/view/css/projector.css[/url]" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)"
127.0.0.1 - - [20/Sep/2011:09:06:56 +0200] "GET /projectorria/external/dijit/icons/commonIcons.css HTTP/1.1" 200 4408 "[url]http://127.0.0.1/projectorria/view/css/projector.css[/url]" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)"
127.0.0.1 - - [20/Sep/2011:09:06:56 +0200] "GET /projectorria/external/dijit/themes/dijit.css HTTP/1.1" 200 29460 "[url]http://127.0.0.1/projectorria/view/css/projector.css[/url]" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)"
127.0.0.1 - - [20/Sep/2011:09:06:56 +0200] "GET /projectorria/view/css/projectorIcons.css HTTP/1.1" 200 32158 "[url]http://127.0.0.1/projectorria/view/css/projector.css[/url]" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)"
127.0.0.1 - - [20/Sep/2011:09:06:56 +0200] "GET /projectorria/external/dojo/resources/dojo.css HTTP/1.1" 200 1571 "[url]http://127.0.0.1/projectorria/view/css/projector.css[/url]" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)"
127.0.0.1 - - [20/Sep/2011:09:06:56 +0200] "GET /projectorria/view/css/FileInput.css HTTP/1.1" 200 1193 "[url]http://127.0.0.1/projectorria/view/css/projector.css[/url]" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)"
127.0.0.1 - - [20/Sep/2011:09:06:56 +0200] "GET /projectorria/external/dojo/dojo.js HTTP/1.1" 200 91815 "[url]http://127.0.0.1/projectorria/view/[/url]" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)"
127.0.0.1 - - [20/Sep/2011:09:06:57 +0200] "POST /projectorria/view/main.php HTTP/1.1" 200 346 "[url]http://127.0.0.1/projectorria/view/[/url]" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)"
127.0.0.1 - - [20/Sep/2011:09:07:04 +0200] "POST /projectorria/view/main.php HTTP/1.1" 200 346 "[url]http://127.0.0.1/projectorria/view/[/url]" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)"
127.0.0.1 - - [20/Sep/2011:09:07:58 +0200] "POST /projectorria/view/main.php HTTP/1.1" 200 346 "[url]http://127.0.0.1/projectorria/view/[/url]" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)"
127.0.0.1 - - [20/Sep/2011:09:08:02 +0200] "POST /projectorria/view/main.php HTTP/1.1" 200 346 "[url]http://127.0.0.1/projectorria/view/[/url]" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)"

error.log :
[Tue Sep 20 09:06:51 2011] [warn] pid file G:/Application/Web/xampp_disk_g/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Sep 20 09:06:51 2011] [notice] Digest: generating secret for digest authentication ...
[Tue Sep 20 09:06:51 2011] [notice] Digest: done
[Tue Sep 20 09:06:54 2011] [notice] Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.4 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Tue Sep 20 09:06:54 2011] [notice] Server built: Oct 18 2010 01:58:12
[Tue Sep 20 09:06:54 2011] [notice] Parent: Created child process 5460
[Tue Sep 20 09:06:55 2011] [notice] Digest: generating secret for digest authentication ...
[Tue Sep 20 09:06:55 2011] [notice] Digest: done
[Tue Sep 20 09:06:56 2011] [notice] Child 5460: Child process is running
[Tue Sep 20 09:06:56 2011] [notice] Child 5460: Acquired the start mutex.
[Tue Sep 20 09:06:56 2011] [notice] Child 5460: Starting 150 worker threads.
[Tue Sep 20 09:06:56 2011] [notice] Child 5460: Starting thread to listen on port 443.
[Tue Sep 20 09:06:56 2011] [notice] Child 5460: Starting thread to listen on port 80.


Do you see something wrong ?
Thanks

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

More
20 Sep 2011 14:40 #4 by Sky
Hi

I try to have a glance to the code, even if I am not an PHP expert, mostly a newbie...

I put trace in tool/projector.php :

<?php
echo "aaaaaaa";
session_start(); // Setup session. Must be first command.
echo "bbbbbbb";
/** ============================================================================
* Global tool script for the application.
* Must be included (include once) on each script remotely called.
* $Revision$
* $Date$
*/

I get :

aaaaaaaERROR : Impossible to load class mysqlDB
=> Not found in ../model/MysqlDB.php
=> Not found in ../model/persistence/MysqlDB.php

So the issue seems to be related to session_start(), not ?

If I try :
<?php
session_start(); // Setup session. Must be first command.
echo "bbbbbbb";
/** ============================================================================
* Global tool script for the application.
* Must be included (include once) on each script remotely called.
* $Revision$
* $Date$
*/

I get :

ERROR : Impossible to load class mysqlDB
=> Not found in ../model/MysqlDB.php
=> Not found in ../model/persistence/MysqlDB.php

Does it helps ?
Sky

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

More
20 Sep 2011 16:30 #5 by babynus
Hi,
Thanks for this helpfull traces.
Very strange, because :
- it shows error appearing on session_start() (as you identified it)
- I tried it yesterday with a blank install and did not get the issue.
- there is no reference to mysqlDB class in aplication code
- with your test, you should get the error : Cannot send session cookie - headers already sent by... because it is illegal to have an echo before session_start() (no output is allowed before).

Could you try to remove your first echo ("aaaaaaa") and re-test ? does it show "bbbbbbb" ?
On what OS are your testing ?

Regards.

Babynus
Administrator of ProjeQtOr web site

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

More
20 Sep 2011 17:34 #6 by Sky
Hi

As said in the previous message (or I do not have understood your request, let me know), if I try :
<?php
session_start(); // Setup session. Must be first command.
echo "bbbbbbb";
/** ============================================================================
* Global tool script for the application.
* Must be included (include once) on each script remotely called.
* $Revision$
* $Date$
*/

I get :

ERROR : Impossible to load class mysqlDB
=> Not found in ../model/MysqlDB.php
=> Not found in ../model/persistence/MysqlDB.php


The OS is Win XP PRo, xampp is get from portableapps.com /, download on an external disk, and only apache and SQL are started.

After some research , the calling function is tool\projector.php:344:function __autoload($className)



I just try a (stupid) idea : create an empty MysqlDB.php file in model directory.

A page starting with :
"Configuration
This screen will help you configure Project'Or RIA at first run. "
followed by a long form is now displayed.

May be it can be a workaround, but I still ignore the real cause.
I will try this way to see if I can go further with this patch.

If you want, I can do a second install to try few test for you.
I hope it helps and thanks for your helps

Sky

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

Moderators: babynusprotion
Time to create page: 0.048 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.