Closed lonalore closed 9 years ago
Please make this correction to nodejs_chatbox.php:
if (!defined('e107_INIT'))
{
require_once("../../class2.php");
}
Yes, this solved the problem. Thank You! :)
I reopen this, because I have problem with e107::url() now. :) It always generates rewrited URLs, even if I rename or remove .htaccess file. :/
In issue https://github.com/e107inc/e107/issues/915 I got that answer e107::url() generates rewrited URLs if .htaccess file is available, and generates normal URLs if not. So, I don't understand. :/
Am I doing something wrong?
You're doing everything fine. e107::url() is just incomplete and needs to be expanded to produce 'old' legacy urls also.
Excellent! Thank You! :)
I try to implement e_URL, but I have no luck with it.
In my plugin, I have an e_URL implementation: https://github.com/lonalore/nodejs_chatbox/blob/master/e_url.php
Then I rescaned plugin directories with e107, and I cleared cache, but I always get a white screen after I type "chatbox" into my browser's address bar. Error log doesn't contain any details. The redirection rule appears in the admin area correctly.
My access.log only contains this:
What am I doing wrong? Any idea? :/