Welcome Guest, Not a member yet? Register   Sign In
Problem handling Paypal IPN + PDT
#4

[eluser]ecigraeme[/eluser]
I changed Common.php around line 116 to this, to try and find out what is happening.

Code:
if( is_file(BASEPATH.'libraries/'.$class.EXT) )
{
    require(BASEPATH.'libraries/'.$class.EXT);
    $is_subclass = FALSE;
}
else
{

    debug_print_backtrace();
    die();
}

debug_print_backtrace gives an output similar to this. The class that fails to load is Exceptions.php.

Code:
#0  load_class(Exceptions) called at [C:\Domains\mydomain.com\system\codeigniter\Common.php:217]

#1  show_error(Unable to load the requested file: paypal/success.php) called at [C:\Domains\mydomain.com\system\libraries\Loader.php:620]

#2  CI_Loader->_ci_load(Array ([_ci_view] => paypal/success,[_ci_vars] => Array ([bannerlinks] => Array ([0] => <a href="http://www.mydomain.com/index.php/shop/download_banner/42W858691J6909105/154">Click here to download product 1</a>),[pageTitle] => Checkout),[_ci_return] => )) called at [C:\Domains\mydomain.com\system\libraries\Loader.php:307]

#3  CI_Loader->view(paypal/success, Array ([productlinks] => Array ([0] => <a href="http://www.mydomain.com/index.php/shop/download_ product/42W858691J6909105/154">Click here to download product 1</a>),[pageTitle] => Checkout)) called at [C:\Domains\mydomain.com\application\controllers\paypal.php:253]

#4  Paypal->checkout() called at [(null):0]

#5  call_user_func_array(Array ([0] => Paypal Object ([_ci_scaffolding] => ,[_ci_scaff_table] => ,[config] => CI_Config Object ([config] => Array ([site_live] => ,[this_web_site] => mydomain,[use_index] => index.php/,[debug_email] => [email protected],[path_to_banners] => C:\Domains\mydomain.com\products\,[base_url] => http://www.mydomain.com/,[index_page] => ,[uri_protocol] => PATH_INFO,[url_suffix] => ,[language] => english,[charset] => UTF-8,[enable_hooks] => ,[subclass_prefix] => MY_,[permitted_uri_chars] => a-z 0-9~%.:_\-,[enable_query_strings] => 1,[controller_trigger] => c,[function_trigger] => m,[directory_trigger] => d,[log_threshold] => 0,[log_path] => ,[log_date_format] => Y-m-d H:i:s,[cache_path] => ,[encryption_key] => ,[sess_cookie_name] => ci_session,[sess_expiration] => 7200,[sess_encrypt_cookie] => ,[sess_use_database] => 1,[sess_table_name] => ci_sessions,[sess_match_ip] =>
.........

#6  require_once(C:\Domains\mydomain.com\system\codeigniter\CodeIgniter.php) called at [C:\Domains\mydomain.com\wwwroot\index.php:115]

Bearing in mind that the page loads properly when I refresh it. Is there something about the re-direct from paypal that is causing problems when compared to when I refresh the page in my browser and why does it work in the sandbox.

Im puzzled. Anyone have any ideas?

Thanks


Messages In This Thread
Problem handling Paypal IPN + PDT - by El Forum - 08-04-2009, 05:26 AM
Problem handling Paypal IPN + PDT - by El Forum - 08-07-2009, 10:10 AM
Problem handling Paypal IPN + PDT - by El Forum - 08-07-2009, 01:21 PM
Problem handling Paypal IPN + PDT - by El Forum - 08-14-2009, 08:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB