At the time this thread https://xenforo.com/community/threads/generating-password-salt-hash-with-xf-and-auth-with-java-program.162801/ was posted I got an alert. The watched icon showed in What's New but when I viewed the thread it showed the "Watch" button so I now twice I've watched and then...
I'm working on a testing addon to learn how things work and I'm having trouble minifying my JS. I have a build,json file in Nerbert/Testing like this
{
"additional_files": [
"js/vendor/nerbert"
],
"minify": [
"js/vendor/nerbert/testing1.js"
]
}
My file is...
I had a vBulletin product Helpfulanswers for rating posts that I recoded for XF. I'm working on rebuilding the table and adding a username field with the following query that reads from one table and inserts into another
$return = $this->_getDb()->query('
INSERT INTO...
Well. I'm not going there; my next projects will be converting this and the template editor over to XF2. I've only begun learning how to do XF2 add-ons. Playing around with ftp is something I may take up much later.
But just one last thing: I'm not at all convinced this has anything to do with...
Logging in is for ftp. This is AJAX.
Yeah, I could make a user/password form, but what would you submit to? You can't submit to a directory. Somewhere on the server Is some scripting for ftp and even if you logged in for that it wouldn't help with AJAX.
I don't know what you're using to edit...
On my site I can set that to view the dir tree at any level I choose. So you could edit out that dirname() line and try to view public_html. The mystery is still what happens to the slash at the beginning. Get $pattern set to view public_html and try that hack in post #31 and see if that fixes it.
dirname just cuts the last folder name off the end. If everything was working the dir tree would show everything in the me folder instead of public_html.
My other admin can't figure this out either. Actually I think it's Russian hackers!
I'm not surrendering yet.
I PMed my other admin about this. He's at work so I haven't heard back yet. If he can't figure this out I think I'll register at Stack Overflow and inquire there. I'm sure they'll want to know what server you're using so could you see if you can find that? Maybe in your hosting service's...
In the error message it already shows the missing slash when it passes the $pattern value to subDir() (#2 in stack trace)
So let's try this hack at the top of subDir():
public function subDir( $pattern, $is_last, $level, $html)
{
$pattern = "/" . $pattern;
$pattern =...
Well, I guess it's not the slash problem. It's frustrating that the error message says no such file or directory and then in the stack trace you see that very directory.
Your error message formatting is different from what I see on my site. What server are you using and what PHP version?
I'm...