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?
Related
I'm running a wordpress/woocommerce website running PHP7 on Windows IIS.
After clicking update plugins, I now get the following error when trying to do anything in the WP dashboard (the actual website still works fine, just not when logged in to WordPress):
Fatal error: require_once(): Failed opening required 'C:\inetpub(dir removed)\wordpress\wp-content\plugins\code-snippets/php/admin-menus/class-manage-menu.php' (include_path='.;C:\php\pear') in C:\inetpub(dir removed)\wordpress\wp-content\plugins\code-snippets\code-snippets.php on line 75
Line 75 of the code snippets file is:
/* Load the class */
require_once $class_path . "class-{$class_file}.php";
I tried the recovery email, but just got the message:
Recovery Mode not initialized.
I can't see that may be wrong - any ideas of next steps to try?
Thanks, Mark
I don't know why - but now the site appears to be working. It's as if WP "fixed itself" after a period of time (approx 30 minutes).
So if you get this error - try leaving it for a little while and see if it resolves itself. If anyone knows why/how it can do this, please say. Thanks, Mark
This is my first post here. I followed instructions and explored all the internet on this topic, still didn't figure out the solution. Added interpreter as you can see on this screenshot:
I created PHP Web Application as visible here:
And after that I when I try to run it in any browser I get this message (Don't have reputation 10 so couldn't post it as 3rd picture):
"Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404
localhost Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.20"
Please help me, I don't know what to do anymore. Thanks in advance!
EDIT 1:
So I figured out that my php file and all the other files (css, js, html, img) have to be in xamp/htdocs folder so I can run it manually by writing "localhost/filename.php" in address bar. It works only if my php file is exactly in htdocs folder. Otherwise when I try to run my file from folder where the rest of my project is and in address I add "localhost/projectfolder/homepage.php" I got message saying: "
Warning: Unknown: failed to open stream: No such file or directory in
Unknown on line 0
Fatal error: Unknown: Failed opening required 'D:/xampp/htdocs/Damir
Jelusić/homepage.php' (include_path='D:\xampp\php\PEAR') in Unknown on
line 0"
I couldn't find a solution to this. Also I would like to be able to run my php page just by clickin little chrome icon in phpstorm. Tell me if it is possible. Cheers!
I have not take care of my site for couple months. Recently, I want to update my Wordpress and Themes. However, when I try to login www.beatyourbuy.com/wp-admin. It give me below message. First of all, I am not a IT expert, have limited knowledge of IT. Would really appreciate someone can help me about this.
The error message show as below (forgive my poor English):
Warning: include(/home/fredyu/public_html/wp-content/plugins/woocommerce-checkout-manager/includes/classes/main.php): failed to open stream: No such file or directory in /home/fredyu/public_html/wp-content/plugins/woocommerce-checkout-manager/woocommerce-checkout-manager.php on line 15
Warning: include(): Failed opening '/home/fredyu/public_html/wp-content/plugins/woocommerce-checkout-manager/includes/templates/functions/required/shipping_required.php' for inclusion (include_path='.:/opt/alt/php55/usr/share/pear:/opt/alt/php55/usr/share/php') in /home/fredyu/public_html/wp-content/plugins/woocommerce-checkout-manager/woocommerce-checkout-manager.php on line 27
Warning: include(/home/fredyu/public_html/wp-content/plugins/woocommerce-checkout-manager/includes/templates/functions/woocm_editing_wrapper.php): failed to open stream: No such file or directory in /home/fredyu/public_html/wp-content/plugins/woocommerce-checkout-manager/woocommerce-checkout-manager.php on line 28
There are more when you go to main page on www.beatyourbuy.com:
Fatal error: Call to undefined function wccs_positioning() in /home/fredyu/public_html/wp-content/plugins/woocommerce-checkout-manager/woocommerce-checkout-manager.php on line 75
It appears that the WordPress update has caused a problem with the Woocommerce Checkout Manager plugin.
To correct this, you must disable the offending plugin woocommerce-checkout-manager.
This will require you to have FTP access to your site. Once login via FTP , browse to the plugin directory wp-content/plugins/ and rename the folder woocommerce-checkout-manager to woocommerce-checkout-manager-disable.
You should now be able to log into the WordPress admin page and the Woocommerce Checkout Manager plugin will be deactivated.
Going only with what you have written, as a general rule it is advisable to update all plugins prior to a WordPress core update.
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.
I'm in the middle of some work and suddenly I get this.
Warning: require(/opt/lampp/htdocs/ERP/laravel/÷5 ication)
[function.require]: failed to open stream: No such file or directory
in /opt/lampp/htdocs/ERP/public/index.php on line 34
Fatal error: require() [function.require]: Failed opening required
'/opt/lampp/htdocs/ERP/laravel/÷5 ication'
(include_path='.:/opt/lampp/lib/php') in
/opt/lampp/htdocs/ERP/public/index.php on line 34
This error is shown on some requests that have no relation, so there is not a problem with them. This problem started showing a few hours ago
I have checked the files mentioned on the message and they are OK, based on the download I just made to make sure.
If I keep refreshing the page the file name changes. If I insist, it will end up loading my page. This process is costing me a lot of time, I'm trying to make some tests and sometimes this message shows up.
Well...you said that it happens in same pages that make requests, take a good look on your requests and try looking for something wrong.
A good tip is to use the Profile on your framework configuration. You will have a bottom bar with details about the queries executed and logs created.
I think that will help you find the problem.