Author |
Message |
maffg
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Aug 12, 2007
Posts: 5
|
Posted:
Sun Aug 12, 2007 2:38 pm |
|
Hi,
Downloaded the latest version of RavenNuke and install went fine, no problems at all.
My only issue is I cannot log in as admin, or have new users register or anything along those lines if I use the new CAPTCHA code.
If I set gfx_chk to 0 in the config everything is ok but i want the setting at 7 for security reasons.
I've searched on the forums here and cant seem to find a problem or solution that exactly mirrors mine. I did find one post that mentioned it being a sessions problem and to add
Code:session_save_path(dirname(__FILE__));
|
to the mainfile (I presume this meant mainfile.php) which said it would tell me if it was the problem and was a temp fix for it, but it doesn't seem to have made any difference.
I've not the most technically gifted person in the world and am struggling for a solution now.
Any help gratefully received. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
Site Admin
![](modules/Forums/images/avatars/0c0adf824792d6d341ef4.gif)
Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Sun Aug 12, 2007 5:56 pm |
|
maffg, there are also topics here related to GD and FreeType (must be compiled into GD). You can also ask your host to check to make sure that these are available to you as the Captcha system requires them. |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
maffg
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Aug 12, 2007 6:03 pm |
|
I hadn't though of looking at those because the captcha displays itself perfectly. Thanks I'll go browse and speak to my host now. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Aug 12, 2007 6:14 pm |
|
May I see what you are seeing? If you PM me your web site address I can take a quick look. It may be something different, but I need to see it. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Aug 13, 2007 6:39 am |
|
Well, the captcha is being displayed correctly. That rules out the GD/FreeType issues. I have tried to create a new account on your site and am getting the "Security not correct" error message. This tells me that your host does not have the session path set up properly I suspect.
Technocrat wrote up a Only registered users can see links on this board! Get registered or login! documenting how his captcha works. See towards the bottom with the issue that I suspect you are having. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
technocrat
Life Cycles Becoming CPU Cycles
![](modules/Forums/images/avatars/d867b24b43a1b71491557.jpg)
Joined: Jul 07, 2005
Posts: 511
|
Posted:
Mon Aug 13, 2007 10:06 am |
|
Did you add the code to the top of the file? |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! / Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
maffg
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Aug 13, 2007 10:22 am |
|
Yes, so the top of my mainfile.php looks like this currently
Code:<?php
session_save_path(dirname(__FILE__));
/************************************************************************/
/* PHP-NUKE: Advanced Content Management System */
/* ============================================
|
|
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
maffg
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Aug 15, 2007 2:35 am |
|
Ok,
I've been to my host and they seem sure that the session path set up is correct. They did refer to to a phpinfo page of my server (haven't linked it because I don't know how sensitive the information on there is).
So if the sessions are ok, is there anything else this may be caused by? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
technocrat
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Aug 15, 2007 9:03 am |
|
No the code gets stored in the sessions. So if the code is not letting you in but it is showing on the screen correctly, the only problem I have seen is caused by sessions being incorrectly setup.
If you want to test the sessions you can
Make a file called test.php on your root and put the following:
Code:<?php
session_start();
$_SESSION['test'] = 'maffg';
echo 'Now go to the display';
|
Then make a file called test_display.php and put the following:
Code:<?php
session_start();
var_dump($_SESSION);
|
First go to http://www.yoursite.com/test.php then go to http://www.yoursite.com/test_display.php it should show you your name |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
maffg
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Aug 15, 2007 9:34 am |
|
Ok, on going to test_display.php all it came up with was
array(0) { }
With my limited knowledge I guess this is evidence of the sessions not being set up correctly? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
technocrat
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Aug 15, 2007 9:38 am |
|
Well I have only been awake for about an hour so I might have made a code error some where, but yes it appears that your sessions are not working. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
muddles
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Dec 12, 2007
Posts: 6
|
Posted:
Thu Dec 13, 2007 6:37 am |
|
I've checked this on my server and got this error message
Quote: | array(1) { ["test"]=> string(5) "maffg" } |
Does that mean my sessions aren't set up properly too?
Sorry for taggin in on the end of this thread. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
technocrat
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Dec 13, 2007 9:53 am |
|
No it means they are working correctly |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
muddles
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Dec 13, 2007 10:41 am |
|
Thank you for that I didnt know if it meant it was or wasnt working.
But my security code still isn't working. It shows up fine, but when you enter it to activate your account it says security code incorrect.
I've asked my host to check the sessions are set up properly, but when I did the test, it came back ok by your reply. I've not heard back from my host as yet so I guess thtey're checking the sessions setup.
Is there anything else could be causing this error? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|