koubin Posted July 22, 2019 Share Posted July 22, 2019 Hi guys, My hosting provider does have the putenv disabled, so I am not able to get to the backoffice with the same error messages as here (https://www.prestashop.com/forums/topic/956135-modules-tab-disable/) when the debug is enabled. I have this issue on the new installation (1.7.5.2). Also tried 1.7.5.0 and 1.7.6.0 with the same result. The website is here http://horizonshk.cz.webx4.d2.cz/horizonshkadmin/ What is strange is that I am able to get to backoffice on previous prestashop installation on the same hosting with the same php setup: http://ekosatna.cz/radminka2/ The hosting provider did not give me an answer why the first eshop works. Just told me they can't enable putenv and there might be a workaround through .htaccess, but they don't know how to do that. Thank you for any help. Link to comment Share on other sites More sharing options...
musicmaster Posted July 25, 2019 Share Posted July 25, 2019 A lot of relevant information is missing in your post. Somewhere with 1.7.2.5 or 1.7.3 Prestashop switched from Symfony 2.8 to 3.4 and the latter version uses lots of putenv's. Link to comment Share on other sites More sharing options...
koubin Posted July 31, 2019 Author Share Posted July 31, 2019 On 7/25/2019 at 4:16 PM, musicmaster said: A lot of relevant information is missing in your post. Somewhere with 1.7.2.5 or 1.7.3 Prestashop switched from Symfony 2.8 to 3.4 and the latter version uses lots of putenv's. Thanks for your reply musicmaster. Which additional info do you miss? I am looking for workaround for putenv through htaccess if there is not any other way how to make Prestashop work on hosting with disabled putenv. Thank you Link to comment Share on other sites More sharing options...
koubin Posted September 15, 2019 Author Share Posted September 15, 2019 Somehow I made it work probably by commenting the line with "Options Multiviews" in htaccess as my provider suggested. Maybe it will help somebody. Link to comment Share on other sites More sharing options...
tuk66 Posted September 16, 2019 Share Posted September 16, 2019 Simply put @ before any putenv command in the /vendor directory. Search for them in prestashop.zip of your version. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now