Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Problems to install couponic on localhost

Tags:

yii

I'm trying to install the couponic on my localhost (xampp), but I'm getting an error message:

Strict Standards: Non-static method UFactory::getModuleAlias() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\couponic\framework\uniprogy\framework\worklets\UWorkletConstructor.php on line 254

This is one of the errors, but all of them are from the same type on the same function (getModuleAlias).

I already rename the protected/config/inital folder to protected/config/public and when I access using the url right url (localhost/couponic/install) I get these errors.

Can you help me?

like image 749
matheus.rocha89 Avatar asked Jan 28 '26 12:01

matheus.rocha89


2 Answers

The problem here is that you have install probably in localhost php 5.4 and couponic doesn't support php 5.4, to bypass this problem you will have to replace

public function getModuleAlias($module)

with

static public function getModuleAlias($module)

but more problem will come up, until uniprogy make the script working on php 5.4

like image 78
vasillis Avatar answered Jan 31 '26 18:01

vasillis


Disable strict errors in your php.ini: error_reporting = E_ALL

Right now you probably have: E_ALL & E_STRICT

So you need to lose the E_STRICT part.

like image 39
UniProgy Avatar answered Jan 31 '26 19:01

UniProgy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!