• Resolved Serhii

    (@codenear)


    Hello!
    I had a problem with the plugin, after I made subdirectories like – example.com/eng/ I started to get a 404 page when registering
    I made subdirectories in order to be able to put a standard language for the site.
    I need help!

    Log:2022-11-09 15:20:58.655405 [NOTICE] [26038] [92.91.168.139:57339-Q:2340D76B46A44F54-604#example.com] [STDERR] PHP Warning: is_file(): open_basedir restriction in effect. File(/home/example.com/public_html/wp-login.php/?action=register) is not within the allowed path(s): (/tmp:/home/example.com/) in /home/example.com/public_html/wp-content/plugins/translatepress-multilingual/includes/class-url-converter.php on line 584

    I tried turning off open_basedir, but that didn’t help. If you disable the plugin, then the country is not added to the URL and registration works. Everything is fine without the plugin.

    because of this error, registration does not work for me, it just knocks out a 404 page, authorization works, and a redirect is in progress.
    WordPress version 6.1
    TranslatePress version 2.4.0

    • This topic was modified 1 year, 12 months ago by Serhii.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Serhii

    (@codenear)

    I Use a subdirectory for the default language!

    • This reply was modified 1 year, 11 months ago by Serhii.
    Plugin Author Cristian Antohe

    (@sareiodata)

    Plugin Support Alex

    (@alexcozmoslabs)

    Hi,

    Thank you for contacting us.

    We are not working during weekends. That’s the reason why you didn’t receive a reply until now.

    Regarding your issue, do you mean the registration page doesn’t work as soon you enable the Use a subdirectory for the default language option from TP Settings –> General tab? If so, and if you want to have a front-end login page translated with TranslatePress you can use our content restriction approach and and set a different redirect for each language or o use a front-end login plugin like Profile Builder.

    If that’s not the situation, maybe you can give me more details, and a link to your site also, in order to understand more about your issue and how I can help you.

    • This reply was modified 1 year, 11 months ago by Alex.
    Thread Starter Serhii

    (@codenear)

    “do you mean the registration page doesn’t work as soon you enable the Use a subdirectory for the default language option from TP Settings –> General tab?” – YES!
    Before the plugin update, the site worked correctly, registration was successful.
    After the update, you can only log in and registration gives an error 404

    Thread Starter Serhii

    (@codenear)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error when following a link’ is closed to new replies.