I'm using Paypal's Classic API to do Direct Payment on my site.
At the beginning of the DirectPayment sample on DoDirectPayment.php there is this line:
require_once('../PPBootStrap.php');
and it gives me this error:
Fatal error: require(): Failed opening required 'PPAutoloader.php' (include_path='.:/Applications/MAMP/bin/php/php5.4.4/lib/php') in /Users/jasonburton/Sites/georgetown/wp-content/themes/georgetown/paypal_direct_payment/samples/PPBootStrap.php on line 12
Now, that PPAutoloader.php call is an include within bootstrap. This doesn't just happen in bootstrap, it happens with all files that I try to include. The paths are just not right and I don't know what to do. I've echoed out my path in terminal and it just gives me:
/Applications/MAMP/bin/php/php5.4.4/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin
Any hints on how I can fix this problem? I know I'm not giving much information here but it's all I've got at the moment.
Any help is appreciated!
Did you run Composer ? We are using Composer for dependency management.
https://getcomposer.org/
Instructions are in the SDK Readme file too: https://github.com/paypal/merchant-sdk-php/blob/master/README.md
Related
I have a youtube.d.ts file from DefinitelyTyped project. It works great in my webstorm at edit time but when i go to run it I get a 404 typings/youtube.js not found. There is no file there. What do I do to get this file?
404 typings/youtube.js
I believe you have something like require('typings/youtube.js') somwhere in your code.
This should not be there.
Fix
Webstorm has magic inference to help you develop anyway you want. However your runtime might not support this.
Remove the require call,
don't confuse typings with runtime dependencies.
Read up on modules (https://basarat.gitbooks.io/typescript/content/docs/project/modules.html) and commonjs / webpack (https://github.com/TypeStrong/ts-loader)
I think my question is already asked, but I didn't find any topic about that.
When I try somme script with kivy, I have sometimes errors (such as undeclared variable, bad indentation...), but Qpython don't display them.
I lunch kivy with:
"#qpy:kivy"
and consequently, there is no console. A log is however present, but it's empty.
Is there a way to remedy this ?
Should I add a line to display error ?
Thanks
Simon
PS: The "print" command is also useful, but not working (no console). I think it's the same problem.
The newest 1.2.0 version had fixed this blank log issue.
I am using webino/WebinoImageThumb module to generate thumbnail in my zend 2 application but it shows an error
"Fatal error: Class 'GD' not found ..."
Is there is any other module or library available to do this like php thumb etc.
Please help.
The error message obviously says the problem. You need the GD extension enabled on your system to use image processing capabilities of WebionoImageThumb module.
You should read installation documentation and follow the steps described there.
Hi i am trying to stream video to http webpage, I have tried the following applications source code Android-eye project and im getting the following error.
03-23 17:12:47.672: E/AndroidRuntime(27063): java.lang.UnsatisfiedLinkError: Couldn't load mp3encoder from loader dalvik.system.PathClassLoader[dexPath=/data/app/teaonly.droideye-1.apk,libraryPath=/data/app-lib/teaonly.droideye-1]: findLibrary returned null
Any help would be gratefully appreciated..
If anyone can suggest a tutorial for streaming live camera android video to VLC or webpage that would be great .
Thanks
I resolved this issue by rebuild the JNI code for all those beginners like me who are not NDK friendly,
All you need to install the NDK from below URL:
http://developer.android.com/tools/sdk/ndk/index.html
Please make sure that you have set the environment variables like
NDK_HOME -- \android-ndk-r9 {directory must contain `ndk-build` file}
Path -- %NDK_HOME%
open the command prompt go to the directory where JNI code exist, mine under the below path
cd C:{rootpath}\android-eye-master\jni
C:{rootpath}\android-eye-master\jni>ndk-build
Then refresh your android project in eclipse and run as Android Application.
Fixed the problem, I didn't have the NDK installed .
viTables only seems to work with python 2.5. I have downloaded HDFView, but when I try to open a table I created following this tutorial, I get the following error message:
Failed to open file C:\tutorial.h5
java.io.IOException: Unsupported fileformat - C:\tutorial.h5
Any ideas for getting HDFView to work?
Is there something I need to do when I'm using pyTables from python to make the format more generic?
Any other good HDF viewers?
Btw, I've just discovered PyTables, and I'm really excited about it.
ViTables works for me with python 2.6 on windows. It is supposed also to work with 2.7.
However the version on the official site did not work for me and crashed. In a mailinglist posting I found the link to the berlios ftp server where I got a version that works like a charm.
Have you seen ViTables?
http://vitables.berlios.de/