deepwather / plexWatchWeb-2.0

This is my development of the original plexWatchWeb from "https://github.com/ecleese/plexWatchWeb".
8 stars 0 forks source link

Unable #2

Open Gamechiefx opened 9 years ago

Gamechiefx commented 9 years ago

I am am error and admittedly my write permissions were not set but i did set them afterwards however i still get weird login errors

Notice: Constant USE_USERNAME already defined in C:\xampp\htdocs\login.php on line 56

Notice: Constant LOGOUT_URL already defined in C:\xampp\htdocs\login.php on line 59

Notice: Constant TIMEOUT_MINUTES already defined in C:\xampp\htdocs\login.php on line 62

Notice: Constant TIMEOUT_CHECK_ACTIVITY already defined in C:\xampp\htdocs\login.php on line 66

I also get unable to communicate with Pleax Media Server for some reason as well

I did copy this plexwatchweb2.0 over the 1.0 version i wonder if that had anything to do with error.

Could you help in troubleshooting this wtih me!

Thanks

universelover4 commented 8 years ago

I'm having the same problem, can't seem to get it working, replacing history.php with settings.php gets me too the settings but i still get error's

universelover4 commented 8 years ago

I replaced the section of code in login.php with the following which cleared up the errors but everything still isn't working right.

// request login? true - show login and password boxes, false - password box only if (!defined('USE_USERNAME')) define('USE_USERNAME', false);

// User will be redirected to this page after logout if (!defined('LOGOUT_URL')) define('LOGOUT_URL', 'index.php');

// time out after NN minutes of inactivity. Set to 0 to not timeout if (!defined('TIMEOUT_MINUTES')) define('TIMEOUT_MINUTES', 0);

// This parameter is only useful when TIMEOUT_MINUTES is not zero // true - timeout time from last activity, false - timeout time from login if (!defined('TIMEOUT_CHECK_ACTIVITY')) define('TIMEOUT_CHECK_ACTIVITY', true);