Forum Replies Created

Viewing 10 posts - 281 through 290 (of 6,341 total)
  • Author
    Posts
  • You must have valid license to access this content.
    You must have valid license to access this content.
    in reply to: Checkbox and Radio Image #28278
    You must have valid license to access this content.
    in reply to: The cart is always empty #28277

    Hi

    I have replied to you via Email, and sent you the EDD official answer, have you fixed the issue?

    in reply to: Add book intro in different language in homepage (coverbook) #28178
    You must have valid license to access this content.
    in reply to: Mofect Mobile APP would like to connect to your store #28176

    Hi

    Please upgrade Mofect Mobile plugin via the backend > Plugins, or download the latest version here: https://www.dropbox.com/s/6ngmwiuy00wnyty/mofect-mobile.zip?dl=0

    I think this issue will be fixed.

    Sorry for this bug.

    Thanks

    in reply to: Prevent CORB from Localhost? #28175

    Have you tried the method I mentioned above? Add the following codes to functions.php of your theme

    function add_cors_http_header(){
    header("Access-Control-Allow-Origin: *");
    header('Access-Control-Allow-Methods: GET, POST, PATCH, PUT, DELETE, OPTIONS, READ');
    header('Access-Control-Allow-Headers: Origin, Content-Type, X-Auth-Token,authorization,XMLHttpRequest, user-agent, accept');
    header("Access-Control-Allow-Credentials: true");
    if ( 'OPTIONS' == $_SERVER['REQUEST_METHOD'] ) {
        status_header(200);
        exit();
    }
    

    Also, the latest version of App is v1.1.2, so if possible, you can download it to use.

    You don’t need to install WordPress on localhost. In most cases, this kind of issue is the server-side configuration, but I’m not sure the bluehost web hosting configuration, because I use VPS. Anyway, you can try the method above.

    Of course, if possible, you can install a wordpress on your localhost with local SSL, then connect it to App, check if the login feature is working or not.

    Thanks

    in reply to: Prevent CORB from Localhost? #28158

    It’s hard to know what’s wrong with your local development environment and how is the configuration of your web hosting, because I can’t reproduce this issue on my localhost.

    You can give a test once again, add the following codes to functions.php of your theme.

    function add_cors_http_header(){
    header("Access-Control-Allow-Origin: *");
    header('Access-Control-Allow-Methods: GET, POST, PATCH, PUT, DELETE, OPTIONS, READ');
    header('Access-Control-Allow-Headers: Origin, Content-Type, X-Auth-Token,authorization,XMLHttpRequest, user-agent, accept');
    header("Access-Control-Allow-Credentials: true");
    
    if ( 'OPTIONS' == $_SERVER['REQUEST_METHOD'] ) {
        status_header(200);
        exit();
    }

    If still doesn’t work, just change

    header("Access-Control-Allow-Origin: *");

    to

    header("Access-Control-Allow-Origin: http://localhost:8100");

    Remember replace the port of http://localhost:8100 to yours.

    By the way, is your wordpress installed on the web hosting or also on the local environment? What’s the version of Mostore you use?

    in reply to: Prevent CORB from Localhost? #28116

    No special instruction, sometimes, it’s the server-side issue, but I’m not sure.
    You can give a test:

    Edit the Mofect Mobile plugin file ( inc/api/wp_login.php ), find “return $respond;”, change to

    header('Access-Control-Allow-Origin: *');
    header('Content-Type: application/json');
    return $respond;
    

    Please let me know the result.

    Thanks

    in reply to: Prevent CORB from Localhost? #28104

    Hi

    You can give this extension a test for local development environment
    https://chrome.google.com/webstore/detail/moesif-orign-cors-changer/digfbfaphojjndkpccljibejjbppifbc/related?hl=en

    Thanks

Viewing 10 posts - 281 through 290 (of 6,341 total)