Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please rename Controller to Vendo_Controller.... Fatal php error #4

Open
zsoerenm opened this issue Feb 28, 2011 · 3 comments
Open
Assignees
Milestone

Comments

@zsoerenm
Copy link

I couldn't run the userguide in Vendo because Vendo overwrites the Controller class which requires $this->view which is not part of the userguide.

After renaming Controller to Vendo_Controller (and placing it in the vendo folder) I finally got this error: Fatal error: Class Payment_Driver cannot extend from interface Vendo_Payment_Driver in D:\xampp\htdocs\lohag\modules\vendo-billing\classes\payment\driver.php on line 13

using the latest vendo develop branch

@zsoerenm
Copy link
Author

it should probably be:
abstract class Payment_Driver implements Vendo_Payment_Driver

and MODPATH\vendo-billing\classes\view\payment\offsite\google\checkout.php is missing a ";" after:

protected $_partials = array(
'shipping_method' => 'payment/offsite/google/checkout/shipping'
)

@zombor
Copy link
Member

zombor commented Mar 3, 2011

It's probably a good idea to change the core controller like you have.

The syntax error has already been fixed.

@zsoerenm
Copy link
Author

I still get a Fatal Error on:

Fatal error: Class Payment_Driver cannot extend from interface Vendo_Payment_Driver in D:\xampp\htdocs\lohag\modules\vendo-billing\classes\payment\driver.php on line 13

@ghost ghost assigned zombor Jun 14, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants