Quote:
Originally Posted by TruthElixirX
The inferno quiz and this do not get along.
Code:
Fatal error: Cannot redeclare sendpm() (previously declared in /home/httpd/vhosts/supportcore.org/httpdocs/testvb/quiz.php:139) in /home/httpd/vhosts/supportcore.org/httpdocs/testvb/includes/functions_warning.php on line 23
any ideas?
|
I have already posted an answer on this (or maybe a similar question). The SendPM routine that I use, was inherited from Zero Tolerance's original, warning hack. If the hack which conflicts with this routine is also written by Zero Tolerance, there is a strong possibility that these two routines, (the one in AWS and the one in the other hack) are exactly the same, so one of the two can be deleted.
The same thing with the RunError routine.
The suggested fix by TruthElixirX, is only partial, since all it does is change the names of the two routines. It does not alter the code where these routines are called from. In other words, if some where in the code, one of the hacks was calling RunError, and this routine was renamed to RunError2 in AWS code, then AWS is still calling RunError (not RunError2), which is a routine of the other hack. That enhances my thinking, that these two routines are identical in the two hacks, otherwise the fix that TruthElixirX applied would have never worked.