grendel
7-6-02, 11:33 PM
Here are 2 pretty little problems for (hopefully) someone to tackle...
// 1 // I'm running phpWebSite (pWS) on a subdirectory (soon to be a subdomain, pending solution), and I want to also implement this on another directory in the domain. These 2 sites will need to be using different templates, and are completely distinct from one another, so just changing the paths to the appropriate files won't work (if that would work anyway).
Now, first, I need to figure out how to do this. I would need to create the tables using a different prefix for the second site, the way I understand it... but I have no clue how to go about doing that. Like, with pWS, you pretty much just put it on the server, and start it up, and it takes care of everything. Something tell me, though, that if I do that in the second directory, it wouldn't work, seeing as the same database is being used, and it will try to install the system using the defaults, overwriting the previous site. Am I missing it completely?
// 2 // User accounts. I'm trying to setup the user account feature, but I'm getting nowhere! Basically, here's the deal:
*I can create accounts through Admin
*I can create a 'new account' through the Sign Up
*the system will email me to provide a password for the account that I just created
*the system will email me to resend the password for an account that is setup through Admin
BUT...
*every single time I try to login, I get an Invalid Login error.
This happens whether the account was made through Admin, or through the Sign Up process. Case is not an issue, as it is correct.
It almost seems that the system isn't allowing ANY user accounts to be stored, although I would think that 'Admin' would be listed in with any user accounts, and it works fine... That's the weird thing: other than user accounts, it all works just like it's supposed to.
Any ideas on either of these probs??? TIA
// 1 // I'm running phpWebSite (pWS) on a subdirectory (soon to be a subdomain, pending solution), and I want to also implement this on another directory in the domain. These 2 sites will need to be using different templates, and are completely distinct from one another, so just changing the paths to the appropriate files won't work (if that would work anyway).
Now, first, I need to figure out how to do this. I would need to create the tables using a different prefix for the second site, the way I understand it... but I have no clue how to go about doing that. Like, with pWS, you pretty much just put it on the server, and start it up, and it takes care of everything. Something tell me, though, that if I do that in the second directory, it wouldn't work, seeing as the same database is being used, and it will try to install the system using the defaults, overwriting the previous site. Am I missing it completely?
// 2 // User accounts. I'm trying to setup the user account feature, but I'm getting nowhere! Basically, here's the deal:
*I can create accounts through Admin
*I can create a 'new account' through the Sign Up
*the system will email me to provide a password for the account that I just created
*the system will email me to resend the password for an account that is setup through Admin
BUT...
*every single time I try to login, I get an Invalid Login error.
This happens whether the account was made through Admin, or through the Sign Up process. Case is not an issue, as it is correct.
It almost seems that the system isn't allowing ANY user accounts to be stored, although I would think that 'Admin' would be listed in with any user accounts, and it works fine... That's the weird thing: other than user accounts, it all works just like it's supposed to.
Any ideas on either of these probs??? TIA