1
nayeem
action not allowed
  • 2004/6/20 1:24

  • nayeem

  • Just popping in

  • Posts: 44

  • Since: 2004/1/3 1


does anyone know why when i try to run an insert query in a table i get the error 'Action not allowed' registered in the logger. whereas the same query runs fine from phpMyAdmin or MySQL prompt??

2
nayeem
Re: action not allowed
  • 2004/6/20 1:45

  • nayeem

  • Just popping in

  • Posts: 44

  • Since: 2004/1/3 1


got it.
only post methods are allowed any queries other then 'select' by default. if you need to enable other queries uncomment the line that says
le="color: #000000"><?php define('XOOPS_DB_PROXY', 1);

that should let you develop in peace, and turn it back on after you are done.

gosh i spent a good few hours just working this out...

3
tl
Re: action not allowed
  • 2004/6/20 2:09

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Doing a search on QueryF will yield insightful information on XOOPS security of using Query and QueryF. Happy reading.