June 1, 201015 yr 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
June 1, 201015 yr Hi, I think that you need to connect WordPress MySQL and FileMaker databases because WP login is connection to WP MySQL. Web Assistant is for FileMaker database.
June 1, 201015 yr Author 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
June 1, 201015 yr 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 June 1, 201015 yr by Guest
June 2, 201015 yr Author 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
Create an account or sign in to comment