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 How do I...?

Classifieds How do I...? Wondering how to do something in Classifieds?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old February 1st, 2010, 05:33 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Nov 2008
Posts: 55
Subscriptions

Hi I and having problems with trying to add a Subscriptions read error below??

We're sorry, but the system experienced an unrecoverable error. Please try again later.

Script:

Query: INSERT INTO cp_subscriptions VALUES (NULL, 'Free Ad's For 12 Months', 'Limited Time Only get In Fast Free Ad's For 12 Months To All Members Enjoy! This offer will only last for the next 14 days start date 1-2-2010', '3', '1 year', '7', '0', 'yes');

Result: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's For 12 Months', 'Limited Time Only get In Fast Free Ad's For 12 Months To All ' at line 1

Database handle: Resource id #6
nogas is offline   Reply With Quote
Old February 1st, 2010, 05:42 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,659
what version of the software are you using. You can always try redownloading and using adm-misc.php
__________________
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 February 1st, 2010, 05:46 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Nov 2008
Posts: 55
Chuck you install it on my site goto link Main Index - Racersedgeforums Classifieds

Johnny.
nogas is offline   Reply With Quote
Old February 1st, 2010, 05:54 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,659
Okay when was this a month or so ago? I dont remember the name but then again I deal with so many sites

Basically you can redownload the build and reupload adm-misc.php that should help you out.
__________________
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 February 1st, 2010, 06:03 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Nov 2008
Posts: 55
I dont no how or where to start doing this thats why I paid you guys to set it all up for me on my site!

Johnny.
nogas is offline   Reply With Quote
Old February 1st, 2010, 06:37 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,659
yes johnny but when was this is what I asked. You can try fixing it by manually editing that file adm-misc.php and make sure lines 4592-4593 are this

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
Old February 1st, 2010, 10:50 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Nov 2008
Posts: 55
Chuck I did that and still not working??
print "$output<br /><br />";
adminfooter();
}

if ($ppaction == "addsub") //# Add a subscription
{

if ($_POST['do'] == "process")
{

// Process a user's subscription submission


$subname = un_htmlspecialchars($subname);
$subdesc = un_htmlspecialchars($subdesc);

$setug = ppmysql_query("INSERT INTO {$Globals['pp_db_prefix']}subscriptions VALUES (NULL, '$subname', '$subdesc', '$subgroup', '$subduration', '$subdays', '$subprice', '$subactive');", $link);
$thesubid = mysql_insert_id( $link );

if ( $thesubid == 0 )
{
diewell( "Error adding new subscription to the database. Returned id was 0." );
exit;
}
nogas is offline   Reply With Quote
Old February 1st, 2010, 11:01 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: Nov 2008
Posts: 55
I went to delete an old Subscriptions that was in the list and the below come up??

We're sorry, but the system experienced an unrecoverable error. Please try again later.

Script:

Query: UPDATE ibf_members SET member_group_id='4' WHERE id='1'

Result: Unknown column 'id' in 'where clause'

Database handle: Resource id #6
nogas is offline   Reply With Quote
Old February 2nd, 2010, 08:23 AM   #9 (permalink)
Member
Verified Customer
 
Join Date: Nov 2008
Posts: 55
Chuck What do I try next???
nogas is offline   Reply With Quote
Old February 2nd, 2010, 08:54 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,659
You can try making those lines this but I wonder why when we already typecast those lines to addslashes that yours are not there.

You sure you uploaded the file and tried inserting a new subscription?


in your ib3.php file in the forums subdirectory line 48 of that file make this line this

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
Old February 3rd, 2010, 12:57 AM   #11 (permalink)
Member
Verified Customer
 
Join Date: Nov 2008
Posts: 55
I have that in my ib3.php file in the forums subdirectory line 48 you will see it in RED!
whats next to do to fix my problem??

Last edited by Chuck S; February 3rd, 2010 at 07:17 AM.
nogas is offline   Reply With Quote
Old February 3rd, 2010, 07:17 AM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,659
Please do not just post our code like that thanks.

As noted make sure the line I am referencing is what is posted in my code block above.
__________________
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 February 5th, 2010, 05:32 AM   #13 (permalink)
Member
Verified Customer
 
Join Date: Nov 2008
Posts: 55
Yes that the code is like your block what next still not working???
nogas is offline   Reply With Quote
Old February 5th, 2010, 06:01 AM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,659
That would be impossible for you to get the same exact error if you have done the edit I am saying. what is your error?
__________________
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 February 5th, 2010, 06:13 PM   #15 (permalink)
Member
Verified Customer
 
Join Date: Nov 2008
Posts: 55
ok thanks Chuck its now working.....

one more thing now trying to setup a free Subscriptions and I did do a Test Subscription with $0.00 dollars and PayPal not excepting zero $0.00???

Johnny.
nogas is offline   Reply With Quote
Old February 5th, 2010, 06:28 PM   #16 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,659
Because you cant pay someone 0 dollars
__________________
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 February 5th, 2010, 06:36 PM   #17 (permalink)
Member
Verified Customer
 
Join Date: Nov 2008
Posts: 55
So then how do I off ire free Subscription to my Classifieds to my members say for one week??
nogas is offline   Reply With Quote
Old February 5th, 2010, 06:44 PM   #18 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,659
You cant sell a free subscription.


If your trying to allow regular members the ability to upload for a week then give that usergroup upload permissions and in a week remove it.
__________________
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 February 5th, 2010, 06:47 PM   #19 (permalink)
Member
Verified Customer
 
Join Date: Nov 2008
Posts: 55
what about a free listings???
nogas is offline   Reply With Quote
Old February 5th, 2010, 06:49 PM   #20 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,659
You dont have to charge for listings that all depends how your trying to set things up. I can just tell you that you can not anyway sell something for 0 dollars no payment place can take that payment.
__________________
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
Subscriptions and emails mike1892 ReviewPost How do I...? 6 July 5th, 2009 03:22 PM
Subscriptions hIBEES Classifieds How do I...? 3 June 18th, 2009 02:09 PM
6.2 paid subscriptions tsakalos76 Photopost Pro Bug Reports 25 October 13th, 2008 05:52 PM
Gallery Subscriptions? DST Daddy Photopost Pro How Do I...? 4 October 18th, 2007 12:59 PM
Email subscriptions oldengine Classifieds Suggestions 0 November 21st, 2006 11:34 PM


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

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