loshMiS

loshMiS supports this item

Supported

This author's response time can be up to 1 business day.

985 comments found.

page9011

page9011 Purchased

Why ASEngine Folder (writable) folder gets ‘x’ on 775? I uploaded with my ubuntu user so it owns the folder. Why did I have to set it 777. Why?

Hey,

It’s not absolutely required to have 777 permissions. You just need to have that folder writable so script can be installed properly. After the installation you should change permissions so the folder is not writable, for security purposes.

Regards,

Milos

page9011

page9011 Purchased

I have several AJAX and normal forms to send POST. js-bootstrap.php loads alright but “Invalid CSRF token.” every where!

Hey,

Well, since you are not using jquery you will have to manually append the token to the data you are sending.

You can do it like following:


//...
var _data = '';
_data += 'app='+document.getElementById('app-to-search').value;
_data += '&_as_csrf_token=' + _data._as_csrf_token;
//...

Of course, you need to include js-bootstrap before any of your code to actually make it work.

Regards,

Milos

page9011

page9011 Purchased

js-bootstrp.php has always been loaded. no problem with loading it.

O.K it kinda works. However, I got two input fields and js script codes like above on a page actually. those codes request to the same file ’./get-app-info.php’, which gets a different parameter selectively depending on which input button.

I put the code on both script code.

data += ‘&_as_csrf_token=’ + _data._as_csrf_token;

but only the first input field works. the second input field still gets “Invalid CSRF token.” message. Even though I put the code snippet only inside the second script, it never works.

page9011

page9011 Purchased

oh, never mind. it works now

Jukeboxi

Jukeboxi Purchased

Hi! System seemed to install as it should, but when I try to log in form says “Logging In” but nothing happens. I tried to reinstall but that didn’t help either (I cleared the data from database before reinstalling).

Hey,

It’s probably because of some error on the server-side. Do you have the app installed somewhere online where I can check it and see what can be the problem?

Regards,

Milos

Hey,

As you can see by monitoring the network requests (check http://docs.as-php.com/developer-guide.html#debugging-ajax-requests for more info), this is the error message returned by the server:

Catchable fatal error: session_regenerate_id(): Failed to create(read) session ID: memcache (path: tcp://172.xx.x.xxx:11211) in /home/u45243/public_html/ruka_2018_04_18/login/ASEngine/ASSession.php on line 69

It looks like there are some issues with your memcache session handler when session_regenerate_id() function is called…

Regards,

Milos

page9011

page9011 Purchased

I got a general question. I am learning programming. Although I succeeded to install it, the document was a little vague.

When I installed, I downloaded the zip file on my computer then unzipped and uploaded all of it to my ‘login’ folder. and I started installing on /login/install/index.php.

Is this the right way? Should I now delete the /login/install folder and its content? I would like to know what is not necessary like the document directory.

At last, Is there any uninstaller?

Hey,

Yes, that’s the correct way to install it.

You can remove the install and documentation folder after the installation. It’s not necessary to remove them, but you can if you want. All other files are required for app to work properly.

And no, there is no uninstaller. You will need to manually remove the files from the server.

Regards,

Milos

page9011

page9011 Purchased

The Nav’s height is so big that covers the most of sidebar menus on mobile.

Hey,

Yeah, you are right. Thanks for letting me know. You can easily fix this by adding the following CSS at the bottom of ASLibrary/css/style3.css file:

@media (max-width: 768px) {
    .bs-docs-sidenav {
        margin-top: 100px;
        width: 100%;
    }

    #form-details .form-group,
    #form-changepassword .form-group {
        width: auto;
    }
}

Regards,

Milos

by
by
by
by
by
by