Eric Malalel
Forum Replies Created
-
Forum: Plugins
In reply to: [External Database Authentication Reloaded] multisite supportI discovered there is a log file and digging into it I found this:
PHP Fatal error: Uncaught exception ‘Exception’ with message ‘could not find driver’ in C:\inetpub\www.mydomain.com\wp-content\plugins\external-db-auth-reloaded\medoo.php
What change do I need to do to my PHP configuration?Forum: Plugins
In reply to: [External Database Authentication Reloaded] multisite supportI have installed the plugin and it sounds like it does what I want as I can set different settings for each site of my multisite install.
SO I decided to test on one site, set up all the parameters, but when I try to login, I get a HTTP 500 error.
I am quite sure of my MySQL settings. Do I need to install something specific? activate a PHP extension?Forum: Plugins
In reply to: [User Role Editor] users are not able to delete published mediaThanks, it works perfectly. Thanks for your plugin and support.
Forum: Networking WordPress
In reply to: permalinks work on pages not on postsOops, corrected, and everything works fine, thanks.
But I am surprised it was working for pages and not posts.Forum: Fixing WordPress
In reply to: How to create a WP user from a Java Web applicationThanks for all these valuable informations.
We should be able to go further now, either through XML RPC or “home made” http api.Forum: Networking WordPress
In reply to: permalinks work on pages not on postsTo be more precise, /%post_name%/ is not substituted to its real value, so, from the admin panel:
When I create a new post and display it, the URL is https://mydomain.com/%post_name%/ and I get a 404 error.
When I display an existing post, the URL also is https://mydomain.com/%post_name%/ and I get a 404 error.
I run my WP on IIS with URL rewriting and here is my httpd.conf:
RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] RewriteRule . index.php [L]
Forum: Fixing WordPress
In reply to: How to create a WP user from a Java Web applicationSeems the API only works within the WP site.
I tried this code:<?php // Include WordPress define('WP_USE_THEMES', false); require('c:\wordpress\wp-load.php'); wp_list_authors('show_fullname=1&optioncount=1&orderby=post_count&order=DESC&number=3'); ?>
It only works when I put it inside the WP directory.
Forum: Fixing WordPress
In reply to: How to create a WP user from a Java Web applicationI agree with you, it would be a kind of custom http api.
The point is we are not php expert, and for the moment we do not understand how your code works and how we should extend it to support other API methods.
We feel more confident to write more basic php codes which will use the standard API, and therefore allow us to use all API features.
For instance, we would like to write a PHP page which does the job, such as insert, update, delete WP users from a CSV file, using the WP API. This page would be hosted outside of WP, on localhost web site, and it would be called from the Java app using the Apache HTTP components.
Is this possible? Can we use the standard API from an external PHP application? Or am I totally wrong and I do need the XMLRPJ or JSON api?
Forum: Fixing WordPress
In reply to: How to create a WP user from a Java Web applicationThanks for your feedback. The XML-RPC API lacks many of the features of the WP API, and as you mention it is not possible to insert users.
As I may need other features which also are not in the XML-RPC API, I would like to try another approach.
The Java web application runs on the server and can use the Apache HTTP components (https://hc.apache.org/).
With these components, the Java web app can launch URL of PHP pages, which in turn can use all the features of the WP API, such as inserting users.
The PHP page would send back a page with only a status code (0 for KO, any other value for any error), so the Java web application would know what happens with the PHP page.
To secure this, the PHP pages would check first they are called from domain “localhost”.
What do you think of this approach?right, I was making some test and removed the plugin. Now it’s back again.
I use ‘LeanBiz’, a theme from Elegant Themes. There is no ‘search.php’, but there is a ‘page-search.php’. I will investigate this file and also contact Elegant Theme for support.
Beside this ‘page-search.php’, is there another files to investigate?
I have made a french translation of your widget using POedit, how can I send the po/mo files to you?