1
solaris365
Delete in module fails but in phpMyAdmin works
  • 2004/9/7 11:27

  • solaris365

  • Just popping in

  • Posts: 22

  • Since: 2004/8/8 8


Hallo,
I am working on a new module for XOOPS using 5 database tables. All routines of inserting a new record and updating
existing records in my module work fine.

Just deleting records in any of my tables fails. When I copy the delete statement and use it in phpMyAdmin on the SAME tables the statement works successfully. So it doesn't seem to be a problem of syntax.

Is there anything special to remember when doing a delete with respect to an insert/update statement in Xoops?

Any hint, suggestion, comment is appreciated.

Tks, Solaris365

2
Mithrandir
Re: Delete in module fails but in phpMyAdmin works

Do a search for "queryF" on these forums. If you are not using POST method or your HTTP Referer is blocked, you will not be allowed by XOOPS to do insert/update statements.

3
solaris365
Re: Delete in module fails but in phpMyAdmin works
  • 2004/9/7 20:05

  • solaris365

  • Just popping in

  • Posts: 22

  • Since: 2004/8/8 8


Thanks Mithrandir,

with queryF it's working. Yes I am using the GET method. But I saw other modules also using vars form GET for their Delete statement. How can I know whether my 'HTTP Referer is block'?
Sorry that I insist, but am curious to understand.

Login

Who's Online

407 user(s) are online (316 user(s) are browsing Support Forums)


Members: 0


Guests: 407


more...

Donat-O-Meter

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

Latest GitHub Commits