Sponsored listings again. - eSyndiCat User Forums
eSyndiCat User Forums esyndicat directory software esyndicat support

Go Back   eSyndiCat User Forums > eSyndiCat Directory Software [FREE] > Bug Reports

Bug Reports "Brrr! Bugs!" Yes, we do hate them as well. But nothing is perfect in this world and if you found a bug let us know so that we can make eSyndiCat Directory Software even better.

Reply
 
Thread Tools Display Modes
Old 06-10-2006   #1
dkessaris
 
Join Date: May 2006
Posts: 50
dkessaris has disabled reputation
Default Sponsored listings again.

Hi,

I have continuying problems with the sponsored listings. I have tried the fix that has been posted here

and here are my purchase-complete.php
PHP Code:
<?php
/***************************************************************************
 *
 *     PROJECT: eSyndiCat Directory Software
 *     VERSION: 1.2 (Pro Release)
 *     LISENSE: OWN (http://www.esyndicat.com/license.html)
 *
 *     This program is a commercial software and any kind of using
 *     it must agree to eSyndiCat License Agreement.
 *
 *     This notice may not be removed from the code.   
 *
 *   Copyright 2005-2006 eSyndiCat Software Development Ltd.
 *   http://www.esyndicat.com/
 *
 ***************************************************************************/
/** requires common header file **/
require_once('header.php');

if (
$_POST['item_number'])
{
    
$str_arr explode("|"base64_decode(urldecode($_POST['item_number'])));
    
    
$id_plan $str_arr[0];
    
$id_link $str_arr[1];
    
$sum $str_arr[2];
    
$type $str_arr[3];

    require_once(
"plugins/{$type}/post_{$type}.php");
}
else
{
    
$error 666;
}


if (
$error)
{
    
header("Location: {$gDirConfig['base']}{$gDirConfig['dir']}error.php?error={$error}");
    exit;
}
else
{
    
$gDirDb->setPlan($id_link$id_plan$tid);
}
$gDirSmarty->assign_by_ref('msg'$msg);

/** defines page title **/
$gDirSmarty->assign_by_ref('title'$gDirLang['suggest_link']);

/** menu display **/
$gDirSmarty->assign('menu'$gDirLayout->print_menu($category['id']));

/** breadcrumb formation **/
$bc['suggestlink']['url'] = '';
$bc['suggestlink']['caption'] = $gDirLang['suggest_link'];
$breadcrumb $category $gDirLayout->print_breadcrumb($category['id'], $bc1) : '';
$gDirSmarty->assign_by_ref('breadcrumb'$breadcrumb);

$gDirSmarty->display('success.tpl');
?>
and the post_paypal.php
PHP Code:
<?php
if (strcmp($_POST['payment_status'], 'Completed') != 0)
{
    
$error 666;
}

if (
strcmp($sumcrypt(sprintf("%.2f"$_POST['payment_gross']), $gDirConfig['paypal_secret_word'])) != 0)
{
    
$error 667;
}
else
{
    if (!
$id_link)
    {
        
$error 667;
    }

    if (!
$id_plan)
    {
        
$error 668;
    }

    if (!
$error)
    {
        
$tid $_POST['txn_id'];
        
$gDirDb->setPlan($id_link$id_plan$tid);
        
$msg $gDirLang['purchase_successful'];
    }
}
?>
But submitters are still getting errors.

One thing I though might cause this is that when I installed the directory I had installed the paypal module but the I read this post and unistalled it.
I have checked my database and found no duplicate entries.

Can anyone please take a look at this and propose a solution, this problem is driving me crazy.
dkessaris is offline   Reply With Quote
Old 06-10-2006   #2
dkessaris
 
Join Date: May 2006
Posts: 50
dkessaris has disabled reputation
Default

Here are all the lines from the mysql file that contain the word paypal.

INSERT INTO `dir_config` VALUES (127, 3, '', 'PayPal Configuration', '', 'divider', '', 32.1);

INSERT INTO `dir_config` VALUES (143, 3, 'paypal_currency_code', 'USD', '', 'text', 'PayPal currency code', 32.31);

INSERT INTO `dir_config` VALUES (144, 3, 'paypal_secret_word', 'what is this number btw?', '', 'hidden', 'PayPal secret word', 3);

INSERT INTO `dir_config` VALUES (145, 3, 'paypal_module', '1', '''1'',''0''', 'radio', 'PayPal module', 32.25);

INSERT INTO `dir_config` VALUES (142, 3, 'paypal_email', 'myemail@yahoo.com', '', 'text', 'PayPal email', 32.3);

I would appreciate any help.
dkessaris is offline   Reply With Quote
Old 06-13-2006   #3
dkessaris
 
Join Date: May 2006
Posts: 50
dkessaris has disabled reputation
Default

I have also applied this mod if it makes any difference.
Please guys take a look at this, I am getting constant complaints from submitters and requests for refunds.
dkessaris is offline   Reply With Quote
Old 06-14-2006   #4
dkessaris
 
Join Date: May 2006
Posts: 50
dkessaris has disabled reputation
Angry

Great thanks for all the support guys!!!!!! I will definetly reccomend esyndicat to everyone I know and rate it 5/5 at hotscripts and everywhere else!!!!!

BTW do you offer free database migration from esyndicat to other directory scripts? This is a total nightmare I have paid for a buggy script, spend a few hundred of dollars in promoting my directory and I don't even get a reply! I have tried pms, emails forum posts but nothing.
dkessaris is offline   Reply With Quote
Old 06-14-2006   #5
Vincent Wright
 
Join Date: Sep 2005
Posts: 1,421
Vincent Wright is an unknown quantity at this point
Default

Sorry to hear that.

Well, I want to help you. Tomorrow I will start debugging your copy of the script.

Is it possible for me to get access to your ftp/phpMyAdmin?
Vincent Wright is offline   Reply With Quote
Old 06-14-2006   #6
dkessaris
 
Join Date: May 2006
Posts: 50
dkessaris has disabled reputation
Default

Thanks for the reply, I have sent you an email.
dkessaris is offline   Reply With Quote
Old 06-17-2006   #7
Vincent Wright
 
Join Date: Sep 2005
Posts: 1,421
Vincent Wright is an unknown quantity at this point
Default Fixed

Fixed.

Please check it.
Vincent Wright is offline   Reply With Quote
Old 06-17-2006   #8
dkessaris
 
Join Date: May 2006
Posts: 50
dkessaris has disabled reputation
Default

Thank you very much, I appreciate it
dkessaris is offline   Reply With Quote
Old 06-17-2006   #9
Vincent Wright
 
Join Date: Sep 2005
Posts: 1,421
Vincent Wright is an unknown quantity at this point
Default

You are welcome.
Vincent Wright is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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
Forum Jump


All times are GMT. The time now is 07:55 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Testimonials | Articles | Support | Documentation | Privacy Policy | License | Affiliates | Contact Us | SEO Resources