1144 comments found.
Dear Milos,
I used your system in our new app but unfortunately i’m getting an error:
../ASEngine/ASSession.php on line 34
Do you know what this means?
Hey,
Can you please provide more info about the error message itself? The code inside ASSession.php file on line 34 is session_start();, so if you are getting an error with it it means that PHP is unable to start the session for some reason.
This usually happens if you haven’t included AS.php file at the very top of your own php file. It has to be included at the very top of the file, meaning that there cannot be anything before it, not even a blank space character.
Btw, for any future questions, please submit the ticket on https://milos.support-hub.io since that is the fastest way to get the response.
Regards,
Milos
How about VK.com, Instagram Login ? and in Facebook can we ask more permission to get User Birthdate, location, gender etc? and store it
Hey,
The app is using Hybridauth (https://hybridauth.github.io/hybridauth/userguide.html#index) package under the hood to handle social authentication, which means that you can easily add any new providers supported by Hybridauth and set custom scopes/permissions for each one of them.
Of course, storing any additional data will mean that you will have to modify the DB and add those columns and write the PHP code to save that new data to the DB.
Regards,
Milos
Can not leave message on the support system but I have 5 months left c320d267-5420-4c3b-97ae-f161c2557420
Hey,
I’m sorry about that. I was updating something and temporarily disabled the integration with Envato API. But it is enabled again now so you can create a ticket on https://milos.support-hub.io 
Regards,
Milos
Hi. I’m moved users.php, profile.php, user_roll.php into another folder and seem Ajax not works. Such as in Users.php I can’t see user details on modal. What shoul I do?
Hey,
You should update the path to ASAjax.php file inside JavaScript files used by the app.
Btw, your support for this item has expired. Please extend the support if you have any other questions in the future.
Regards,
Milos
Thank you. I resolved problem!
After installation, can login. But after clicked the profile tab, it will ask to login again. It seems the session not passed.
Hey,
It looks like something is wrong with your server configuration, or your IP changes to often. Check this support ticket to see what you should do: https://milos.support-hub.io/tickets/683
I would recommend you to start debugging by setting the LOGIN_FINGERPRINT to false in your ASConfig.php file.
Regards,
Milos
When I use jquery ajax it works fine but if I use JavaScript fetch I get Invalid CSRF token. Any help with that would be great!!
Replied via Suport Hub. 
I need to have the login redirect back to the page the visitor went to
Currently I have
- removed default definition for SUCCESS_LOGIN_REDIRECT from ASConfig.php
- my common template – header.php:
- gets canonical URL of page and defines as THISFILE
- defines SUCCESS_LOGIN_REDIRECT as THISFILE
- includes AS.php
- redirects to login.php
Logging in...” message
The error I get is:
PHP Notice: unserialize(): Error at offset 0 of 22 bytes in C:\...\public_html\admin\as\ASEngine\ASHelperFunctions.php on line 42
What am I doing wrong?
Hey,
You cannot just remove SUCCESS_LOGIN_REDIRECT constant, since it will break the get_redirect_page() function from the ASHelperFunctions.php file. In general, that is not the way to redirect back to the page from which visitor came from.
The way I would recommend it is the following:
1. On top of login.php file, right after you require AS.php file and check if the user is logged in, you can add this code
$redirectPage = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : get_redirect_page();
ASSession::set('prev_page', $redirectPage);
2. Inside ASLogin.php file, at the bottom of userLogin method, you will modify the redirect to look like the following:
respond(array(
'status' => 'success',
'page' => ASSession::get('prev_page')
));
And that’s all you need to do to redirect users to the previous page after login. 
Regards,
Milos
Demo doesn’t work
Hey,
What issues do you have? It is working fine from what I can see…
Milos
Pre purchase question. I see that you say this script can be used with an existing php system. I have a db table with user information already in it. Is it easy for me to integrate your system into that table? I’m going to guess that I will direct your system to that table and changed the field names to your username/password so it inserts correctly. If this the direction that will need to be done in order to do this?
Hey,
It really depends on how your table is structured and what fields it has. If you modify your table to match the structure of as_users table, then it will work without any issues.
Also, if you already using some other auth system and your users already have passwords, you will have to notify them that they need to use the Forgot Password feature to reset their passwords because AS won’t be able to recognize the hashed versions of the passwords from some other auth scripts.
Regards,
Milos
Can you tell us more about this last update? Only frontend?
Hey,
Yes, the update is 90% frontend rewrite and there are also some backend tweaks (mostly refactoring). Please check the upgrade guide for more info: https://milos.support-hub.io/articles/advanced-security-upgrade-guide
Thanks!
Hi. I have been using it well. now I am moving to new server. I have simply moved my DBs and all files. The new server is not connected to a domain yet.
I really want to test it before changing DNS settings to the new server. so I changed WEBSITE_DOMAIN, SCRIPT_URL etc to new IP like http://123.456.1.1, in the config file. but i cannot login.
Hey,
You should be able to login without any issues, it doesn’t matter if you have a domain or not.
Can you please create a support ticket on https://milos.support-hub.io with more details as well as the server IP address where you have installed the app, so I can check and see what can be a problem?
Regards,
Milos
can we collect data from any mail (template base) such as name , no, address … many more
Hey,
Not sure that I exactly understand what you mean but, since you get the whole source code after you purchase the script, you can customize it to work however you want.
Out of the box, AS only collects those things that you can see in demo.
Regards,
Milos
Hi Milos, where can I find the ASConfig.php in latest update?
Also i needed to change the database from MySql 5.1 to 5.7. After that the login page gives me back the following error: SQLSTATE28000 Access denied, unknown user! ... I tried installing the latest update of yours, but it also gives me back the same error during the installation process. In server settings the localhost is set to MySql 5.7. Can you help me please?
Answered to your ticket on https://milos.support-hub.io
Hi, is it possible to disable the registration. I just want to set the people who will have access?
Hey,
Of course. There is no such configuration option but you can just delete the registration related HTML from login.php file and delete “registerUser” case from ASEngine/ASAjax.php and you are good to go. 
Btw, for any future questions please submit a ticket on https://milos.support-hub.io
Regards,
Milos
Hi, is it possible to add extra fields to the registration form please ? I would like the user to also submit his own name, company name and telephone number. This is very important to us, to know who is creating an account… Thanks !
Hey,
Yeah, of course that it is possible. You can can customize the application however you get the whole application source code once you download the archive from CodeCanyon.
Unfortunately, there is no way to do it by updating a configuration file or something. You will need to manually edit the HTML and JavaScript code on frontend, as well as the PHP code on the backend, which means that at least some basic knowledge of those technologies is required.
Btw, please submit your future request by using our help desk available on https://milos.support-hub.io
Regards,
Milos
Already more than 1 year no update. Do I need to worry about login security from this version?
Hey,
Why would you worry? There are no known security issues with this version of the application. I’ll release an update soon but it will be related to the frontend and most likely nothing will be changed on the backend side of the app.
Regards,
Milos
hello please help me about use a gmail user profile. how can I show my gmail user profile?
thanks
Hey,
I’m not sure that I understand what issue you have. Please create your ticket at https://milos.support-hub.io and explain your issue in details and I’ll get back to you as soon as possible.
Regards, Milos
oh sorry dear, i want to show my gmail user picture pofile, can you help me about that?
Hey,
Unfortunately, that’s something that does not come with AS out of the box.
If you want to implement it you will need to do the following:
1) Extend the database to add one more field where you will keep the profile photo URL.
2) Modify socialauth.php file and access the user photo URL from $userProfile object like following:
$userProfile->photoURL
Once you have the url, you can save it to the db for the future use.
Regards,
Milos
dear loshMiS help me please, I have problem with my google user login! everything was good until 4 days ago. but now, when i try to login with Gmail, when login successful, the login redirected me to login page! or to website homepage! my script uploaded in subfolder site : http://uhd. edu .iq
script folder is : /barewbar please check it and help me
Hey,
I tried the google authentication and, from what I can see, everything is working as it should except that I am being redirected to your index page. However, when I try to access the ”/barewbar” again I see that I’m logged in successfully.
The redirect page after successful authentication is determined by SUCCESS_LOGIN_REDIRECT constant explained inside the docs: https://milos.support-hub.io/articles/advanced-security-configuration
So, if you want to change where users are redirected after successful authentication, make sure that you update this constant in ASConfig.php file.
Btw, for any future questions please create a ticket on https://milos.support-hub.io
Regards,
Milos
thanks dear bro thath right
Hello,
I bought your script and I have to say that is wonderful.
Unfortunately, the client decided to build the system in node.js so he cancelled the php version that I was building.
With this in mind, is it possible to get a refund?
Thank you in advance. Spyros.
Hey Spyros,
I’m glad you like it! 
Unfortunately, I really cannot approve the refund in this situation.
Regards,
Milos
Hey all,
I’m moving to a new help desk software developed by me and my team called Support Hub (https://support-hub.io).
For the future, all support tickets will be handled through our help desk powered by Support Hub which is available at https://milos.support-hub.io
Kind regards,
Milos