Author |
Message |
candiman
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Jan 19, 2009
Posts: 13
|
Posted:
Sat Sep 26, 2009 10:24 pm |
|
Hi All,
Made the 2.4 recommended changes as per security log. Replacing the Your_Account module causes an issue. When I attempt to login as a user to the site I get:
1. An HTTP 500 error in IE.
2. A blank page in Firefox.
A quick restore of the 2.3 Your_Account module got the site running again...
Any ideas on where I should be looking for the problem? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
Site Admin
![](modules/Forums/images/avatars/41f0b40a419280935f3a0.gif)
Joined: Jun 04, 2004
Posts: 6437
|
Posted:
Sat Sep 26, 2009 11:43 pm |
|
Check that the modules/Your_Account folder has everything correctly installed. Also, is the HTTP 500 error on every page, or just on Your_Account pages?
If every page, there is probably something wrong / corrupt / missing in the modules/Your_Account/includes/mainfileend.php file. |
_________________ I search, therefore I exist...
Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
candiman
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Sep 27, 2009 3:01 am |
|
The Your_Account folder was simply deleted from the old install and the new one dropped into place, everything seemed to be there. I tried this couple of times just in case there was a file corruption with the first upload.
The HTTP 500 error only seems to happen on user login (Your_Account page). Home page loads without issue.
I will d/l 2.4 again just in case there is a file corruption in the version I was uploading. Back later...
Edit:typo |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
Site Admin/Owner
![](modules/Forums/images/avatars/45030c033f18773153cd2.gif)
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Mon Sep 28, 2009 12:35 am |
|
Also, make sure that you transfer all files in binary. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
candiman
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Sep 28, 2009 1:26 am |
|
OK, d/l 2.4 again and transferred Your_Account module and other files listed in Security_ChangeLog in binary.
I am still having the same problem. HTTP 500 error when I submit user login details. Restoring the Your_Account module from 2.3 site back up gets things working again.
Edit: Found more info in an error_log file (public html root directory)
[28-Sep-2009 04:22:53] PHP Fatal error: Call to undefined function validip() in .../public_html/modules/Your_Account/includes/functions.php on line 285
[28-Sep-2009 04:23:32] PHP Fatal error: Call to undefined function csrf_check() in .../public_html/modules/Your_Account/index.php on line 312
There were several instances of the first error (I tried the upload and login several times) and only one of the second. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Sep 28, 2009 4:48 am |
|
Those are new functions in the mainfile.php (csrf_check is included in another from from mainfile). Did you update that? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
spasticdonkey
RavenNuke(tm) Development Team
![](modules/Forums/images/avatars/48fb116845dfecf66294c.gif)
Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA
|
Posted:
Mon Sep 28, 2009 5:43 am |
|
candiman wrote: | OK, d/l 2.4 again and transferred Your_Account module and other files listed in Security_ChangeLog in binary. |
You need to upload all the files in the distro, not just those in the Security_ChangeLog, which is more in reference to the v2.30.00-v2.30.01 upgrade. Just uploading v2.4 of admin.php and the your acct module will not work. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Sep 28, 2009 6:47 am |
|
Thanks, spasticdonkey, I didn't notice that. You are correct - all files should be updated. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
candiman
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Sep 28, 2009 1:25 pm |
|
Thanks for the replies, I should have paid more attention to the version note in the security change log.
I will do the full update in a couple of weeks. If I don't post back then assume all is well ![Cheers](modules/Forums/images/smiles/cheers.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|