VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: eliotrayner on March 11, 2022, 17:29:02 PM

Title: PHP Developer Mode - Configuration
Post by: eliotrayner on March 11, 2022, 17:29:02 PM
Hi Guys

Joomla 3.9.24
VM 3.8.4

I turned on PHP Developer Mode by mistake on live site, now I cannot access virtuemart in Joomla or the Global Configuration and cache.

How can I 'manually' turn it off again? if I cannot access the admin page?

thanks
Eliot
Title: Re: PHP Developer Mode - Configuration
Post by: eliotrayner on March 11, 2022, 17:51:52 PM
Ok,

As I couldn't access Virtuemart configuration in backend, I found I can revert back by directly updating #_virtuemart_configs table in database.

I updated the relevant part of the config field in the table as follows

|debug_enable="admin"|vmdev="admin"|

to

|debug_enable="none"|vmdev="none"|

Hope that helps someone else
Title: Re: PHP Developer Mode - Configuration
Post by: Jumbo! on March 14, 2022, 09:07:32 AM
Disable GZIP compression in your server settings. Then you should be able to visit the pages and the errors messages you can not view after enabling PHP debug.

You should check the error messages and fix them.
Title: Re: PHP Developer Mode - Configuration
Post by: eliotrayner on March 15, 2022, 12:25:33 PM
Thanks Jumbo