In short, my install doesn’t seem to be working- symptoms are no security graphic and approval feature not working (signup is automatic). Everything else “appears” to be working, as in the block and all looks correct. Tried IE, Firefox, Opera.
This is a new install, site isn’t live yet. I’m fairly certain that I installed approve_membership after the patch but when I noticed it not working, I re-uploaded all the approve_membership supplied files to check. My theme is based on a standard one, but I tried switching to the approve_membership supplied one, Deep Blue. I have not activated the module. I've dug around on this for many hours now to no avail. I wish I could give more details, but I really don’t know where to begin. My guess is it’s related to the patch, but I can’t figure it out.
Input?
As a side note, my Sommaire menu is not working quite right either- don’t know if that could be related, just extra info.
Edit- Not trying to bump, but something just occurred to me. When I signed up for this forum, I entered (chose) a password. But after confirming the email link, that password did not work. I had to use one the system generated and sent me in the mail. Is that how it's supposed to work? I though that was only supposed to happen if the password field was left blank. lol, is your's working?
I also forgot to mention that I have GD Version bundled (2.0.28 compatible) on my account, and analyze.php can correctly display a random security code... hmm I'll print that out and compare it with mine. Maybe I can find it that way.
ltr
austin457 Nuke Soldier
Joined: Mar 01, 2008
Posts: 10
Posted:
Sat Mar 01, 2008 9:45 pm
OK, seems I got a bit confused. I can now narrow down my problem. My security code does not show in the “Site Vistors” block. It is only displaying the alt text. However, viewing the properties of that graphic item on a web page will show that random numbers are being generated on reloading the page. I now have the other areas of the site (such as new user sign up) showing the security code graphic and random numbers.
The code snippets below are where I ‘ve focused. This seems to be where the call is made for what goes onto the Site Visitors block on the page. I’m not a programmer, so I’d appreciate if someone checks it. What I don’t get is that there is no call here for the code_bg graphic. In my entire site, that call is only made from mainfile.php. I have noticed some sites have the code_bg graphic on their Site Visitors block and some don’t. How does this work? Seems like <img src should have code_bg.jpg in it…
Input?
if (extension_loaded("gd") AND ($gfx_chk == 3 OR $gfx_chk == 4 OR $gfx_chk == 6 OR $gfx_chk == 7)) {
echo "<tr><td>"._SECURITYCODE.":</td><td><img src='?gfx=gfx&random_num=$random_num' border='1' alt='"._SECURITYCODE."' title='"._SECURITYCODE."'></td></tr>\n"
btw- I have 7 entered in root / config.php
Code:
$gfx_chk = 7;
Evaders99 Site Admin
Joined: Aug 17, 2003
Posts: 12350
Posted:
Sun Mar 02, 2008 12:36 am
A link to your site would help. I don't see anything obvious
if (extension_loaded('gd') AND ($gfx_chk == 2 OR $gfx_chk == 4 OR $gfx_chk == 5 OR $gfx_chk == 7)) {
$content .="<tr><td colspan='2'>"._SV_SECURITYCODE.": <img src='?gfx=gfx&random_num=$random_num' border='1' alt='"._SECURITYCODE."' title='"._SECURITYCODE."'></td></tr>\n";
Like I said I’m not a programmer, so I’m not certain why this is. But I’m good at finding patterns. It seems to work as it should now. I can see that the original was calling an external source for the graphic, the Your_Account module. But it works without that being necessary. So why was it written that way to begin with?
If someone has a moment to explain it to me, that would be cool. As for a link to my site, sure. I just know it’s often considered poor form to use that as a description of the problem. It degrades the search results of a forum.
http://www.ezcandlesticks.com/lounge/ Just note that this is not a “live section” of my site. It’s something I’m playing around with. I want to add some interaction to my site. Not much to see at the moment. Once I get everything working, I want to find some way to create quizzes and such to teach our topic.
thanks
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum