swina / IceMood

Icecast Control Panel
http://icemood.moodgiver.com
17 stars 11 forks source link

A PHP Error was encountered #2

Open edinsof opened 9 years ago

edinsof commented 9 years ago

Hi. Im testing IceMood and get errors.

settings dont store info and i setup chmod 777 for icemood.php

A PHP Error was encountered

Severity: Warning

Message: file_get_contents(autodj.dat): failed to open stream: No such file or directory

Filename: controllers/Dashboard.php

Line Number: 83

Backtrace:

File: /var/www/html/application/controllers/Dashboard.php Line: 83 Function: file_get_contents

File: /var/www/html/index.php Line: 292 Function: require_once

peeles commented 9 years ago

how did you over come the login process as that's looking for a none existent file 'ajax/login' upon click of login...

'settings dont store info and i setup chmod 777 for 'icemood.php'

the above is set in the 'config.php' file in the same folder...

edinsof commented 9 years ago

i had same problem and fix enabling mod_rewrite

swina commented 9 years ago

Sorry but this a very beta version. I am fixing the problems in order to have a decent release. About the PHP error create an audio folder under root of the installation folder. Create 3 subfolders:

Create in audio/playlists folder a file named autodj.dat Write in the autodj.dat following line:

songlist

You need to have mod_rewrite enabled.

I want to thank you for testing this app. I am working in order to get it better.