Evolution Script 5.1 BitCoin Payment Gateway Error - php

I'm checking on Evolution Script 5.1 PTC Script and when I activated the BitCoin Payment Gateway and try to add some funds in it, I get this error:
Warning: file_get_contents failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /home/u991806379/public_html/Sources/blockchain.php on line 40
Can anyone help me sort it out?

You are using custom theme, where is missing blockchain.tpl file. Go to default theme and copy blockchain.tpl to your current theme. Will start working.

Related

Image not loading, Failed to open stream: HTTP request failed

I have the following problem on a Magento2 Fresh installation with dummy data, using the theme [Revo]: https://themeforest.net/item/revo-responsive-magento-2-shopping-theme/18339484
Error filtering template: Warning:
getimagesize(https://website.com/media/wysiwyg/imageslider/slider-1.jpg):
failed to open stream: HTTP request failed! HTTP/1.1 401 Unauthorized
in
/var/www/html/nobacco/vendor/magento/framework/Image/Adapter/AbstractAdapter.php
on line 304
Permissions are correct, nginx settings seem good the image exists on the server and is accessible through the same url and the user rights seems alright too.. Any ideas?
Before this error I was getting an error on vendor/(cant remember the full path)/Image.php

Integrate Authorize.net ARB payment gateway in php using SDK

I am trying to integrate authourize.net payment gateway in php using sdk on github from https://github.com/AuthorizeNet/sdk-php link. i have downloaded the sdk in my root folder and updated composer as well
but still am getting following error
D:\xammp\htdocs\JustFaster>php D:\xammp\htdocs\Faster\charge-credit-card.php
Warning: require(vendor/autoload.php): failed to open stream: No such file or directory in D:\xammp\htdocs\Faster\charge-credit-card.php on line 3
Fatal error: require(): Failed opening required 'vendor/autoload.php' (include_path='.;D:\xammp\php\PEAR') in D:\xammp\htdocs\Faster\charge-credit-card.php on line 3
I have tried to change the required files path starting from my root folder but still the problem is not resolved.
require 'vendor/autoload.php'; --- in sdk
i have changed it to --- require 'sdk-php-1.8.8/autoload.php';
sdk-php-1.8.8 is the sdk downloaded from github.
Please somebody help me with this.
Thanks in advance.
At the same time please can i get the sample code to create ARB subscription and get the status of that subscription with getSubscriptionStatus($subscriptionId) method.
Awaiting for a response..

Magento SOAP API - PHP Exception error “looks like we got no XML document”

We developed an app that pushes and retrieves data from one program to Magento via the Magento API via SOAP, using SOAP 1.1 and Magneto 1.7.0.2.
This is the kind of post we send to the magento store:
Example:
[08/Oct/2013:16:49:59 -0400] "POST /index.php/api/soap/index/ HTTP/1.0" 200 266 "-" "-"
Basically when we attempt to send these commands to the Magneto site / Server
it stops and we receive the following error:
MAGENTO::ERROR: looks like we got no XML document"
During the connection, the actual return from their magento web service is as follows:
Warning: include() [function.include]: Failed opening '/home/sistaco5/public_html/includes/src/Jemoon_Htmlminify_Model_Observer.php' for inclusion (include_path='/home/sistaco5/public_html/includes/src:.:/usr/local/php53/pear') in /home/sistaco5/public_html/includes/src/Varien_Autoload.php on line 93
This does not look like an XML.
I believe the error may be related to BOM I found at this article. Not sure if this article will work, but any other thoughts on how to address the above would be very much appreciated.
Your error points to missing files in includes/src/ which are compilation files.
Re-run compilation or disable it. Get to the Magento admin, navigate to System -> Tools -> Compilation and do a recompile or disable compilation.
If that page doesn't complete loading, do the compilation via SSH/shell:
cd /path/to/magento/root
php -f compiler.php compile to recompile OR
php -f compiler.php disable to disable/prevent magento from looking in Compilation files.
How odd is it that I'm answering to two questions that have compilation issues in 10 minutes.

file_get_contents() 'failed to open stream' error retrieving tweets

I am trying to create a simple script that will retrieve the last 5 feeds for a twitter user (in this instance the BBC)
It runs okay locally on my development server but once I upload this to a live site I get the following error:
Warning: file_get_contents(https://api.twitter.com/1/statuses/user_timeline.json?include_entities=true&include_rts=true&screen_name=bbc&count=5): failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request in ....
Does anyone know why this doesn't work on my live server (but fine on my dev server?)
As mentioned in file_get_contents throws 400 Bad Request error PHP, you may be better using curl instead of file_get_contents due to its improved error handling - this may provide you with another clue.

CodeIgniter Error

I am currently developing a site with codeigniter that uses paypal standard payments. When a payment is made paypal sends the information back to the site using an IPN notification and returns the user to the site along with the info as a PDT. I use both because I am giving digital downloads.
Both PDT and IPN verify that the information they have been sent really came from paypal by sending it back to paypal. If paypal recognises that it is a real transaction it returns verified.
Things all work fine in the sandbox but now that I have switched paypal to live it has stopped working. I have check for all the usual culprits, such as still pointing to the sandbox.
When paypal forwards me back to the success page on my site. I see the following error, the IPN also fails with an INVALID response.
PHP Warning: require(../system/libraries/Exceptions.php) [function.require]: failed to open stream: No such file or directory in C:\Domains\mydomain.com\system\codeigniter\Common.php on line 116
PHP Warning: require(../system/libraries/Exceptions.php) [function.require]: failed to open stream: No such file or directory in C:\Domains\ mydomain.com\system\codeigniter\Common.php on line 116
PHP Fatal error: require() [function.require]: Failed opening required ‘../system/libraries/Exceptions.php’ (include_path=’.;C:\PHP5\pear’) in C:\Domains\mydomain.com\system\codeigniter\Common.php on line 116
The strange thing is that when I refresh the page I don’t get the error and the PDT information is verified and displayed as expected. I see the same error even with a die() statement on the first line of code in my success controller function, when refreshed the die() output is shown instead of the error.
I am using $config[‘uri_protocol’] = “PATH_INFO”; $config[‘enable_query_strings’] = TRUE;
as suggested here to allow query strings and segments.
http://codeigniter.com/forums/viewthread/99570/
I am using IIS and Pear appears to be installed.
I have the application folder at the same level as the system folder.
Does anybody have any ideas why this is happening.
Any help or insights would be much appreciated.
Thanks
Does changing the value of $config[‘uri_protocol’] to REQUEST_URI help?

Categories