You've applied the change to general.js incorrectly. You have this:
It should be this:
If you upgrade to 1.8.10, you'll have the full version of the file.
options = {
expires: expire,
path: cookiePath,
domain: cookieDomain
};secure: cookieSecureFlag == true,
It should be this:
options = {
expires: expire,
path: cookiePath,
domain: cookieDomain,
secure: cookieSecureFlag == true
};
If you upgrade to 1.8.10, you'll have the full version of the file.