tinywall / social

Tinywall Social Networking
Other
41 stars 44 forks source link

Error on First run #1

Closed xitclub closed 7 years ago

xitclub commented 8 years ago

I just setup the script and got error on first page

A PHP Error was encountered

Severity: Notice

Message: Only variable references should be returned by reference

Filename: core/Common.php

Line Number: 239

CaddyDz commented 7 years ago

@xitclub take a look at my pull request. it should solve the problem all you need to do after that is to set an encryption key

Cycle65 commented 7 years ago

Hey @CaddyDz How can i set the encryption key

CaddyDz commented 7 years ago

@Cycle65

initialize the Encryption library in your controller using

$this->load->library('encryption');

Generate an encryption key

$key = $this->encryption->create_key(16);

Save your key to your application/config/config.php, open the file and set:

$config['encryption_key'] = 'YOUR KEY';
Cycle65 commented 7 years ago

Hey @CaddyDz

I really need your help and i also get a job for you... please how can i get to know you in person...

pls hit me up: Skype: georgee501 Email: gtulay65@gmail.com phone:+231888776376/+231770195144

Cycle65 commented 7 years ago

@CaddyDz Hey guy..

can you help me out

A PHP Error was encountered

Severity: Warning

Message: Declaration of Landing::_validateUser() should be compatible with TW_Controller::_validateUser($page)

Filename: controllers/landing.php

Line Number: 3

A PHP Error was encountered

Severity: Notice

Message: Only variables should be assigned by reference

Filename: core/Controller.php

Line Number: 51

An Error Was Encountered In order to use the Session class you are required to set an encryption key in your config file.

CaddyDz commented 7 years ago

@Cycle65 my last PR #4 solves all these errors