Hi,
Installed phosphorum successfully on my WHM server. But when populating database using command usr/bin/php /home/xxxx/public_html/forum/forum seeder:populate , I am getting this message in command prompt
Start X-Powered-By: PHP/5.6.31 Content-type: text/html; charset=UTF-8
But no entries in database. When i check app/logs/application.log
, it says,
[04-Aug-2017 17:53:34][DEBUG] [boot] Parsed options: ["seeder:populate"] [04-Aug-2017 17:53:34][DEBUG] [boot] Task definition: {"task":"seeder","action":"populate","params":[]} [04-Aug-2017 17:53:34][ERROR] Whoops\Exception\ErrorException: fwrite() expects parameter 1 to be resource, string given in file /home/xxxx/public_html/forum/forum on line 28 Stack trace:
Whoops\Exception\ErrorException->() /home/xxxxx/public_html/forum/forum:28
fwrite() /home/xxxx/public_html/forum/forum:28
I googled, did not get any solution. Tried different ways to my knowledge without success. Did anyone get this kind of error while installing? if so, any solutions?