Jump to content
Server Maintenance This Week. ×

Login to Wordpress using Web Assistant fails


This topic is 5087 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I've got a demo version of the Web Assistant and am trying to use this to login to a Wordpress blog - (this is a Wordpress.org 2.9 setup running on my own VPS)

A straighforward WAgetURL returns the expected login form in the result field

When I use a modified example of the "Submit Form Data" in the examples file, using six WAsetInput requests to give the form inputs, the Result field remains completely empty. I've added the recommended error checking and still get a null result.

Let ( setup = WAReset and

WASetInputValue( "log" ; "administrator" ) and

WASetInputValue( "pwd" ; "xxxxxxx" ) and

WASetInputValue( "rememberme" ; "forever" ) and

WASetInputValue( "wp-submit" ; "Log In" ) and

WASetInputValue( "redirect_to" ; "http://awcc.org.uk/wp-admin/" ) and

WASetInputValue( "testcookie" ; "1" )

;

if (setup ; // only get the url if setup went smoothly!

WAGetURL( "http://awcc.org.uk/wp-admin/" ) ;

WALastError // otherwise, return the error

)

)

snip>

Any suggestions as to what is causing the null result?

Thanks

Brian

Link to comment
Share on other sites

Thanks Peter

I don't want to access the Wordpress mySQL database directly from Filemaker (although I know it works). I want to login to Wordpress and manage users via the dashboard interface, hence the use of WebAssistant - if I can get it working.

Brian

Link to comment
Share on other sites

I noticed that the URL you are using is not the correct one for logging in. http://awcc.org.uk/wp-admin/ is redirecting you to a login page at http://awcc.org.uk/wp-login.php, which is where the form is that you want to fill out.

Can you please post or send me your plugin log? Logs can be found at:

FileMaker Client

OS X

/Users/userName/Library/Logs/360Plugin Logs/

/Users/userName/Library/Logs/360Plugin Logs/360Works FM WPE

/Users/userName/Library/Logs/360Plugin Logs/360Works FM Pro

Windows

DriveLetter:Documents and SettingsMy Documents360Plugin Logs

DriveLetter:Documents and SettingsAll UsersDocuments360Works FM Pro

DriveLetter:Documents and SettingsAll UsersDocuments360Works FM WPE

Vista: DriveLetter:UsersDocuments360Plugin Logs

--

Edited by Guest
Link to comment
Share on other sites

I've sent you the log files as requested to your support address.

In the meantime, I've made the discovery that the problem of the null return only occurs if your login is successful. If you use the wrong userID and password, you get the error page returned. ??

Not sure what is going on here.

:qwery: Brian

Link to comment
Share on other sites

This topic is 5087 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.