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 Pro Support Forums > Photopost Pro Bug Reports

Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old December 17th, 2008, 06:19 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2008
Posts: 28
Subscription System Problems

Hello there

We have recently attempted to get the subscription system on our site (Perfectly Captured Gallery - Main Index) up and running. We have followed the following instructions:

6.2 paid subscriptions

Posts numbered 16 and 22 in the above thread.

We have got a subscription set up. We can edit this subscription in the admin pannel and in the subscriptions section on the site.

Whenever a member attempts to subscribe however, they were recieving this error message:

Warning: require_once(/HOMEDIR/languages/english/emails.php) [function.require-once]: failed to open stream: No such file or directory in /HOMEDIR/payment_verification.php on line 75

Fatal error: require_once() [function.require]: Failed opening required '/HOMEDIR/languages/english/emails.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /HOMEDIR/payment_verification.php on line 75

To solve the above error we changed line 75 in payment_verification from

require_once("{$Globals['PP_PATH']}/languages/{$Globals['pplang']}/emails.php");

To

require_once("{$Globals['PP_PATH']}/languages/{$Globals['pplang']}.php");

My freind testing our system refreshed once and got a success message of some sort.

After this i checked in the database through PHPMyAdmin and the Photopost list subscribers option. there are three users in there (id 1-3) with NO userid's. Each users start and end dates are the same (but not to each other, i.e. users 1 start and end dates are not the same as users 2 or 3's sttart and end dates) and my freinds profile does NOT show him as being in a subscription.

I am completely stumpped on what to try next, your advice would be greatly apprechiated.
helkoryo is offline   Reply With Quote
Old December 17th, 2008, 06:48 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,692
In payment_verification.php this

Code:
Content visible to verified customers only.
should be

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.

Last edited by Chuck S; December 20th, 2008 at 06:24 AM.
Chuck S is offline   Reply With Quote
Old December 19th, 2008, 01:18 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2008
Posts: 28
Ok, we have followed the step you suggested above, and tested the system again

When our test subject bought a subscription he recieved this error:

"Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in HOMEDIR/payment_verification.php on line 55"

The whole of line 55 is below

" list( $adid, $admount, $subid, $subuser, $subname, $subgroup, $subdays ) = mysql_fetch_row($rows);"

the "$rows" variable in line 55 is below

" $rows = ppmysql_query("SELECT p.id,p.amount,p.sub_id,p.user_id,s.name,s.gid,s.days
FROM {$Globals['pp_db_prefix']}payments p
LEFT JOIN {$Globals['pp_db_prefix']}subscriptions s ON s.id=p.sub_id
WHERE p.ad_key='$item_number'", $link);
"

Now after the user registers, it appears that nothing is entered into the database at all.

Please advise

also - what is "ppmysql_query"? i have never heard of this.

Last edited by helkoryo; December 19th, 2008 at 02:00 PM. Reason: additional question.
helkoryo is offline   Reply With Quote
Old December 20th, 2008, 06:25 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,692
Reapply that change. ad_key should be pmt_key in that query.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 20th, 2008, 03:13 PM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2008
Posts: 28
Thanks that appears to have solved the issues of the subscription system not entering the information into the database.

However - when i look at the test users profile (that just registered), it states that there are no gallery subscriptions for this member, even though the user is in the database and the photopost list subscriptions page as subscribed.
helkoryo is offline   Reply With Quote
Old December 21st, 2008, 09:33 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,692
Yes this before or after your last change?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 21st, 2008, 09:34 AM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,692
There is a list subscribers function in admin that shows who is subscribed
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 23rd, 2008, 07:14 AM   #8 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2008
Posts: 28
Quote:
Originally Posted by Chuck S View Post
There is a list subscribers function in admin that shows who is subscribed
yes we know - but we would like to be able to see this when we look at a users profile page on photopost, under "statistics".
helkoryo is offline   Reply With Quote
Old December 23rd, 2008, 10:09 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,692
Thats just not a feature in the software at this point.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 29th, 2008, 04:31 PM   #10 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2008
Posts: 28
Quote:
Originally Posted by Chuck S View Post
Thats just not a feature in the software at this point.
so what is the "Gallery Subscriptions" list in the users profile for? am i mis-reading what its supposed to do?
helkoryo is offline   Reply With Quote
Old December 29th, 2008, 06:43 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,692
It is for users to click to list the subscriptions you list so they can purchase one.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lots of problems with commenting system marc100 Classifieds How do I...? 5 July 10th, 2008 05:13 PM
Subscription?? depotnoob Classifieds How do I...? 3 March 21st, 2008 03:21 PM
Subscription by deafult e-steki How Do I? - vBulletin 3.5.X 2 October 26th, 2005 08:03 PM


All times are GMT -5. The time now is 12:30 PM.

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