the golf space golf social networking logo
Advertisement

THE GOLF SPACE
Welcome, Guest
Please Login or Register.    Lost Password?
Re:KARMA FINALLY FIXED? (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:KARMA FINALLY FIXED?
#4051
Tony (Admin)
Admin
Posts: 1061
graph
User Online Now Click here to see the profile of this user
KARMA FINALLY FIXED? 2 Months ago  
I don't want to get too excited because I'm not 100% sure. But, I believe I may have finally gotten KARMA 1.0 back online and working. I tried to hire three professional coders to no avail. They were too busy. I tried to get two friends to look at it, but our schedules didn't work. I went over thousands of lines of code, changed versions of php from 4 to 5 to 4, changed configurations dozens of times, installed, deleted, reinstalled, changed variables, looked at the old site and server code etc...

Finally, over my morning coffee I found a pointer embedded in the comments in another module which only admins can see, which tracks user's IP's for security. It said there were two different ways to track the IP's. I replaced the non working code in karma's file with the alternate code and voila, the IP's posted to the database correctly. The user IP's are posting to the DB again and it all seems to be working right in a few tests.

TAKE KARMA FOR A TEST DRIVE FOR ME

Try it out and vote up your TGS pals. Make sure you vote for someone that someone else has already voted for. If you can vote for somebody who has already been voted on in the same 24 hour period, we're golden.

Once again, sorry for the trouble. How is one to know that after switching servers that this code would no longer work:

Code:

$myIP = $GLOBALS['REMOTE_ADDR'];
and that this code would:
Code:

$myIP = $_SERVER['REMOTE_ADDR'];
Geez.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#4052
Scruffy (Admin)
Admin
Posts: 308
graphgraph
User Online Now Click here to see the profile of this user
Re:KARMA FINALLY FIXED? 2 Months ago  
Good Job...I know that looking at HTML code can make you cross eyed and cause your brain to turn to mush...perhaps you should consider getting the company that makes the coffee you drink in the mornings to give you an endorsement...I am sure a lot of webmasters would start buying it.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#4053
MrPuttle (User)
Hacker
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Re:KARMA FINALLY FIXED? 2 Months ago  
It appears as though the nickel fits the slot. It didn't fall through to the coin return. The motors are whirring, the coil is spinning and...........voila!! Karma! Dispensed below in it's vacuum sealed, fresh-dated, parabolic container. Well done, Good Man.

Hip, Hip, Hooray!! Hip, Hip Hooray!!!

Let the Karma Games begin.

You Rock!
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#4054
GolferGurl (User)
Shoots in the 70's
Posts: 82
graphgraph
User Online Now Click here to see the profile of this user
Re:KARMA FINALLY FIXED? 2 Months ago  
Great Job TK! You always know how to pull through!
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#4055
Tony (Admin)
Admin
Posts: 1061
graph
User Online Now Click here to see the profile of this user
Re:KARMA FINALLY FIXED? 1 Month, 4 Weeks ago  
GolferGurl wrote:
QUOTE:
Great Job TK! You always know how to pull through!


Aww shucks
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#4056
eatgolf (User)
Hacker
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:KARMA FINALLY FIXED? 1 Month, 4 Weeks ago  
Holy cow I would have NEVER been able to figure that one out - nice job!


And I hope that was actually it

 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Beta 1.7 | © Copyright 2006-2008 The Golf Space | Design and concept by Tony Korologos | Visit our sister site Hooked On Golf Blog | Hosted by TKServer.
Terms Of Service | Privacy | About | Advertise | Contact | Rules | Help