Author |
Message |
sts91
New Member


Joined: Nov 20, 2006
Posts: 17
|
Posted:
Sun Jul 08, 2007 8:07 am |
|
Ok my site was hacked, and the host reinstalled nuke. Now when i first started my site i had the same problems i am having now, but i cant think of what codes i changed to fix them.
Ok the first problems or pm's not working, and i have removed sid from the codes. I am waiting for a member to test pm's to let me know if this fixed it.
Now the profile not updating info, i have got no clue on what i did last time to fix this. I have looked over, and over still cant find the problem. I know I'm over looking it, but thats why I'm here.
Any help would be great.
Thanks |
|
|
|
 |
Guardian2003
Site Admin

Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Sun Jul 08, 2007 11:06 am |
|
As usual, we do not recommend anyone to use phpNuke 7.9 for the many security related (and other) reasons stated in this and other forums.
In your forum configuration make sure the cookie settings are not empty.
I presume you have found out how they managed to hack into your site and have taken steps to make sure they cannot do it again? |
|
|
|
 |
sts91

|
Posted:
Sun Jul 08, 2007 11:37 am |
|
Guardian2003 wrote: | As usual, we do not recommend anyone to use phpNuke 7.9 for the many security related (and other) reasons stated in this and other forums.
In your forum configuration make sure the cookie settings are not empty.
I presume you have found out how they managed to hack into your site and have taken steps to make sure they cannot do it again? |
Yes the hacked my site through Vwar.
As for the cookies, i have checked that already. I sure it was in the code last time i fixed it, but cant think of it. The host might have updated it to 8.0, but let me check that first. They just reinstalled it last night, and i cant think if they said 7.8 or 8.0.
Thanks |
|
|
|
 |
Guardian2003

|
Posted:
Sun Jul 08, 2007 11:46 am |
|
Unfortunately, I don't and won't use 7.8 - 8.0 because they are just too buggy so if that isn't the cause, then I'm afraid I'm not going to be much help for you. |
|
|
|
 |
sts91

|
Posted:
Sun Jul 08, 2007 12:03 pm |
|
Guardian2003 wrote: | Unfortunately, I don't and won't use 7.8 - 8.0 because they are just too buggy so if that isn't the cause, then I'm afraid I'm not going to be much help for you. |
Checked, and its 7.9. Not a problem some don't, and some do. I had my buddy fix most of the problems last time, but he is in Iraq right now. I guess I'll look back through the coding again, and see what i can find.
Thanks |
|
|
|
 |
Gremmie
Former Moderator in Good Standing

Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA
|
Posted:
Sun Jul 08, 2007 3:45 pm |
|
Did you install the patches for 7.9 from nukeresources.com? |
_________________ Only registered users can see links on this board! Get registered or login! - An Event Calendar for PHP-Nuke
Only registered users can see links on this board! Get registered or login! - A Google Maps Nuke Module |
|
|
 |
sts91

|
Posted:
Sun Jul 08, 2007 5:03 pm |
|
Gremmie wrote: | Did you install the patches for 7.9 from nukeresources.com? |
Yep. |
|
|
|
 |
Gremmie

|
Posted:
Sun Jul 08, 2007 5:29 pm |
|
I ran a 7.9 with the 3.2 patches for a while and never saw this problem. Have you made any mods to your core files or installed any crazy mods? You mentioned vWar. Do you have a different user account module like CNBYA?
When you say the profile doesn't update, what exactly happens? Blank screen? Error message?
Have you enabled error reporting in config.php and checked your error logs? |
|
|
|
 |
sts91

|
Posted:
Sun Jul 08, 2007 5:45 pm |
|
Gremmie wrote: | I ran a 7.9 with the 3.2 patches for a while and never saw this problem. Have you made any mods to your core files or installed any crazy mods? You mentioned vWar. Do you have a different user account module like CNBYA?
When you say the profile doesn't update, what exactly happens? Blank screen? Error message?
Have you enabled error reporting in config.php and checked your error logs? |
Vwar was is not related as it was never reinstalled in the new install. It does not give an error. It just shows a message saying it updated, but really it did not. No errors showed up when i enabled error reporting, but i have only checked it once.
I can log in a admin, and click forums under admin. There i can update members profiles, but out side of admin they wont update.
Thanks |
|
|
|
 |
Gremmie

|
Posted:
Sun Jul 08, 2007 9:02 pm |
|
Make sure you check your error logs (ask your host if you don't know where they are).
Now just to make sure we are talking about the same thing, you mean user profile? I would guess your user table is somehow different than what is expected by 7.9. If you could dump the structure of your user table in phpMyAdmin and post it here (and / or compare it to the SQL in the install script) that would help. |
|
|
|
 |
sts91

|
Posted:
Mon Jul 09, 2007 4:42 am |
|
Yes i already said i checked error logs. As i stated no errors related to profiles.
Yes I'm talking about user profiles. |
|
|
|
 |
Gremmie

|
Posted:
Mon Jul 09, 2007 7:10 am |
|
So have you checked your users table structure? Post it here if you aren't sure.
There are a couple of places where you can update your profile, either from Your_Account or the Forums. Are they both failing or just one of them? |
|
|
|
 |
sts91

|
Posted:
Mon Jul 09, 2007 7:14 am |
|
Gremmie wrote: | So have you checked your users table structure? Post it here if you aren't sure.
There are a couple of places where you can update your profile, either from Your_Account or the Forums. Are they both failing or just one of them? |
Both.
I have not checked the ts yet, as i have not had time. I'll scan over it later, and if i don't see something. I will post it here for you to look at. |
|
|
|
 |
sts91

|
Posted:
Mon Jul 09, 2007 8:06 am |
|
Gremmie wrote: | So have you checked your users table structure? Post it here if you aren't sure.
There are a couple of places where you can update your profile, either from Your_Account or the Forums. Are they both failing or just one of them? |
I just tried to post it, and was ban. So thats a no go, I'm not posting anything else code wise here.. |
|
|
|
 |
Gremmie

|
Posted:
Mon Jul 09, 2007 9:02 am |
|
Well try leaving off the CREATE TABLE part, or just put it in a text file and give us a link to it. |
|
|
|
 |
sts91

|
Posted:
Mon Jul 09, 2007 9:04 am |
|
Gremmie wrote: | Well try leaving off the CREATE TABLE part, or just put it in a text file and give us a link to it. |
Thats the part i posted, and ill try the text file when i get some free time. |
|
|
|
 |
Gremmie

|
Posted:
Mon Jul 09, 2007 10:23 am |
|
Ok. Another thing to try is to add an echo statement to echo out the SQL it has generated to update a profile. Then copy & paste that SQL into phpMyAdmin and see why it is failing. (I'm assuming it is failing). |
|
|
|
 |
sts91

|
Posted:
Tue Jul 10, 2007 6:18 am |
|
Thanks for the help Gremmie. It just out of now where fixed its self. User profiles or updating from user account, and forums profile. Unless when i fixed pm's it fixed the profile problem also, but dont see how. |
|
|
|
 |
|