This Question is Resolved.

If you have a similiar issue that this thread does not address, click the button below to open a new related support topic.

 
1 of 2
1
Captcha directory still being stripped of slashes
Posted: 16 December 2007 04:42 PM   [ Ignore ]  
Lab Assistant
RankRank
Total Posts:  189
Joined  02-15-2005

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/

Profile
 
 
Posted: 16 December 2007 05:07 PM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15846
Joined  06-03-2002

What version and build are you running, VodkaFish?

 Signature 
Profile
MSG
 
 
Posted: 16 December 2007 05:52 PM   [ Ignore ]   [ # 2 ]  
Lab Assistant
RankRank
Total Posts:  189
Joined  02-15-2005

Whoops, forgot to mention:
EE 1.6.1
20071204

Profile
 
 
Posted: 16 December 2007 05:59 PM   [ Ignore ]   [ # 3 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15846
Joined  06-03-2002

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.

 Signature 
Profile
MSG
 
 
Posted: 16 December 2007 07:05 PM   [ Ignore ]   [ # 4 ]  
Lab Assistant
RankRank
Total Posts:  189
Joined  02-15-2005

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.

Profile
 
 
Posted: 16 December 2007 07:07 PM   [ Ignore ]   [ # 5 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15846
Joined  06-03-2002

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.

 Signature 
Profile
MSG
 
 
Posted: 18 January 2008 10:22 PM   [ Ignore ]   [ # 6 ]  
Lab Assistant
RankRank
Total Posts:  189
Joined  02-15-2005

EE version still the same:
Admin ›  System Preferences ›  General Configuration
Made a change, saved, and the slashes were stripped.

Note: I am using Windows/IIS.

Profile
 
 
Posted: 19 January 2008 09:24 AM   [ Ignore ]   [ # 7 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15846
Joined  06-03-2002

Hm, and it happens every time you save your General Configuration preferences, and the only path that it loses is the CAPTCHA?

 Signature 
Profile
MSG
 
 
Posted: 19 January 2008 10:08 AM   [ Ignore ]   [ # 8 ]  
Lab Assistant
RankRank
Total Posts:  189
Joined  02-15-2005

Yup.  I tried it a few times.

The only path I noticed it losing was the CAPTCHA; I mention the Windows/IIS setup due to the back slashes.

Profile
 
 
Posted: 19 January 2008 10:51 AM   [ Ignore ]   [ # 9 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15846
Joined  06-03-2002

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.

 Signature 
Profile
MSG
 
 
Posted: 19 January 2008 12:02 PM   [ Ignore ]   [ # 10 ]  
Lab Assistant
RankRank
Total Posts:  189
Joined  02-15-2005

Followed all steps successfully and I can still re-create the error.

Profile
 
 
Posted: 19 January 2008 12:30 PM   [ Ignore ]   [ # 11 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15846
Joined  06-03-2002

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?

 Signature 
Profile
MSG
 
 
Posted: 19 January 2008 08:51 PM   [ Ignore ]   [ # 12 ]  
Lab Assistant
RankRank
Total Posts:  189
Joined  02-15-2005

It’s ok, I just want to figure out if it’s my installation or something, somewhere that could be tweaked for all installs.

I have a second installation that I’ve been planning on upgrading.  It’s a similar server setup.  I’ll test that and let you know how that goes.

The CAPTCHA is the only full server path I’ve seen.

Profile
 
 
Posted: 22 January 2008 01:20 PM   [ Ignore ]   [ # 13 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15846
Joined  06-03-2002

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)

 Signature 
Profile
MSG
 
 
Posted: 15 June 2008 07:44 PM   [ Ignore ]   [ # 14 ]  
Lab Assistant
RankRank
Total Posts:  189
Joined  02-15-2005

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.

Profile
 
 
Posted: 20 June 2008 10:40 AM   [ Ignore ]   [ # 15 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32911
Joined  05-14-2004

Sorry about the delay on this. Are you still on Windows/IIS?

 Signature 
Profile
MSG
 
 
Posted: 20 June 2008 12:47 PM   [ Ignore ]   [ # 16 ]  
Lab Assistant
RankRank
Total Posts:  189
Joined  02-15-2005

Yes, same setup.

Profile
 
 
Posted: 20 June 2008 12:48 PM   [ Ignore ]   [ # 17 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  582
Joined  04-29-2008

I’m looking into this as I type this. I will keep you updated.

Profile
 
 
Posted: 25 June 2008 03:44 PM   [ Ignore ]   [ # 18 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  582
Joined  04-29-2008

Greetings VodkaFish,

Are you still experiencing the CAPTCHA path issue? If so, can you email (not PM) details to me:

- URL to this thread
- URL to your control panel
- Superadmin ID and password
- Step-by-step instructions to re-create the issue

Thank you!

Profile
 
 
 

This Question is Resolved.

If you have a similiar issue that this thread does not address, click the button below to open a new related support topic.

 
1 of 2
1
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 65032 Total Logged-in Users: 26
Total Topics: 82119 Total Anonymous Users: 15
Total Replies: 441333 Total Guests: 208
Total Posts: 523452    
Members ( View Memberlist )
Newest Members:  d_ananksreekanthcfvicdreamNOIRgmonCooperWrightReedsmeenoiYang.Jianuoioitsuki