pasamio / jwcp

Automatically exported from code.google.com/p/jwcp
0 stars 0 forks source link

Unable to create a child #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. In WCP manager, I click on the "New" button
2. I keep all default parameters for the new child. I just give it a name.
3. Then I click on "save" button
4. And I obtain the following error message : "Fatal error: Class
'JDatabaseMySQL' not found in
D:\wwwroot\stolz\administrator\components\com_wcp\helper.php on line 137"

What version of the product are you using? On what operating system?

I'm using Working Copy RC1 on a Joomla 1.5.14 site under Windows (Apache
2.2 server).

Original issue reported on code.google.com by pascal.m...@gmail.com on 4 Aug 2009 at 6:30

GoogleCodeExporter commented 9 years ago
Cannot confirm the issue on the last SVN version

Original comment by edo...@gmail.com on 6 Aug 2009 at 2:11

GoogleCodeExporter commented 9 years ago
Hello,

I've done a new test today with the latest SVN code.

I encounter the same issue when trying to add a child :

Fatal error: Class 'JDatabaseMySQL' not found in
D:\wwwroot\stolz\administrator\components\com_wcp\helper.php on line 165

Is there anything I can do to help you tracking this error ?

Best regards,
Pascal

Original comment by pascal.m...@gmail.com on 6 Aug 2009 at 8:07

GoogleCodeExporter commented 9 years ago
Are you using mysql or mysqli driver?

Try to add

jimport('joomla.database.database.mysql');

line in controller.php line 31

Thanks,

Edvard

Original comment by edo...@gmail.com on 6 Aug 2009 at 4:08

GoogleCodeExporter commented 9 years ago
Hello Edvard,

I'm using MySQLi, and I confirm that is the problem.

Adding jimport('joomla.database.database.mysql'); don't work on my install.

But by replacing JDatabaseMySQL by JDatabaseMySQLi on line 165 of helper.php it 
works
fine. And it rocks... this is really a great tool !

Regards,
Pascal

Original comment by pascal.m...@gmail.com on 10 Aug 2009 at 7:03

GoogleCodeExporter commented 9 years ago

Original comment by edo...@gmail.com on 13 Sep 2009 at 6:17

GoogleCodeExporter commented 9 years ago

Original comment by edo...@gmail.com on 17 Sep 2009 at 5:44