When I make certain changes in my admin area, I lose my captcha directory. Unfortunately I’ve made too many to know where it was, but I thought I’d report it as I think this has been something fixed before, but maybe one instance of it was missed or crept back in.
So:
D:\Websites\mysite\images\captchas\
becomes:
D:Websitesmysiteimagescaptchas/
And after correcting it, through some series of actions, it will break again? No other paths, just the CAPTCHA? I’ll likely need for you to figure out which action(s) specifically create these circumstances, as from a code point of view, nothing’s coming to mind immediately, and I do not have access to a Windows system to test on.
Yes, I’ve had to correct it a few times - but I’ll be more careful of it now, and if it happens once more I’ll try and backtrack so I can spot the action that did it.
The simplest way might be to have one window open with the CAPTCHA settings page, and in another window, progressively go through the admin forms and hit update. No changes to the existing settings are necessary to trigger the preference saving methods. After each form, refresh the CAPTCHA setting window; that way you’ll know right away how it happened.
Right, but the Windows slash issue was cleared up a number of builds ago. And it doesn’t make sense that you’re only losing CAPTCHA. Is it the only preference you are using a full drive/server path?
And try this:
1) Download and update to the latest build release.
2) Open cp.admin.php remotely and remove the opening “<?php” from the file. The intention is to create an error.
3) Access the admin section of your control panel - you should see blank page.
4) Put the <?php back into the file, save, and access the Admin section - should work properly
5) Save your general configuration preferences again.
These steps will eliminate the possibility of out dated files and of PHP file caching mechanisms employed on the server.
Ok, sorry for the inconvenience, VodkaFish. It will not be until Monday that I can do some testing in Windows and figure out what’s going on. In the meantime, can you please answer if CAPTCHA is the only preference you are using a full drive/server path?
Do you have any caching mechanisms installed that you know of in your PHP environment? And are you absolutely sure all of your files are up to date (and not cached by PHP)? I’m not seeing how this is occurring for you after the fix made in 1.6.0.
What is your setting for magic_quotes_gpc? (Admin > Utilities > PHP Info)
I thought this problem went away, but I’m still running into it. I have the multi-site manager and if I make a general config change within a site, that site’s captcha directory is stripped of slashes.
I have no caching mechanisms.
magic_quotes_gpc off
I’m currently using:
1.6.3 Build: 20080421
I can grant access to my files to someone from EllisLab.