21
BoDGie
Re: Entry Form
  • 2004/4/21 0:46

  • BoDGie

  • Just popping in

  • Posts: 65

  • Since: 2003/8/4 1


Simply make a module and on one page have the registration form elements and make them post to a table in the database.

On the second page have your list of entrys form elements and then populate them from the database.

If you really have no idea what you're doing i can whip up some starting code for you.



22
BoDGie
Re: registration
  • 2004/4/21 0:40

  • BoDGie

  • Just popping in

  • Posts: 65

  • Since: 2003/8/4 1


You would also have to create new fields in the users table to accommodate the new information.



23
BoDGie
Re: uploading xoops with my ftp!!, i dont know what to do.
  • 2004/4/21 0:38

  • BoDGie

  • Just popping in

  • Posts: 65

  • Since: 2003/8/4 1


Openhttp://www.domain.com/path/to/xoops/install/

NOT just the root directory.

If when you open the root directory and you just get a folder list either a) PHP is not installed on your host b) They have not set it up correctly which could be just a matter of adding index.php in the apache config file on the line where you specify index types.



24
BoDGie
Re: Possible problem in databasefactory.php ??
  • 2004/4/21 0:32

  • BoDGie

  • Just popping in

  • Posts: 65

  • Since: 2003/8/4 1


Yerp absolutly positive it means too many connections to the database server.



25
BoDGie
Re: Possible problem in databasefactory.php ??
  • 2004/4/20 15:37

  • BoDGie

  • Just popping in

  • Posts: 65

  • Since: 2003/8/4 1


Quote:
This page cannot be displayed due to an internal error.If you are the administrator of this site, please visit the XOOPS Troubleshooting Page forassistance.Error [Xoops]: Unable to connect to database in file class/database/databasefactory.php line 34


This error does infact mean there are currently too many connections to the database server. 100% the webhosts problem.

Would be nice if it would display a nice message like "Site is busy. Check back later" tho :P



26
BoDGie
Re: Multi-site subdomains and logons
  • 2004/4/20 15:34

  • BoDGie

  • Just popping in

  • Posts: 65

  • Since: 2003/8/4 1


That is corect that it will rely on the cookies.. if you have one XOOPS site at www.xoops.org and then another at www.xoops.org/xoops/ they will work fine as they are under the same domain.

It is quite possible to use another hack to check for cookies of other domains and if it finds them it reads them.

I'll have a look at adding that into my next version of my multisite/subsite module + hack.



27
BoDGie
Re: two Domains, one Xoops
  • 2004/4/20 15:31

  • BoDGie

  • Just popping in

  • Posts: 65

  • Since: 2003/8/4 1


hughs that code i posted will work no matter what tld you use... just rename the mainfile.php to yourdomain.mainfile.php


So if you have www.xoops.org you would call its mainfile xoops.mainfile.php and then if you had www.virtuepark.com you would call its mainfile virtuepark.mainfile.php



28
BoDGie
Re: two Domains, one Xoops
  • 2004/4/20 14:38

  • BoDGie

  • Just popping in

  • Posts: 65

  • Since: 2003/8/4 1


https://xoops.org/modules/news/article.php?storyid=1413

is that what you're after?

Or do you want to run 2 completely different sites with different databases using only one copy of the XOOPs installation?

If so just make 2 coppies of your mainfile and name one something like domain1.mainfile.php and the other domain2.mainfile.php then replace mainfile.php with this code

<?phpif (!(isset($serverName))) { $serverName $SERVER_NAME$serverName str_replace("www.","",$serverName);$serverName str_replace(".com","",$serverName); $serverName str_replace(".net","",$serverName); $serverName str_replace(".org","",$serverName); } if (!(empty($serverName))) { include($serverName."mailfile.php"); ?>



29
BoDGie
Re: uploading xoops with my ftp!!, i dont know what to do.
  • 2004/4/20 7:27

  • BoDGie

  • Just popping in

  • Posts: 65

  • Since: 2003/8/4 1


Upload alll the files from the html folder to your public_html folder on your website.

CHMOD 777 the uploads, cache and templates_c folders.

CHMOD 777 the mainfile.php file.

Browse tohttp://www.yourdomain.com/install/

Follow the instructions.



30
BoDGie
Re: uploading xoops with my ftp!!, i dont know what to do.
  • 2004/4/20 6:59

  • BoDGie

  • Just popping in

  • Posts: 65

  • Since: 2003/8/4 1


Does you host support PHP? by the sounds of it either it doesn't or they havent set it up correctly.




TopTop
« 1 2 (3) 4 5 »



Login

Who's Online

214 user(s) are online (143 user(s) are browsing Support Forums)


Members: 0


Guests: 214


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits