View Single Post
Old December 17th, 2008, 06:19 PM   #1 (permalink)
helkoryo
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