336 comments found.
I have an existing php web app. I have not launched it yet so there are no users. But it is set up so that my users are in a table called members which is integral to the way the app works. Can I use this script and keep my members mysql table just as it is and add whatever fields your script requires to the existing members table rather than creating a new and separate users table?
There’s no reason why without a bit of work, that you couldn’t get this to work. Of course the script references the Users table and expects to find all the columns there, so you’ll either need to change the name of the column in your script to Users or vice versa with members.
Wow.. I have installed and started playing with the package, and after a few minor issues, which were fixed by searching here are in a QUICK answer email from the author.. What a ROCK SOLID start to my project.. Like everyone, I would like to see some changes and additions, but like the author, I have a full time job that is NOT web development. So considering the level of support being provided by Siggles, and the fact that the script is still being supported and improved for the past 5 years, I can no complaints.. Siggles, you should be teaching other authors how to do it.. Beside money I have ever spent on scripts EVER!! Thanks a million, can’t wait to see what comes next.
Thank you! 
Will this work with a Microsoft SQL Server database?
It will but it will require a bit of editing to get it to work, which I can’t really promise to support (but will try to help). The database uses PDO which is a database abstraction layer allowing you to speciy mssql rather than mysql but you might then need to edit some of the queries.
Having issues with emails not being sent when you create a user from the portal. Check all my WHM logs and there is no email sent at all. So, where is the cron or something that would send this >
Hi. Is this when admin creates an account from the admin panel rather than the user himself?
yes:)
OK, well that is by design. But there is an easy way to fix that. Please use the Codecanyon contact form to contact me and I’ll explain how via email.
Can I run it as saas monthly paid subscription after purchasing extended license
I also have problems with Google recaptha, I changed 2 files with 2 keys. Is tos Google recaptcha V2 or V3 or doesnt matter?
What error do you get?
Hi, compared to the other questions, this one will likely come across as stupid, however, since I don’t know the answer, here goes.
Your script looks like what I need. After going through the demo, I’m simply not clear on a couple of things.
1. Is this a script I can use in any HTML/PHP template, by inserting code for the registrations and login pages?
2. Am I correct in that I would protect certain areas of my site, under “setting” in the control panel of the script?
Thanks!!
Hi Ron, yes you can use it in any HTML/PHP template.
You can protect whole pages, or particular content on individual PHP pages, by adding a couple of lines of PHP on each page.
Thank you!
Can I translate into another language by myself?
Sure, but you would have to edit a few files. Are you talking about the language in the control panel itself, do you intend on having lots of admins?
Thank you, but now this is not a main question. Because I can’t make it work). I wrote to you using ” support”
I replied on that email – basically I think the issue is that the page you are trying to protect ends .html instead of .php ??
Some more info here – https://www.w3schools.com/php/php_syntax.asp
I configured the server to execute php code inside html pages. This can be seen at least because the first line of php code inside html is executed. The error happens next.
I succeeded! It needs to be improved on little things, but I made it work on other pages. Thanks for the support!
Error connecting to database – check your database connection properties in the constants.php file!
SQLSTATEHY000 php_network_getaddresses: getaddrinfo failed: Name or service not known PHP Version : 7.0.33-0+deb9u5
Warning: PDO::prepare(): SQLSTATE00000: No error: PDO constructor was not called in /var/www/html/admin/includes/Session.php on line 471
Fatal error: Uncaught Error: Call to a member function execute() on null in /var/www/html/admin/includes/Session.php:472 Stack trace: #0 /var/www/html/admin/includes/Session.php(59): Session->addActiveGuest(‘213.181.120.45’, 1569090679) #1 /var/www/html/admin/includes/Session.php(26): Session->startSession() #2 /var/www/html/admin/includes/controller.php(28): Session->__construct(Object(Database)) #3 /var/www/html/admin/index.php(6): include(’/var/www/html/a…’) #4 {main} thrown in /var/www/html/admin/includes/Session.php on line 472
I get this error after installing can you help
Did you use the automated or manual way to install?
Please check the uploaded constants.php page to make sure the credentials are all okay. If they are, please drop me a message and I’ll get back to you.
it seems to by right but now i get this Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘phploginserver.active_guests’ doesn’t exist in /var/www/html/admin/includes/Session.php:472 Stack trace: #0 /var/www/html/admin/includes/Session.php(472): PDOStatement->execute() #1 /var/www/html/admin/includes/Session.php(59): Session->addActiveGuest(‘78.40.250.100’, 1569243221) #2 /var/www/html/admin/includes/Session.php(26): Session->startSession() #3 /var/www/html/admin/includes/controller.php(28): Session->__construct(Object(Database)) #4 /var/www/html/admin/index.php(6): include(’/var/www/html/a…’) #5 {main} thrown in /var/www/html/admin/includes/Session.php on line 472
and i dit automate
It’s not finding the active_guests table. As you had the initial issue and now this one, it looks like the install didnt work correctly. My solution would be to start again with the automated installation, if that doesnt work try the manual installation. If that doesnt work, contact me via message and I can always log on to your hosting to see where you are going wrong.
oky i got it….. but now i get Login is invalid. Please try again
Did you start again or just try to fix the existing installation?
Hello at demo I can’t see any language switch. It is possible to change language for non english users?
No, not yet unfortunately.
Demo doesn’t work!
In what way? Seems to be fine for me?
That’s weird. Absolutely fine for me. Ive tried on different PCs and browsers etc.
Hello, I would like to use your script with another script pdocrud.com. When I use the 2 scripts together I get the following error message: ‘The file PDOCrud.php is missing in the includes folder.’ In previous posts concerning this error you stated the error could be due to 2 autoloaders. How do I resolve this issue if I want to use both scripts?
Hello can I get support on this issue?
I’m not in a position to help currently but will have access to a laptop in the next day or so and get back to you.
okay
Just following up on an answer. Thanks!
Try this…
in the autoload.php page, change the code to this…
<?php
/**
* The SPL __autoload() method is one of the Magic Methods supplied in PHP. It is used to autoload
* classes so that you do not need to 'include' them in your scripts.
*/
function autoload($class) {
if (file_exists(dirname(__FILE__) . "/" . $class . ".php")) {
require (dirname(__FILE__) . "/" . $class . ".php");
}
}
// spl_autoload_register
spl_autoload_register("autoload");
okay thank you. I’ll give it a try.
Hello tech support, when I try to update/edit a group, I’m getting the following error:
Notice: Undefined index: add-user in /home/db2platinum/public_html/db2/admin/includes/adminprocess.php on line 579
Hi, please can you contact me via the CodeCayon messaging feature.
Hi tech support, I eliminated the error by adding this line of code: if (isset($_POST[‘add-user’])) {...}
Is there an easy way to translate the application to any language.
Please consider releasing a pro edition with PayPal gateway integration & social media login .. Google | Facebook & Twitter. Your script already has 90% of what I need. However, I need an e-commerce solution that allows me to maintain control of my website design without being forced to use a 3rd party CMS.
Thanks!
Still Lovin the script (system) after all these years.
I am currently running v3.1.5
Is there an easy way to upgrade to v3.2?
I will gladly pay for another license if the upgrade path is easy (enough).
Again congrats on a great product and your continued support.
Alan.
Replied by email – Cheers! 
Hi, great script
.
Unfortunately I’m not a PHP-Expert, but I try my best to understand. I’d like to identify the visitors. Of course Users will log in. But how do I handle guests ? must they login ? (how ? User:guest is blocked) ? – As I want to build a plattform that offer services to all, but premium-services only to users. I’m playing with this script (whomami.php) to learn :
<?php
include_once rtrim($_SERVER['DOCUMENT_ROOT'], DIRECTORY_SEPARATOR) . '/xavier/admin/includes/controller.php';
echo "<p>Session: ".session_ID();
$return = $functions->getUserInfo($session->username);
if ($return === null) {
throw new Exception('Endpoint has no return value');
}
echo "</p><p>Hello Guest :)";
return $return;
$user_info = $functions->getUserInfo($session->username);
//$user_info = $functions->getUserInfoSingularFromId("username",$session);
echo "</p><p><strong>Username: </strong>".$user_info['username']."</p>";
?>
but that doesn’t work well – what confuses me : the session_id in the database is different than printed with echo .. is the session id crypted in the DB ? As I think I need to work with the session_id to identify individuel guests, as the are allowed to store data for my services..
Any suggestions ? (I don’t request script-support, only some comments that would help me to find my way)
Thank You Stephan
Hi Stephan,
I think you are overcomplicating it, you can do something as simple as..
if(!$session->logged_in){
the ! means NOT so if not logged in whereas…
if($session->logged_in){
means if logged in.
It’s used throughoout the script and you’ll see it in the demo, in the example, exampe-two and example-three folder sthat come with the script plus examples in the documentation.
$session->id is the user’s unique ID which you see in the database as the non-changing user’s id.
Contact me via the message facility if you need more help.
Hi Siggles. I wrote an email .. but by now not answered .. are you on holiday ? 
Hiya, I got your email just not had a chance to read/reply yet. Hopefully tomorrow. Thanks
Just replied. cheers
Hi,
how can i check if email is already registered?
Many of my users forgot username but using same email 
found by myself in functions.php
Nice one.
I can’t seem to tget reCaptcha to work. I update process.php and my actual form, but it still always fails. I;ve double checked everything, and the keys are correct?
There should be two different keys two different files. What error are you getting?
I updated process.php with my private key, and my registration form with the public key. For the registeration form I’m simply using a restyled version of the default example one provided in the package. However, whilst the captcha test appears, it always fails on submission.
IS there any error message?
It is possible to automatically add new members to an existing group?
Do you mean when they register? Yes that should be quite easy to do with a bit of additional code. Message me for more details.