Login Server behavior problem
Hello,
I'm trying to have a couple of pages with restricted access
on our website.
Using DWMX2004 and Coldfusion on Windows XP.
I used the login server behavior to achieve this.
It seems to work fine when the user name (email address in
this case) and password are not in the database, redirecting to the
failed login page, but when the user and password are correct I get
an error message ("Variable MM_LOGINACTION is undefined") and the
redirection doesn't happen.
I'm far from an expert, and I'm struggling to understand the
code, especially the reason why a CGI variable is used...
Could anyone please help me ?
Thanks in advance.
Ann
Here is the code of my login page (which is not in the root
directory, but in a folder ../en/):
<cfif IsDefined("FORM.txtEmail")>
<cfset
MM_redirectLoginSuccess="brochures_download.cfm">
<cfset MM_redirectLoginFailed="brochures_new.cfm">
<cfquery name="MM_rsUser" datasource="Calliope">
SELECT UserEmail,UserPass FROM tblUsers WHERE
UserEmail='#FORM.txtEmail#' AND UserPass='#FORM.txtPass#'
</cfquery>
<cfif MM_rsUser.RecordCount NEQ 0>
<cftry>
<cflock scope="Session" timeout="30" type="Exclusive">
<cfset Session.MM_Username=FORM.txtEmail>
<cfset Session.MM_UserAuthorization="">
</cflock>
<cfif IsDefined("URL.accessdenied") AND false>
<cfset MM_redirectLoginSuccess=URL.accessdenied>
</cfif>
<cflocation url="#MM_redirectLoginSuccess#"
addtoken="no">
<cfcatch type="Lock">
<!--- code for handling timeout of cflock --->
</cfcatch>
</cftry>
<cfelse>
<cflocation url="#MM_redirectLoginFailed#"
addtoken="no">
</cfif>
<cfelse>
<cfset MM_LoginAction=CGI.SCRIPT_NAME>
<cfif CGI.QUERY_STRING NEQ "">
<cfset MM_LoginAction=MM_LoginAction & "?" &
XMLFormat(CGI.QUERY_STRING)>
</cfif>
</cfif>
<html>
<head>
</head>
<body>
<form
ACTION="<cfoutput>#MM_loginAction#</cfoutput>"
METHOD="POST" name="FORM">
<table width="100%" cellpadding="2" cellspacing="2">
<tr>
<td>Your email </td>
<td><input name="txtEmail" type="text"
id="txtEmail" size="65"></td>
</tr>
<tr>
<td>Password</td>
<td><input name="txtPass" type="text" id="txtPass"
size="8"></td>
</tr>
<tr>
<td> </td>
<td><input name="Login" type="submit" id="Login"
value="Login"></td>
<td> </td>
</tr>
</table>
</form>
</body>
</html>
You need to ensure that sessions have been enabled in your
application.cfm
file.
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver
Valleybiz Internet Design
www.valleybiz.net
"kangy" <[email protected]> wrote in message
news:[email protected]...
> Hello,
>
> I'm trying to have a couple of pages with restricted
access on our
> website.
> Using DWMX2004 and Coldfusion on Windows XP.
>
> I used the login server behavior to achieve this.
> It seems to work fine when the user name (email address
in this case) and
> password are not in the database, redirecting to the
failed login page,
> but
> when the user and password are correct I get an error
message ("Variable
> MM_LOGINACTION is undefined") and the redirection
doesn't happen.
>
> I'm far from an expert, and I'm struggling to understand
the code,
> especially
> the reason why a CGI variable is used...
> Could anyone please help me ?
> Thanks in advance.
> Ann
>
> Here is the code of my login page (which is not in the
root directory, but
> in
> a folder ../en/):
>
> <cfif IsDefined("FORM.txtEmail")>
> <cfset
MM_redirectLoginSuccess="brochures_download.cfm">
> <cfset MM_redirectLoginFailed="brochures_new.cfm">
> <cfquery name="MM_rsUser" datasource="Calliope">
> SELECT UserEmail,UserPass FROM tblUsers WHERE
> UserEmail='#FORM.txtEmail#'
> AND UserPass='#FORM.txtPass#'
> </cfquery>
> <cfif MM_rsUser.RecordCount NEQ 0>
> <cftry>
> <cflock scope="Session" timeout="30"
type="Exclusive">
> <cfset Session.MM_Username=FORM.txtEmail>
> <cfset Session.MM_UserAuthorization="">
> </cflock>
> <cfif IsDefined("URL.accessdenied") AND false>
> <cfset MM_redirectLoginSuccess=URL.accessdenied>
> </cfif>
> <cflocation url="#MM_redirectLoginSuccess#"
addtoken="no">
> <cfcatch type="Lock">
> <!--- code for handling timeout of cflock --->
> </cfcatch>
> </cftry>
> <cfelse>
> <cflocation url="#MM_redirectLoginFailed#"
addtoken="no">
> </cfif>
> <cfelse>
> <cfset MM_LoginAction=CGI.SCRIPT_NAME>
> <cfif CGI.QUERY_STRING NEQ "">
> <cfset MM_LoginAction=MM_LoginAction & "?" &
> XMLFormat(CGI.QUERY_STRING)>
> </cfif>
> </cfif>
> <html>
> <head>
> ...
> </head>
>
> <body>
> ....
> <form
ACTION="<cfoutput>#MM_loginAction#</cfoutput>"
METHOD="POST"
> name="FORM">
> <table width="100%" cellpadding="2"
cellspacing="2">
> <tr>
> <td>Your email </td>
> <td><input name="txtEmail" type="text"
id="txtEmail"
> size="65"></td>
> </tr>
> <tr>
> <td>Password</td>
> <td><input name="txtPass" type="text"
id="txtPass"
> size="8"></td>
> </tr>
> <tr>
> <td> </td>
> <td><input name="Login" type="submit"
id="Login"
> value="Login"></td>
> <td> </td>
> </tr>
> </table>
>
> </form>
> ...
> </body>
> </html>
>
>
>
Similar Messages
-
Login runtime value from login server behavior?
How do I set up a recordset that will point to the login users' record in PHP once they login from the login server behavior?
In ASP I used the value for the variable actname: MM_Username.
I just want to link to the username's record. I thought the "mm_Username" value was something that was created in the login server behavior that came with Dreamweaver and it would work for php as well as asp.
In PHP I am using the following runtime value language :
$_GET['MM_Username']
Is it different in PHP? It won't point to the record of the login user in the user's account.
How do I set up a recordset so that it will point to the record of the login user if none of this makes sense in php.
Thanks in advance,
Bob JeanFound the Answer. The runtime value in the recordset is as follows:
$_SESSION['MM_Username'] -
Sequel Search Server Behaviors Problem
This code was made with php-msql server behaviors - recordset
pull down's....
I have a form to search for firstname or lastname or both but
I'm not getting the right results
SELECT * FROM phonebook WHERE firstname LIKE %s and lastname
LIKE %s
problem 1 - if I have NOTHING in the form then *all* records
get returned
I guess the problem is with blank form fields?
Q: How can I fix this?
full query below...still curious about this - thanks in advance
-
I have created a login function on my web page that is
suppose to return users to the index after successfully a login.
The login function was created using one of Dreamweaver's built in
server behaviors. I originally ran the website on a test sever on
my local machine and everything work fine. But when I transfered it
to the online testing site the same error always happened. On the
online sever it is used as a subdomain and when the pages calls its
self it calls the directory it located on as well. For example on
the index page where the main login is located, when the submit
button is hit it calls it self as directory/index.php instead of
just index or www.subsite.main.site.com. I have tried everything I
can to figure out how to get it to stop pointing in the wrong
location. Please help.Gamespy007 wrote:
> I have created a login function on my web page that is
suppose to return users
> to the index after successfully a login. The login
function was created using
> one of Dreamweaver's built in server behaviors. I
originally ran the website
> on a test sever on my local machine and everything work
fine. But when I
> transfered it to the online testing site the same error
always happened. On
> the online sever it is used as a subdomain and when the
pages calls its self it
> calls the directory it located on as well. For example
on the index page where
> the main login is located, when the submit button is hit
it calls it self as
> directory/index.php instead of just index or
www.subsite.main.site.com. I have
> tried everything I can to figure out how to get it to
stop pointing in the
> wrong location. Please help.
Can you go into code view and find the redirect part and edit
out the
directory?
Steve -
Delete Record server behavior problem
Hi all!
I'm such a painful situation, that I can't figure out, why my
Delete
Record form don't work as supposed.
It seems all things work (also gives message "You have
successfully
deleted the article."), but the problem is
that in the MySQL (5) database real deletion doesn't
occure...
I was walking along with very nice tutorial
(www.adobe.com/devnet/dreamweaver/articles/php_blog2_11.html)
if someone has time to think about...
I have all the steps (from the tutorial) done multiple times
and
result... no real deletion, despite "successfully deleted"
text :(
with regards,
andretaYeah! As always - if one is doing too much over and over,
then it's too
much of trouble.
I used sample delete_art.php(premade by Marius) file instead
of mine and
it worked!
If I was wondering what is different, then there was large
amount of
additional code in my file:
In pre-made sample is 200 lines versus 242 in mine :(
Differences(looked with Winmerge):
MINE(not working): Working:
(why my DW8 inserts session handling in this way?)
1)
$_SESSION['MM_Username'] = NULL;
session_unregister('MM_Username');
$_SESSION['MM_UserGroup'] = NULL;
session_unregister('MM_UserGroup');
$_SESSION['PrevUrl'] = NULL;
unset($_SESSION['MM_Username']);
unset($_SESSION['MM_UserGroup']);
unset($_SESSION['PrevUrl']);
2)
if (!isset($_SESSION)) { session_start();
session_start();
3)
in NONworking: (in WORKING - nothing )
(NB! this was a double-code - i think because of the redoings
(?recordset deleting & recreating?) )
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType,
$theDefinedValue = "",
$theNotDefinedValue = "")
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue)
: $theValue;
$theValue = function_exists("mysql_real_escape_string") ?
mysql_real_escape_string($theValue) :
mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" :
"NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? "'" . doubleval($theValue) .
: "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" :
"NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue :
$theNotDefinedValue;
break;
return $theValue;
4)
NONworking:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml"><!--
InstanceBegin
template="/Templates/admintemplate.dwt.php"
codeOutsideHTMLIsLocked="false" -->
Working:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN"
http://www.w3.org/TR/html4/loose.dtd">
<html>
5)
NonW:
<?php do { ?>
<tr class="topheader">
<td><?php echo $row_rsDeletedArticle['title_art'];
?></td>
Working:
<tr class="topheader">
<td><?php echo $row_rsDeletedArticle['title_art'];
?></td>
6)
NONW:
<td colspan="3"><?php echo
$row_rsDeletedArticle['text_art']; ?></td>
</tr>
<tr>
<td colspan="3"> </td>
</tr>
<?php } while ($row_rsDeletedArticle =
mysql_fetch_assoc($rsDeletedArticle)); ?>
</table>
<table width="30%" border="0" cellspacing="0"
cellpadding="0">
<tr>
<td><form id="delete" name="delete" method="post"
action="delete_art.php">
<input name="yes" type="submit" id="yes" value="yes"
/>
<input name="id_art" type="hidden" id="id_art"
value="<?php echo $row_rsDeletedArticle['id_art']; ?>"
/>
</form>
</td>
<td><form id="cancel" name="cancel" method="post"
action="list_art.php">
<input name="no" type="submit" id="no" value="No" />
</form>
</td>
</tr>
</table>
<?php } // Show if recordset not empty ?>
<?php if ($totalRows_rsDeletedArticle == 0) { // Show if
recordset empty ?>
<p>You have successfully deleted the
article.</p>
<form id="back" name="back" method="post"
action="list_art.php">
<input name="back" type="submit" id="back" value="Back"
/>
</form>
<?php } // Show if recordset empty
?><p> </p>
<!-- InstanceEndEditable --></td>
Working:
<td colspan="2"><p><?php echo
$row_rsDeletedArticle['text_art']; ?></p></td>
</tr>
<tr>
<td colspan="2"><table width="15%" border="0"
cellspacing="0" cellpadding="0">
<tr>
<td><form action="delete_art.php" method="post"
name="delete" id="delete">
<input name="yes" type="submit" id="yes" value="Yes">
<input name="id_art" type="hidden" id="id_art"
value="<?php echo $row_rsDeletedArticle['id_art'];
?>">
</form></td>
<td><form action="list_art.php" method="post"
name="cancel" id="cancel">
<input name="no" type="submit" id="no" value="No">
</form></td>
</tr>
</table></td>
</tr>
</table>
<?php } // Show if recordset not empty ?>
<?php if ($totalRows_rsDeletedArticle == 0) { // Show if
recordset
empty ?>
<p>You have successfully deleted the
article.</p>
<form action="list_art.php" method="post" name="back"
id="back">
<input name="back" type="submit" id="back"
value="Back">
</form>
<?php } // Show if recordset empty ?>
<p> </p>
<p> </p> <p>
</p></td>
</tr>
Boo-oo-hh!
It's enough for now
Please can someone give me advices about what is wrong with
the nonworking
(I deleted the section 3 from nonworking but it anyway
doesn't work)
AndreTa wrote:
> Oh, sorry!
>
> additional information - working with DW8.0.2, PHP
5.1.6, and with the
> "blog" database with MySQL 4.1.14
> (have also MySQL 5.0 - havn't tried with this... I'll do
it after sweet
> dreams and hard workday i.e. tomorrow)
> In local PC WinXP, Apache 2.2.3
>
> andreta
>
> -
Server Behaviors Crashing Browsers
I'm trying to create a User Login page but my browsers (IE,
Firefox, Opera) crash every time I try to preview after I've added
the "Log In User". It's not limited to Log In User either but I
figure the solution is common.
The Error says the Apache server has encountered a problem
and needs to close.
If I take the login server behavior out then it displays in
all the browsers.
I've attached the code below for the very basic login.php
page (the very mininimum that crashes the browsers)
Can someone please help?
Thanks
DaveDoes the code I provided look wrong to anyone that it should
crash a browser or should I look elsewhere for the problem?
Thanks
Dave -
Creating Login Pages - Server Behavior Issues
Hello,
I been trying to find a solution to this problem for this
past week.
I'm having issues with creating a login page. First, I get
the page created with a username text box, password text box, save
username checkbox, etc. Next, I add the server behavior for 'User
Auth' - 'Login User'. Now..here's the problem. When I complete
that, I get this error (SEE BELOW). Somehow the server behavior
duplicates. I can't go on until I make one of them unique from the
other. I tried every which way to delete it, but I can't. Any
suggestions?
SERVER BEHAVIOR ERROR
"The server behavior panel cannot determine whether "Log In
User" or "Log In User" is applied to your page. Please select Edit
Server Behaviors and change one of the 2 behaviors to ensure that
each is uniquely identifiable."
NOTE: By using the "-" sign above the panel, I can't remove
the duplicate.
Also, when I create a login page, I do need to insert a form
first("form1") and then place the username, password, checkbox
inside that "form1" form I just created, correct?
Thanks for all your help!
CraigGD WebDev wrote:
> Hi,
>
> I have set-up up a database based upon username,
password and security access
> level, the access level contains 3 types of groups.
group 1, group 2 and group
> 3.
>
> I've used the dreamweaver login user server behavior.
Looking at this it only
> allows you to go to one succeed page.
> Because i have got three user access levels, i'm looking
for it to send each
> set of users from each access level to three different
succeed pages.
> In other words, group 1 is sent to one succeed page,
group 2 is sent to a
> different and group 3 to another.
>
> Is there away of doing this?
>
You could do a redirect on the page that they do land on once
succeeded.
My personal preference would be to make one page, and only
show the user
groups parts of the page that they are allowed to see.
Steve -
"New Server Behavior ... " problems
I am trying to apply the "New Server Behavior ..." feature of
Dreamweaver 8 found under the Add Server Behavior tab. If I use a
variable and apply a Display As option set to Recordset Menu or
anything like that, I get an error message, "Error with 'Recordset
Menu' control: unable to locate required 'RecordsetMenu' control".
Trying to set the Display As option to Connection Table Menu gives
a similar, "Error with 'Connection table menu' control: unable to
locate required 'Connection menu' control".
Here is how you reproduce the problem.
Create a site using the MySQL-PHP server model.
Create a dynamic-PHP page using New from menu or Ctrl-N and
save it. Create a MySQL database connection.
Create a recordset from the Bindings tab. Use all the fields
from some table.
Under the Server Behaviors tab, Click the + sign to add "New
Server Behavior ..." Choose Document Type "PHP MySQL", give the
Server Behavior a name and click OK.
Click the + button to add a Code Block and click OK to insert
it into the window.
In the "Code Block:" windows replace the code block with
"<?php echo ?>" Add a space after echo and select "Insert
Parameter in Code Block". This should leave you with "<?php echo
@@Param1@@?>". Disregard the Insert Code options.
Click "Next...". The "Generate Behavior Dialog Box" comes up,
select the TextField in the dialog box window. An arrow suggesting
a menu should appear. Select "Recordset Field Menu" or any of the
Recordset options. Choosing a "Dynamic Text Field" may not generate
an error. Connection Table Menu or any of the Connection options
also generates an error. Try those too. Click OK to close the
Dialog Box. Save your php page.
The name you gave your Server Behavior after "Choose Document
Type ..." will now appear in the Server Behavior menu when you
click + in the Server Behaviors tab. With your php page having
focus, select your Server Behavior from the + menu and you should
get an error,
"Error with '<My Server Behavior Type>' control: unable
to locate required '<control type>' control"
Click OK, and you should see a menu come up for your behavior
with a blank menu.horsethiefbasin wrote:
> I know how to open a link in a new browser window by
going to the Behaviors
> panel. The site I'm working on is using PHP, so instead
of a Behaviors panel
> all it shows is a "Server Behaviors" panel. Under the
"Server Behaviors" there
> is't an option to open a link in a new browser window.
Should I be looking
> someplace different or is there another way to add this
function to a link?
>
> Thanks in advance for any help!
>
Makes no difference whether youre working on a php site or an
ordinary
htm site you still open a new browser window in exactly the
same way.
windows>behaviours>open browser window -
Server Behavior Login Permissions
Hi,
I have set-up up a database based upon username, password and
security access level, the access level contains 3 types of groups.
group 1, group 2 and group 3.
I've used the dreamweaver login user server behavior. Looking
at this it only allows you to go to one succeed page.
Because i have got three user access levels, i'm looking for
it to send each set of users from each access level to three
different succeed pages.
In other words, group 1 is sent to one succeed page, group 2
is sent to a different and group 3 to another.
Is there away of doing this?GD WebDev wrote:
> Hi,
>
> I have set-up up a database based upon username,
password and security access
> level, the access level contains 3 types of groups.
group 1, group 2 and group
> 3.
>
> I've used the dreamweaver login user server behavior.
Looking at this it only
> allows you to go to one succeed page.
> Because i have got three user access levels, i'm looking
for it to send each
> set of users from each access level to three different
succeed pages.
> In other words, group 1 is sent to one succeed page,
group 2 is sent to a
> different and group 3 to another.
>
> Is there away of doing this?
>
You could do a redirect on the page that they do land on once
succeeded.
My personal preference would be to make one page, and only
show the user
groups parts of the page that they are allowed to see.
Steve -
Problems with PHP and MySQLi server behaviors
Hi,
I'm a graphic and Web-designer with some knowledge of PHP and MySQL and I've been using Dreaweaver since very early ages in creating dynamic web projects and use the Bindings and Server behaviors quite a lot. But recently PHP has deprecated MySQL_connect since 2012 and it seems Dreamweaver isnt suporting the alternative MYSQLi server behaviors which will be the future of accessing Databases in MySQL along side with other options. Without this feature Dreamweaver is not of any use to us web-designers, since there are many Free great Editing software out there... Is the Dreamweaver team solving this problem? Or are you really planning on dropping this software? I've been using CS5.5 for a while and was planning on updating but this is a key feature and without it its not worth the investment.
Kind regards.
Eddyheduino wrote:
Hi,
I'm a graphic and Web-designer with some knowledge of PHP and MySQL and I've been using Dreaweaver since very early ages in creating dynamic web projects and use the Bindings and Server behaviors quite a lot. But recently PHP has deprecated MySQL_connect since 2012 and it seems Dreamweaver isnt suporting the alternative MYSQLi server behaviors which will be the future of accessing Databases in MySQL along side with other options. Without this feature Dreamweaver is not of any use to us web-designers, since there are many Free great Editing software out there... Is the Dreamweaver team solving this problem? Or are you really planning on dropping this software? I've been using CS5.5 for a while and was planning on updating but this is a key feature and without it its not worth the investment.
Kind regards.
Eddy
There are no plans that I know of to introduce a new set of mysqli server behaviours into DW from Adobe. They have left that to thrid party developers to bring out extensions which replace them.
What the server behaviours could do was very limiting anyway so I suspect any replacement mysqli behaviours would also be very limiting. I personally jumped into thre code and started to write my own mysqli connection files and query strings by watching a few simple tutorials on youtube - it isnt that difficult.
Look for 'php academy' on youtube - they have about 9 simple to follow tutorials on getting started with mysqli. -
Cannot Edit Duplicate Server Behaviors (bugged?)
Okay, here's a problem:
I've got a user login page with two different forms on it -
one to log in new users, and one to log in existing users. I
applied a "log in user" server behavior to each of them. Now both
of these server behaviors are showing up under the Server Behaviors
menu with the exact same name: "Log In User". When I try to save
this file I get the following error:
The Server Behavior panel cannot determine whether "Log In
User" or "Log In User" is applied to your page. Please select the
Edit Server Behaviors and change one of the two behaviors to ensure
that each is uniquely identifiable.
Clicking on each of them points to the same block of code
(which logs in the existing user). I cannot delete them using the
minus sign. When I click on the plus sign and select "Edit Server
Behaviors" it shows me two other custom behaviors that I'd already
downloaded (and used on another page) but doesn't show me the "Log
In User" behavior at all.
Is there any way to edit these behaviors? Change the name of
one of them? Right now my page is working perfectly and I wouldn't
mind the error except for the fact that this page is based on a
template. Any template changes I make are not updating to this
page. . . perhaps there's a preference I could change that would
allow template changes even if an error is encountered?
Any help is appreciated. Thanks in advance!Sylvain; thank you for the reply. No, this issue impacts entries other than automount as well.
So far I have observed this with entries consisting of :
1) top/posixaccount/organizationalPerson/person/inetOrgPerson,
2) top/groupofuniquenames/posixgroup
3) top/iphost/nsHost
4) top/nisNetgroup
I have double/triple checked the schema and any log files as well to no avail.
I have opened SR 3-10281206831 related to this issue. -
Export/import login server and user grup security
Hi,
I followed the instructions to export Login server, user group
security using the ssoexp.csh, secexp.csh. Then I imported the
login server, and user group security using the ssoimp.csh,
secimp.csh .
I then logged into Portal and check the users, all the users are
imported properly. However, I didn't see any group that are
supposed to be imported. Do I missing anything?
The syntax to run the secimp is as follows:
secimp.csh -s portal30 -p portal30 -o portal30 -m reuse -d
sec.dmp -c target_database
The import finished w/o error. How can I see the groups in the
new portal instance that I tried to import objects in?
I noticed that the wwsec_group$ in the source area is over 3000,
and in the target the count is only 10, which is the number of
group I have before the import. But during the export, I don't
see the wwsec_group$ table being exported, is that the problem?
P.S. versions are: 9iAS 1.0.2, portal version 3.0.9.8 on solaris.
Thanks;
Kelly.This question is best suited to the Oracle9iAS SSO and Portal Security forum.
Thanks -
Loadjava error while installing Login Server
Hello,
I am having some difficulty installnig the login server. The log shows an error
in the linstall.cmd where the script is trying to load the SSOHash class.
The error message says that the user does not
have privileges to add a class to a restricted package.
Due to this error, subesquent pkgs are invalid.
Please helpFixed it by reinstalling JVM as follows:
To install the required Java classes, perform the following commands:
1. Connect as SYS User.
2. Run %ORACLE_HOME/javavm/plsql/jlib/initjvm.sql
3. Run %ORACLE_HOME/rdbms/admin/initplsj.sql
4. Rerun Oracle Portal 3.0 Configuration Assistant
Eveything works now.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Seni Williams ([email protected]):
I have the same problem. Platform is Windows 2000 Professional, Oracle db EE 8.1.7. Oracle 9iAS 9.0.2.
Tks<HR></BLOCKQUOTE>
null -
I've successfully implemented the upload file server behavior. The file uploads, it is in the directory, if I delete the record through DW it also deletes the file in the directory so I know DW knows where the file is stored.
My problem is with the download file server behavior, I can't seem to configure it to make it work. It seems rather straight forward. My dynamic display list displays the records (rows) with the file names but they do not show as links, I cannot click on them. When I apply the download behavior, I see a generated "download" word added next to the display field on the page but this disappears when the page is actually displayed in a browser.
Any ideas?please provide us a complete vision of your script or what ever your are doing.
because you miss many things in your question such as what comes before this error or after it... thank you -
Server Side Includes with Server Behaviors
Is it possible to include pages that have server behaviors attached to them, or are these behaviors limited to pulling in just plain html from the included pages?
For example, I want two pages, index.php and login.php.
I want the login.php page to have all of the user login behaviors/links/fields/buttons/etc. and then Include that on the index.php page. Am I supposed to be able to do this using ADDT server side includes?
I've been successful using server side includes to include static text on a page, but not dynamic content with behaviors attached. I'm not sure if I'm just have a mistake, or if this won't work in the first place.
thanks!Hi,
this is generally possible, as the included files sure can have their own server hehaviours -- did that several times, where the "container" page had about no server behaviours embedded, but the included file did.
ADDT´s server side includes will, loosely said, basically just "dynamically" strip the included document´s "head", but leave other components like server behaviours untouched
Cheers,
Günter Schenk
Adobe Community Expert, Dreamweaver
Maybe you are looking for
-
Print Date located in Special Fields In Field Explorer
Post Author: sher CA Forum: General The "print date" on my report displays the first date I ran the report which was 6/11/07. This date should display the system date/current date. Do you know why this is happening in my report?
-
Alright, Im sure I must be doing something really stupid becuase when I first got my micro I was able to use the JB3 drivers, plug in the micro, and have access to the content on the device. I know that if I install media source it works but I wan't
-
please help me find these pictures!!
-
When printing webpages from a website on Firefox the top two lines of pages 2, 3, 4, etc are cut off. I printed the same website article on Safari and have no problem. I also checked out Word documents of more than one page and found no problems with
-
Stopping photos getting keyword RAW
Hi, iphoto 08 is automatically putting the keyword RAW by all my photos as I shot in raw, is there a way to stop it doing it?