Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues
Author Message
candiman
New Member
New Member



Joined: Jan 19, 2009
Posts: 13

PostPosted: Sat Sep 26, 2009 10:24 pm Reply with quote

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?
 
View user's profile Send private message
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6437

PostPosted: Sat Sep 26, 2009 11:43 pm Reply with quote

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!
 
View user's profile Send private message
candiman







PostPosted: Sun Sep 27, 2009 3:01 am Reply with quote

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
 
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Mon Sep 28, 2009 12:35 am Reply with quote

Also, make sure that you transfer all files in binary.
 
View user's profile Send private message
candiman







PostPosted: Mon Sep 28, 2009 1:26 am Reply with quote

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.
 
kguske







PostPosted: Mon Sep 28, 2009 4:48 am Reply with quote

Those are new functions in the mainfile.php (csrf_check is included in another from from mainfile). Did you update that?
 
spasticdonkey
RavenNuke(tm) Development Team



Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA

PostPosted: Mon Sep 28, 2009 5:43 am Reply with quote

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.
 
View user's profile Send private message Visit poster's website
kguske







PostPosted: Mon Sep 28, 2009 6:47 am Reply with quote

Thanks, spasticdonkey, I didn't notice that. You are correct - all files should be updated.
 
candiman







PostPosted: Mon Sep 28, 2009 1:25 pm Reply with quote

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
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues

View next topic
View previous topic
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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©