Closed albertz-chaniago closed 8 years ago
Hi,
Are you using PHP7? This repo is not tested on it so probably there will be issues.
yes iam using php 7
As I seen from the error message and from this article, you can try to edit the file directly as temporary solution: /application/modules/admin/libraries/Image_moo.php (which is a dependency of Image CRUD library).
See if it works after changing line 93 from:
function Image_moo()
to
function __construct()
thank you,probrem solved.
Hyy waifung0207 i have the same error with albert but nothing happend after i do what do say. can you help me?
Hi if313103, can you copy the error message so I can check with it?
i just download project image gallery grocerry CRUD from (http://waryantosite.blogspot.co.id/2013/10/membuat-galeri-foto-dengan-codeigniter.html) and i try to execute application in my PC but when i try to upload image in Example1 i got error like this :
A PHP Error was encountered
Severity: 8192
Message: Methods with the same name as their class will not be constructors in a future version of PHP; Image_moo has a deprecated constructor
Filename: libraries/image_moo.php
Line Number: 69
Can you help me waifung0207 ?
Please just follow my suggested solution from above, I have answered albertz-chaniago already.
Message: Methods with the same name as their class will not be constructors in a future version of PHP; Image_moo has a deprecated constructor
Filename: libraries/Image_moo.php
Line Number: 69 Backtrace:
File: C:\Program Files (x86)\Ampps\www\ci_admin\application\third_party\MX\Modules.php Line: 157 Function: _error_handler
File: C:\Program Files (x86)\Ampps\www\ci_admin\application\third_party\MX\Modules.php Line: 157 Function: include_once
File: C:\Program Files (x86)\Ampps\www\ci_admin\application\third_party\MX\Loader.php Line: 177 Function: load_file
File: C:\Program Files (x86)\Ampps\www\ci_admin\application\modules\admin\libraries\Image_crud.php Line: 493 Function: library
File: C:\Program Files (x86)\Ampps\www\ci_admin\application\core\controllers\Admin_Controller.php Line: 132 Function: render
File: C:\Program Files (x86)\Ampps\www\ci_admin\application\modules\admin\controllers\Demo.php Line: 82 Function: render_crud
File: C:\Program Files (x86)\Ampps\www\ci_admin\index.php Line: 292 Function: require_once