Paypal integration with Yii - paypal

This is my Directory Structure in yii
Project-Name
Source Files
Protected
->controlleres
->Vendors
In vendors I have paypal merchant sdk.
In controller I have written an action which calls setExpressCheckout, but I am getting the following error :
include(PayPalAPIInterfaceServiceService.php): failed to open stream: No such file or directory
Please help me out.
Thanks in Advance.

Related

doGet Error found

I created Google Script. Now when I run it in Google Script, it runs perfectly and does the file movement to folder. Also I can create Web App Deployment for publishing. Now when I try to run the Script in Browser by entering the link, it returns error : Script function not found: doGet. Please tell me what is wrong in my Script. My requirement is that I had a website at www.rohansarker.com where I want to insert HTML or JavaScript or PHP so that the Google Script runs from my Website on opening. Please help me how I can design the same.

Alfresco Workflow notification email template

I'm new to Alfresco, and I have been trying to customize the email templates for workflow notifications. I have two issues that I appreciate some help with:
I have accidentally deleted the default template from the repository. When I uploaded it again, it gives me this error when trying to send an email:
Exception while invoking TaskListener: Node does not exist: workspace://SpacesStore/wf-email-html-ftl(Status[changeTxnId=fd950a3d-d236-4cb8-b2df-3337187c6aef, dbTxnId=1250, deleted=true])
Second, I want to include a link to the WF's document in the email sent. For this I need the site id in order to include it in the url of the link to be displayed. I tried to retrieve it from space object but it's not working. (I was testing on the server on which my application was deployed. On my local machine, I am getting the error above in my eclipse project's console, so I'm not being able to test and get the exact error.)
I appreciate any help and Thx in advance.
I've you've deleted it, go to your trashcan through the old explorer interface /alfresco.
Or login as admin and go to the trashcan in Share and restore your file.
If you upload the file, it gets a new UUID, so references will be broken.
You don't need the site id in theory. You can browse to the same document through the Repository which doesn't have a site :).
This is an example from my environment: share/page/document-details?nodeRef=workspace://SpacesStore/fbb062e6-e941-42bf-ade4-3ac3acc05501
So it's just /share/page/document-details?nodeRef=<UUID>

Zend A 404 error occurred Page not found

I am new to zend frame work. I am in the process of learning this, in fact at the very beginning of this. My problem is that I download the zend studio and try to run the zend application by following a tutorial on net but the when I run the code it said that
'A 404 error occurred
Page not found The requested URL could not be matched by routing '.
I googled man time and applied all the possible solutions on it but all in vein. Kindly help me in this regard.
To Do list:
check your server folder permission -> 777 for the development
check .htaccess file in the public folder, there is a good example .htaccess files for Zend in here stackoverflow
check your php configuration for model rewrite, unlikely sometimes it does not install
check your apache site-enable file for model rewrite and allowaccess
you need to google them out, but that is it, after you finish your first one , all other project just copy from the first one

Error! Could not find a Joomla! XML setup file in the package

i purchased "wordpress for joomla " extension and now i am not able to install it in my jooma site (version 1.5.23).While instaalling displays a message like
"
JFTP::login: Unable to login
JClientHelper::setCredentialsFromRequest failed
Error! Could not find a Joomla! XML setup file in the package " .Anyone please help !
Your FTP information are maybe wrong. Go in the administration/Config and check ftp informations.
You're also using an old Joomla version : update and prepare to Joomla 2.5!

Problems with zend-tool reporting that providers are not valid

I have recently setup XAMPP 1.7.3 and ZendFramework 1.10.4 on a new computer and many of the commands that I normally use now fail.
Here are the steps I used to setup and test ZF.
First I added the ZF library folder (C:\xampp\php\ZendFramework-1.10.4\library) to the include path in php.ini.
Then I added the ZF bin folder (C:\xampp\php\ZendFramework-1.10.4\bin) to my Path system variable.
To test that everything is configured correctly I ran the command "zf show version" from the command line. The result is "Zend Framework Version: 1.9.6".
Immediately something appears to be wrong. The file that is downloaded is "ZendFramework-1.10.4.zip" and the reported version is 1.9.6. I have re-downloaded the latest version (1.10.4) and removed old copy. Still the incorrect version number problem persisted.
Having done some research there is a bug in the ZF knowledgebase that version 1.10.3 reports a wrong version number. So that may explain the version number problem.
Moving forward I tried to run some zf-tool commands and certain commands reports that the action or provider is not valid.
Example:
C:\xampp\htdocs>zf create project test
Creating project at C:/xampp/htdocs/test
C:\xampp\htdocs>cd test
C:\xampp\htdocs\test>zf create controller Test
Creating a controller at C:\xampp\htdocs\test/application/controllers/TestController.php
...
Updating project profile 'C:\xampp\htdocs\test/.zfproject.xml'
C:\xampp\htdocs\test>zf create action test Test
Creating an action named test inside controller at C:\xampp\htdocs\test/application/controllers/TestController.php
...
Updating project profile 'C:\xampp\htdocs\test/.zfproject.xml'
C:\xampp\htdocs\test>zf enable layout
An Error Has Occurred
Action 'enable' is not a valid action.
...
C:\xampp\htdocs\test>zf create form Test
An Error Has Occurred
Provider 'form' is not a valid provider.
...
Can any one provide insight into these errors and how to correct them?
I had a similar issue, it turned out that I needed to manually update the zf.bat and zf.php files that came included with xampp after updating to the latest zend framework.
I got them from the zend svn here: http://framework.zend.com/svn/framework/standard/trunk/bin/
the simple way if you are using xampp, just go to the path "xampp\php\PEAR" an replace the older Zend directory with all included files by a new one zend 1.10... dir and your porblems are lost :)
i think your problem is, that Zend Tool is shipped with xampp since some versions.
Try to find zf.bat in your Xampp directory and remove it ;)
ZF friends have written the worst kind of docs. For XAMPP user, it is more difficult. I have learning ZF and posting error getting on the path. I am also using XAMPP.
Your error list is very big. I hope I can help you.
Solution for error "An Error Has Occurred
Action 'enable' is not a valid action." is XAMPP's Zend Tool installation. Delete that.
Check here for more details about the solution and other possible errors: http://www.satya-weblog.com/2010/11/zend-framework-creating-layout.html.