336 comments found.
is there a front end for non-admin users?
The PHP at admin/css/style.css attempts to request fonts from Google through a non-SSL connection. It should be https in the link.
The same happens in the admin/install/css/styles.css, though that’s obviously less of a problem since the folder is renamed or deleted after installation (though there is http://localhost/ at admin/install/db_dump.sql) to start things off with
In fact there are over 400 occurrences of http: (in admin/includes/PHPMailer.php for instance). Many are thankfully only sources in comment or links to the developer’s own site, though by no means all are.
This is clearly stale software. Just a search and replace on these would have been appropriate for what is a login script.
PHP warnings (using PHP version 8.1.32) in error logs:
PHP Warning: Trying to access array offset on value of type bool in [/server/path/root/]admin/rightsidebar.php on line 18
PHP Warning: Trying to access array offset on value of type bool in [/server/path/root/]admin/rightsidebar.php on line 19
This appears not only in the PHP error logs but right there in the backend right-hand sidebar under “User Activity”.
The code is treating a boolean as an array.
Following the hint from @active_ap below, to patch the error:
In admin > rightsidebar.php, replace:
$lastlogin = $adminfunctions->displayDate($row5['timestamp']); echo $row5['username']." logged on - ".$lastlogin;
... with:
if ($row5 === false) {
echo '<p>[Placeholder for author code error]</p>';
} else {
$lastlogin = $adminfunctions->displayDate($row5['timestamp']);
echo $row5['username']." logged on - ".$lastlogin;
}
But this should be fixed, right?
I cannot seem to login into:
https://preview.codecanyon.net/item/xavier-php-login-script-user-management/full_screen_preview/9146226with the credentials supplied in the upper right corner
Hi, I just tested from my phone and it worked fine. User : admin password is : P4ssw0rd (capital P and the vowels are replaced with numbers 4 and 0)
It does not work if you click on the live preview, because then it’s captured inside the Codecanyon frame. It does work when you use the Angryfrog directly.
Just a little advice: “it works on my end” is usually not considered helpful….
Thanks for the advice. I tested from within the CodeCanyon window too. Very strange, but will investigate.
Log into the Admin control panel. If there is no user on the system, the right panel menu under the User Activity will indicate two notices in the demo.
To correct the issue: Modification // Check if no records were fetched if ($row5 === false) { // If fetch() returns false, print message echo ” There are no user records.”; } else { // If a record is fetched, proceed with using $row5 // You can process the record as needed $lastlogin = $adminfunctions->displayDate($row5[‘timestamp’]); echo $row5[‘username’].” logged on – ”.$lastlogin; }
admin demo account doesn’t log in. can’t see what’s inside
there is confusion on where to log in or not.the demo button points to the user login and registration but shows admin credentials in the top right corner while the link in the description points to the admin login.
Also, if you could make a “create page” section with code editor, would be great. this way, we could build the site already inside this system
HI, just tried it and it worked fine? admin and P4ssw0rd (zero before d end not O)
like i said, there is a little confusion. If you click the button Preview, it directs to user panel and the credentials don’t work. If you click the link in your description, directs to admin panel and credentials work.
It works for me, so not too sure what you mean. If I click “Live Preview” it goes to the login screen, I put in admin and P4ssw0rd and then you get logged in and get “Welcome Admin” with a link to the admin panel?
Hello,
I am interested in this product as it might be able to help me address some issues.
I have a legacy Classic ASP system that uses MSSQL.
a) would it be straightforward to use a MSQL database with this ?
b) I know the field names would be different but I can handle that. ?
c) would it be easy for me (programmer) to add extra fields to the User screens. ?
d) Do you have a version that supports having the Users Photo displayed ?
Thank you
With this app, can i control In such a way that no one can access my app login page without first becoming my member. It will be even better if xavier login can also be used for my app login.
Hello, is this script developed with pure PHP, or does it use a framework?
HI, it’s pure PHP
another error when adding a group: Fatal error: Uncaught PDOException: SQLSTATE42000: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘groups (group_name, group_level) VALUES (‘Subs’, ‘4’)’ at line 1 in /home/rankcrm/public_html/admin/includes/adminprocess.php:551 Stack trace: #0 /home/rankcrm/public_html/admin/includes/adminprocess.php(551): PDOStatement->execute(Array) #1 /home/rankcrm/public_html/admin/includes/adminprocess.php(35): groupCreation(Object(Database)) #2 {main} thrown in /home/rankcrm/public_html/admin/includes/adminprocess.php on line 551
Hi. I cant replicate the error. Can you send me a message so we can chat over e-mail?
I cant login or create
Can you send me a message using the support contact form.
The demo works fine. 2 people registered yesterday, for example.
Hi, before i get this app. can the user upload file for example pdf files in owner account area. Thanks for your answer.
HI, no the script doesnt support that.
Hi I bought your script. I installed it successfully. In the Admin dashboard, the settings does not work. If I click on General settings or Registration settings (or any other) it reloads the page but does not access to settings page. Please help.
Please answer
The script is useless without your support. I have to ask for refund.
Can u send me a message via the message system and send links and logins etc
I already sent but no answer. I sent now a new message
I’ve not had anything. To be able to help I need to see specifically your files/folders/setup etc. What name do you use in the nmsg?
Sorry I do not trust in your support anymore. You contacted me because I requested a refund only. Please refund my purchase. Your support is not trusted.
I’m just one person. Sometimes I am away or busy so don’t see support requests straight away. Anyhow, you need to request the refund through CodeCanyon. Do that and I will refund.
Fair enough. I have requested the refund. Thank you.
I moved my admin containing all the login / xavier scripts folder from a subdomain to the main domain and now when i try to log in it just keeps going back to the login page. It is still using the same database, the only thing that has chnaged is the location of the admin files. It also takes about 5+ seconds to do something after i click the login button.
It was all working fine when it was on the subdomain. What do you think the issue may be?
Its the admin user that I am having issues with, seems like if i create a new account i can get in
Looks like whenever i submit a question, it causes my brain to think outside of the box and figure out the issue. “Rubber Ducking…”
I just deleted the admin user and changed a newly created account to the super admin and now it all works fine.
Well done for fixing!
hi – i wrote to the support over codecanyon and directly to angry – get no answer
I don’t see your email or question here? Can you resend?
when I use the following .htaccess:
RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule $ $1.php [L] RewriteCond %{THE_REQUEST} /([.]+).php [NC] RewriteRule ^ /%1 [NC,L,R]
in order to hide the .PHP extension I get:
Notice: Undefined index: session_id in /home/pingosoftware/public_html/onboarding/auth/admin/includes/Functions.php on line 413
Anyone find a work around for this?
I fixed this by just keeping the auth/admin directory outside of the directory that i am applying the htaccess rules to.
Hi A presale question. Does the script records of which user logged in and which IP used and when? Or only shows the last IP? Is it possible to do a revers check to see the IP which user’s account belongs to? Thank you
HI, it will only show the last IP address.
Im getting this error now when i try to log in:
Fatal error: Uncaught PDOException: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens in /home/civco/dev.civco.com/cms/admin/includes/Session.php:129 Stack trace: #0 /home/civco/dev.civco.com/cms/admin/includes/Session.php(129): PDOStatement->execute(Array) #1 /home/civco/dev.civco.com/cms/admin/includes/Session.php(95): Session->confirmUserID(‘e5702a2070535da…’, ‘1’) #2 /home/civco/dev.civco.com/cms/admin/includes/Session.php(53): Session->checkIfLoggedIn() #3 /home/civco/dev.civco.com/cms/admin/includes/Session.php(26): Session->startSession() #4 /home/civco/dev.civco.com/cms/admin/includes/controller.php(28): Session->__construct(Object(Database)) #5 /home/civco/dev.civco.com/cms/login/sites/index.php(1): include(’/home/civco/dev…’) #6 {main} thrown in /home/civco/dev.civco.com/cms/admin/includes/Session.php on line 129
It was working fine a little while ago and im not sure what changed? Do you have any idea of what could be causing this?
The server it is running on is using php8.0
The only way to use the site again is to clear the cookies for that site.
Disregard. I found the error.
Well done for solving! 
Hi. Can’t login to admin account using: Admin – as login and password as password….
Please write here default login and password credentials in localhost
thank you
Hi, you could delete the admin account from the database and recreate it by registering a username called admin. There is no default admin password as you choose that when you install the script.
Message me if you get stuck.