PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Classifieds Support > Classifieds Bug Reports

Classifieds Bug Reports Post any problems you may be having with Classifieds here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old October 8th, 2010, 06:32 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jun 2010
Posts: 142
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)
Simka is offline   Reply With Quote
Old October 8th, 2010, 06:43 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,691
Maybe try reuploading that file. I do not see any issues in that actual file that are of issue.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old October 9th, 2010, 03:46 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jun 2010
Posts: 142
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?
Simka is offline   Reply With Quote
Old October 9th, 2010, 03:59 AM   #4 (permalink)
Member
Verified Customer
 
Join Date: Jun 2010
Posts: 142
I found the problem.

list( $getuserid ) = get_admin( $Globals['admninemail );

Should be:
list( $getuserid ) = get_admin( $Globals['admninemail'] );

Your package is broken.
Simka is offline   Reply With Quote
Old October 9th, 2010, 09:10 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,691
Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Payment Error LakeTrash Classifieds How do I...? 3 August 22nd, 2007 10:29 AM
pp-inc.php error after php upgrade Alfa1 Photopost Pro Installation & Upgrades 5 February 23rd, 2007 11:17 PM
More Payment Methods dcpaq2 Classifieds Suggestions 0 January 13th, 2006 02:38 PM
Bug in slideshow.php: Parse error: parse error, unexpected '\"' in line 282 (FIXED) dontom Photopost Pro Bug Reports 2 September 30th, 2005 09:09 AM
Payment by Check motors Before You Buy 3 March 5th, 2005 02:21 AM


All times are GMT -5. The time now is 08:31 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0