Forum Replies Created

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter escozul

    (@escozul)

    Love it!

    Much better. Didn’t notice that my function would not work if queries were added to the url (weird… I used strpos… AAAnyway)

    please be carefull with your single quotes. They seem non-standard. Had to change them to avoid errors.

    In any case, I hope this fix is indeed here for just a couple of days and the guys at papaki will fix the thing for us.

    Thread Starter escozul

    (@escozul)

    Hello,
    just a quick update.
    I had to go into the plugin code on line 151 and replace it with the following:

    if (!isset($_SERVER[‘REQUEST_URI’]) || false === strpos($_SERVER[‘REQUEST_URI’], ‘wp-admin/profile.php’)) {

    ? ? ? ? add_filter( ‘woocommerce_customer_meta_fields’ , [$this, ‘add_woocommerce_customer_meta_fields’]);

    }

    It’s a temporary fix that brought back control of my users. I look forward for a more permanent fix.

    Thank you.

    Θ?λω να επιβεβαι?σω τα λεγ?μενα του @tasosgv.

    ?τσι ακριβ?? ε?ναι το πρ?βλημα. Και σε μα? ?ρχισε να εμφαν?ζεται απ? σ?μερα και η συμπεριφορ? ε?ναι ακριβ?? ?τσι. Μ?νο το success δεν λειτουργε?. Σημειωτ?ον, το plugin λειτουργο?σε για χρ?νια στον ιστ?τοπο και “?σκασε” σ?μερα με τα συμπτ?ματα που αναφ?ρουν ?λοι οι προηγο?μενοι.

    Thread Starter escozul

    (@escozul)

    The issue is solved now

    Better image here:
    https://i.imgur.com/o6GYlpk.jpg

    • This reply was modified 2 years, 6 months ago by escozul.
    Thread Starter escozul

    (@escozul)

    People over on Discord were really helpful. I figured it out and the issue was basicaly about the Cookies being blocked

    You see There was an issue with the cookies not being saved. WordPress site could not log people in.
    That usually a blank space left before <?php in a file somewhere. The thing is that I checked that. I went through all files (especially functions.php) and there was no blank space…
    But updraft plus created a warning saying that there was a Byte order mark on functions.php. It insisted. Which was weird. I was thinking “cmon man… I checked. There is no BOM”. However The page in wp-login.php was giving the exact error.
    So I decided to try something. Pointed the DNS to the new installation again that was not working, and opened functions.php
    Then I copied the whole contents, created a new file and pasted as simple text
    Saved… file was 3 bytes smaller…
    I was like “no way it’s that…” (επεξεργασμ?νο)
    It was…
    Site is now working again, cookies, wp-admin and all
    So updraft helped, but not by making a backup. That would only transfer the problem and still face the same issue.
    It helped when it insisted that there was a BOM on functions.php.
    Even though I had checked that, It moved me to do that copy paste thing that I would not normally do.

    So thanks to all. I wanted to post the solution cause someone might come against the same situation. No reason to pull you hair out over this.

    I’m adding an image of a side-to-side comparison of the old functions.php with the bom and the one I fixed. That’s the reason I could not spot it.

    https://i.imgur.com/qAMYsUF.jpg

    Thread Starter escozul

    (@escozul)

    I’ve got more info. trying to access wp-login on the website takes me to the admin login page. (wp-admin is still wsod)

    But on that page I see this error:

    Error: Cookies are blocked due to unexpected output.

    check it out:
    https://www.bizman.gr/wp-login.php

    all login attempts redirect to this page. Login is impossible. Adding items to cart is also impossible. Cookies are not being saved…

    Thread Starter escozul

    (@escozul)

    Ευχαριστ?

    Thread Starter escozul

    (@escozul)

    Hello,

    No, I was unable to resolve the issue. However, the customer needed to get the website live and I disabled the plugin and used .htaccess to do a 301 redirect to the page. You can see however that the URL of the page is not https://herbariumcontravirus.com. It changes to a relative URL to my original website.

    Right now I’m trying to either figure out how to make the plugin work properly or how to make the htaccess redirect mask the URL. Either solution will work at this point.

    Thread Starter escozul

    (@escozul)

    Ok figured out what the issue was.
    I did look in there and saw that I could select Product categories but no categories were available for me to select.

    Being a work in progress we have erased all demo products and wait for the data of the products to arrive. Meanwhile, we work on an site with empty product categories. There seems to be an issue detecting empty product categories. Creating just one product in each category makes it available again!

    It’s not a big step back. We can cope. Although I believe that this restriction should be lifted.

    Thread Starter escozul

    (@escozul)

    I’ve sent you an email at the info email found on your website eboxnet

    Thank you

    Thread Starter escozul

    (@escozul)

    Hello,

    Do you have any update on that issue?

    Did you have time to look into it?

    Thank you in advance.

    Thread Starter escozul

    (@escozul)

    Hello,

    Thank you for the reply!
    Um today? who said anything about today? Next week will work fine!

    Truth is I’m not sure there is an alternative (at least none that I’m aware of) so I think I will wait for you to return.

    Thank you for the help and appreciate all the help.

    When you get the time to prepare the custom version, please point me to the documentation that describes how to make the relative products to be produced based on an attribute. I seem to be missing that.

    I suppose that what is unclear is how to get related products by a specific attribute and at the same time discard results that come from specific categories (eg the same category as the product)

    Here’s a scenario:
    I have an eshop selling cameras and camera accessories. I want the related products that appear on a camera page to include only lenses with a compatible mount. But I do not want the related products to display camera bodies; Only lenses.

    So this could be done by displaying related products by attribute (lens mount) but excluding results in the camera bodies category.

    So how is that possible? If at all of course.

    Hello, It would be great if we could get the version 1.0.2 for that! ?? at the moment the plugin does not allow the selection of installments before the redirection to the Bank’s paycenter.

    Do you plan to implement that. I would be thankful if you could.

    Thanx in advance.

Viewing 14 replies - 1 through 14 (of 14 total)