![]() |
Payment.php error Hi Chuck. I get this error: Parse error: syntax error, unexpected T_STRING, expecting ']' in /classifieds/payment.php on line 89 in payment.php (classifieds 4.1) |
Maybe try reuploading that file. I do not see any issues in that actual file that are of issue. |
I tryed to upload a fresh file, same problem. If I remove this code snip, file is working: $email = $Globals['adminemail']; $subject = $pp_phrase['paysub']; $letter = $pp_phrase['payltr']; $subject = trim($subject); list( , $aduser ) = get_userinfo("", $aduserid); list( $getuserid ) = get_admin( $Globals['admninemail ); $letter = str_replace("^aduser","$aduser",$letter); $letter = str_replace("^adid","$adid",$letter); $letter = str_replace("^adamount","$adamount",$letter); $letter = str_replace("^csymbol","$csymbol",$letter); $letter = str_replace("^Globals['maindir']","{$Globals['maindir']}",$letter); $subject = str_replace("^adid","$adid",$subject); send_ppemail( "$email", "$subject", "$letter", $getuserid, $getuserid ); Can you see what is wrong in that code? |
I found the problem. list( $getuserid ) = get_admin( $Globals['admninemail ); Should be: list( $getuserid ) = get_admin( $Globals['admninemail'] ); Your package is broken. |
Code: Content visible to verified customers only. |
| All times are GMT -5. The time now is 03:31 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0