1
fatman
xoops not creating module table with no errors
  • 2004/1/1 4:33

  • fatman

  • Friend of XOOPS

  • Posts: 176

  • Since: 2003/12/13


I'm working on a module and have for some reason my .sql file is not creating the db tables when I install the module. I don't however get any error messages.

Here is what is reported when installing the module

SQL file found at /var/www/html/modules/k_store/sql/k_store.0.2.8.sql.
Creating tables...
Module data inserted successfullyModule ID10
Adding templates
...

... 
omitted ...

Module kStore installed successfully.


When I check the database, no tables have actually been created. I have tried creating the SQL file with phpmyadmin 2.5.5 and 2.2.7 both with the same results.

I am able to run the sql file using both MySQL shell and phpmyadmin and all tables are created as intended. So I know the file at least works.

Does anyone know why XOOPS would report that the tables have been created when they are not?



2
Stewdio
Re: xoops not creating module table with no errors
  • 2004/1/1 6:56

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


Dumb question, but do you have an xoops_ table prefix?

3
Mithrandir
Re: xoops not creating module table with no errors

Could you post an extract of the .sql file?

4
fatman
Re: xoops not creating module table with no errors
  • 2004/1/10 1:23

  • fatman

  • Friend of XOOPS

  • Posts: 176

  • Since: 2003/12/13


hey, turns out the problem was with my MySQL server. I reinstalled MySQL and everything worked like a charm.

thank you for responding.

Login

Who's Online

160 user(s) are online (111 user(s) are browsing Support Forums)


Members: 0


Guests: 160


more...

Donat-O-Meter

Stats
Goal: AU$15.00
Due Date: Jun 30
Gross Amount: AU$0.00
Net Balance: AU$0.00
Left to go: AU$15.00
Make donations with PayPal!

Latest GitHub Commits