Part of the EllisLab Network
pMachine Pro has been replaced by ExpressionEngine, our full featured web publishing solution. Please consider upgrading.
You can download pMachine Pro here: Download pMachine Pro  |  Download Language Packs
   
 
Chaptchas Not Appearing
Posted: 18 January 2005 10:22 PM   [ Ignore ]  
Summer Student
Total Posts:  4
Joined  2003-02-13

I just upgraded to PM Pro 2.4 tonight, and despite spending a few hours on this, I am stuck. “Submit the word you see below:” etc. comes up when a user tries to add a comment, but the image where the chaptcha graphic should be is empty. No graphic files are being created in the chaptchas directory, either.

- I have set the relative path to the chaptchas directory correctly.
- Permissions for the chaptchas directory are set to 777.
- GD 2 is installed (according to my host).

I’ve read the other relevant threads here and nothing therein has helped. Any ideas? Is there some step I am missing?

Profile
 
 
Posted: 18 January 2005 10:42 PM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
RankRankRankRankRank
Total Posts:  2541
Joined  2001-12-21

There are two “captcha” folders.  Make sure the one you are setting to 777 is the one in your “images” folder rather than the one in the folder where you access your control panel.  Also make sure the path you are specifying is to that folder as well.

 Signature 
Profile
 
 
Posted: 19 January 2005 06:56 AM   [ Ignore ]   [ # 2 ]  
Summer Student
Total Posts:  4
Joined  2003-02-13

Yep, it is the Captchas folder in the images directory outside the pm directory. (Out of frustration, I even tried setting both folders to 777. Obviously, it didn’t do anything.) And the path is going to the correct directory.

Also, I forgot to mention I am not using the TrueType font option. I have tried it both with and without, no change. Any other suggestions? Possibilities?

Profile
 
 
Posted: 19 January 2005 10:05 AM   [ Ignore ]   [ # 3 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  9868
Joined  2002-06-19

Do you have debugging turned on?  If not, turn that on and see if you get any errors/messages on the captcha output.

 Signature 

Chris Curtis
chriscurtis.org

Profile
 
 
Posted: 19 January 2005 10:17 AM   [ Ignore ]   [ # 4 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  7534
Joined  2002-08-05

You might also check with your host to make sure you have the GD library installed and available.

 Signature 
Profile
 
 
Posted: 19 January 2005 04:08 PM   [ Ignore ]   [ # 5 ]  
Summer Student
Total Posts:  4
Joined  2003-02-13

I turned debugging on, and this is the error message I recieved:
Warning: imagejpeg(): open_basedir restriction in effect.

So I went looking for information on the host’s Knowledge Base and discovered, apparently, what my host provider lists as the correct relative path is only partly correct. Due to their PHP restrictions, an extra section must be inserted in the home/username/domain/ path they give in their own instructions, such that an individual must use home/.server/username/domain/ to deal with this situation.

So, I changed the relative path to include what I’m assuming is a server name, and now it is working fine.

Thanks for the pointer, Chris!
(I’d forogtten about debugging mode—never had problems with pM before.)

Profile
 
 
Posted: 19 January 2005 06:25 PM   [ Ignore ]   [ # 6 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  7534
Joined  2002-08-05

Wow, weird.  We were wondering if open_basedir might be a problem for some people, since the captchas folder would be at a lower lever than the file creating the captcha, which is why we are using the server path opposed to a relative path.  Thanks for the info.  What host is this?

 Signature 
Profile
 
 
Posted: 19 January 2005 09:21 PM   [ Ignore ]   [ # 7 ]  
Summer Student
Total Posts:  4
Joined  2003-02-13

Paul,

The host I use is Dreamhost. Apparently the path issue was causing similar problems with some Gallery installations (which is how I discovered the fix).

(Tangentially, I should mention that I completely understand the reason for the basedir restriction in their PHP install, and have had nothing but prompt, excellent service with them: I do not want sound like I am complaining about this security measure or their service.)

Profile
 
 
   
 
 
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 233, on December 18, 2007 12:04 AM
Total Registered Members: 64967 Total Logged-in Users: 0
Total Topics: 81989 Total Anonymous Users: 0
Total Replies: 440672 Total Guests: 13
Total Posts: 522661    
Members ( View Memberlist )
Active Members: