-
localconfig issue
I just step on a strange thing that I never saw before having built over 10 websites with contao!
One month after a website completion, this means the website is online and finished,
I see today that the website is messing with wrong path for images and styles.
rendering correctly the content but with a wrong base path pointing to the url of a catalog item.
(website with contao 2.9.1 and catalog.)
I check the localconfig and see there:
$GLOBALS['TL_CONFIG']['websitePath'] = 'url/to/a/catalog/item';
It was not a drunk developper!
Nobody edit the site for weeks and 2 days ago Google cached the site correctly
Can anybody explain me how it could happened. ??????
-
Re: localconfig issue
The Contao log should show any changes made to the localconfig. Does the change appear in the log
-
Re: localconfig issue
I had the same problem with a contao installation.
The mistake was that i had left a local server setup in XAMPP of the website with full FTP username and password in localconfig file. Something went wrong and the local installation was changing files in the real online server!!!!
My online server FTP Log was showing many changes from my own IP(not a hacker) and all these was done by the local contao installation!!!
-
Re: localconfig issue
I may have reacted too late, the log does not show nothing special anymore
Captain: the site was built from the beginning on the production server, so no mistake possible