Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

[mv] database permission troubles with mv4.0



******    message to minivend-users from Jonathan <jrs@abhost.net>     ******

Hi.

I'm in the process of moving a site from mv3.14-5 to mv4.0 and I've
having some difficulty
with a few things.

I've got my userdb in sql.  I've got a form that looks like:

<form action="[process-target]" method="post">
<input type="hidden" name="mv_data_table" value="userdb">
<input type="hidden" name="mv_data_key" value="code">
<input type="hidden" name="mv_data_function" value="insert">
<input type="hidden" name="mv_data_fields" value="firstname, lastname">
<input type="hidden" name="mv_nextpage" value="@@MV_PAGE@@">
<input type="hidden" name="mv_todo" value="set">
[loop arg="[value update-code]"]
<input type="hidden" name="code" value="[loop-code]">
<input type="text" name="firstname" value="[loop-field firstname]"
size="30">
<input type="text" name="lastname" value="[loop-field lastname]"
size="30">
[/loop]
<input type="submit" name="submit" value="Update Database">
</form>

The form queries the database and the values are filled correctly.

When I submit however I get the following message in error.log:

24.12.224.116 LHVDVwxi:24.12.224.116 - [01/March/2000:05:57:59 -0800]
abhost /mvend-bin/abhost/process.html Attempted database update without
permission, table=userdb key=test.

I have two questions.

first, what is causing the "without permission"?

second, in all of my pages [process-target] becomes
"path/to/process.html".  this is different than 3.14; is this normal
mv4.0 behavior or do I have something misconfigured?

thanks a lot for any help.

-- Jonathan
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: