Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
Site Info
Webmasters
admin
admin

Who's Online
1 user(s) are online (1 user(s) are browsing XOOPS Docman)

Members: 0
Guests: 1

more...

Chapter 7. Admin settings

Create your SuperUser

Let's proceed. Having found the tables were created correctly, you just clicked on the Next button, and now it's time to define your XOOPS site's superuser, that is, the one that calls the shots, the Webmaster, the capo di tuti capi, whatever you want to call it. You'll see a screen such as this:

This is the form where you create your site's webmaster.

Figure 7.1. This is the form where you create your site's webmaster.

In the field called Admin Name write the name of your superuser. A common choice is, of course, webmaster, but you can be as creative as you want. Then fill the Admin Email field with the address where you want to receive mail sent to the webmaster. And last you have to type twice the password you want for your superuser.

As Murphy was well aware of, many things can always go wrong. One of them is pictured in Figure 7.2, “ The program timed out! Probably a bad connection to the MySQL server.”. What happened here?

The program timed out! Probably a bad connection to the MySQL server.

Figure 7.2.  The program timed out! Probably a bad connection to the MySQL server.

If you see a message like this, shutdown your Apache server, then shutdown your MySQL server, then fire again the MySQL server, fire up again the Apache server and try again. If they are active, you will probably have no more troubles.

Another thing that can happen every once in a while is that you unconsciously type different things in the two instances of the password field. Since all you're seeing is those big black dots, you won't know you messed up until you see something like this. This screen means you've entered different passwords in these fields, so go Back and retype both passwords, making sure you type the same thing this time.

Ooops! A typo occurred somewhere. Go Back and try again.

Figure 7.3. Ooops! A typo occurred somewhere. Go Back and try again.

If everything is ok, as it should be because I'm just being paranoid (they ARE after me, believe me!), you'll see the wizard spring into action again. Now the information screen shows this:

Your database tables have received their initial data. You're almost there!

Figure 7.4. Your database tables have received their initial data. You're almost there!

As you can see, 19 of your 31 tables have received data. What did XOOPS write, and where, and why? Let's see... The display is not ordered. After a little rearranging, we can see the following things have happened:

  • xoops_banner received 3 entries. These are located in the folder images/banners and are xoops_banner.gif, xoops_banner_2.gif and banner.swf. Now you know you can include also Flash files as banners.

  • xoops_bannerclient received 1 entry. This particular client is no other than XOOPS itself. The three banners inserted into the database belong to XOOPS, so your site will be born with three XOOPS banners, which of course you can change to suit your needs.

  • xoops_block_module_link received 12 entries. This corresponds with the 12 entries also inserted into xoops_newblocks. This means the System module has 12 blocks defined: “User Menu”, “Login”, “Search”, “Waiting Contents”, “Main Menu”, “Site Info”, “Who's Online”, “Top Posters”, “New Members”, “Recent Comments”, “Notification Options” and “Themes”. These are all blocks you can manage within your Template Manager, but that's another story.

  • xoops_config received a whopping 71 entries. These are too many to explain here. If you want to know what got written to this table, you can either open your MySQLadmin and take a look at the table, or, more easily, you can open install/makedata.php and see there, in lines 151-223, the whole list of entries. If you choose this last option, you may wonder why the information screen talks about 71 entries and the list of inserted entries ends up in entry number 73. The reason is there are no entries numbered 25 and 26; my guess is they were dropped out during XOOPS evolution.

  • xoops_configcategory received 6 entries. These categories are “General Settings”, “User Info Settings”, “Meta Tags and Footer”, “Word Censoring Options”, “Search Options” and “Mail Setup”. You'll meet these options when you see your site's preferences in the admin section, but again, that's for another story.

  • xoops_configoption received 27 entries, whose meaning you can read in lines 43-70 of the file install/sql/mysql.data.sql. They are default values for a lot of general options of your site.

  • xoops_groups received 3 entries, corresponding to the three default user groups: webmasters, registered users and anonymous users.

  • xoops_grouppermission received 40 entries, that have to do with permissions for groups for the module installed (System) and its 12 blocks. The 40 entries mean this: 1 to let webmasters manage the System module, 3 to let the three groups read the System module. The other 36 define, for each group and each block of the System module, a permission level (12 x 3 = 36 entries).

  • xoops_groups_users_link received 2 entries. This just means the one user created (the superuser or webmaster) belongs at once to the webmasters and registered users groups.

  • xoops_imgset received 1 entry. This defines the default image set.

  • xoops_imgset_tplset_link received 1 entry. This links the default image set to the default template set.

  • xoops_modules received 1 entry. This is, of course, the entry associated to the System module, the only one installed by XOOPS.

  • xoops_newblocks received 12 entries, as we already saw: the 12 blocks associated to the System module.

  • xoops_ranks received 7 entries: "Just popping in", "Not too shy to talk", "Quite a regular", "Just can't stay away", "Home away from home", "Moderator" and "Webmaster". These are the default values of user ranking, which you can change in the admin section.

  • xoops_smiles received 17 entries. These are the 17 smilies you have available when using the XOOPS editor.

  • xoops_tplset received 1 entry, the corresponding to the default template set.

  • xoops_tplfile received 26 entries. These are the templates associated to the default template set and used by the System module.

  • xoops_users received 1 entry. This corresponds, of course, to the single user created during the installation, that is: you, the superuser, the Father of All Users.

All this was done by the wizard while you blinked. Amazing, huh? So what happens now? Of course: you click again on the omnipresent Next button. You're almost there! Let's go to the last Chapter 8, Ready to go!.

The comments are owned by the author. We aren't responsible for their content.

Author Thread
dalong
Published: 2006/11/16 8:00  Updated: 2006/11/16 8:00
Just popping in
Joined: 2006/11/16
From:
Comments: 2
 Re: xo-002 http://www.apachefriends.org/en/xampp.html
very good!
I like here!

Author Thread
dalong
Published: 2006/11/16 10:13  Updated: 2006/11/16 10:13
Just popping in
Joined: 2006/11/16
From:
Comments: 2
 Re: xo-002 http://www.apachefriends.org/en/xampp.html
thank for your work!

Author Thread
huqilong
Published: 2006/11/20 2:50  Updated: 2006/11/20 2:50
Just popping in
Joined: 2006/11/16
From:
Comments: 3
 Re: xo-002 http://www.apachefriends.org/en/xampp.html
I hava a question ,when I have installed phpeclipse,I can't user the button for the apache in the Eclipse IDE,how shoud I do?

Author Thread
huqilong
Published: 2006/11/20 3:10  Updated: 2006/11/20 3:10
Just popping in
Joined: 2006/11/16
From:
Comments: 3
 Re: xo-002 http://www.apachefriends.org/en/xampp.html
dddd

Author Thread
Mark_1900
Published: 2006/11/18 11:05  Updated: 2006/11/18 11:09
Just popping in
Joined: 2006/11/18
From:
Comments: 2
 Alias Permission Problems
For an Alias I also had to add a Directory tag to the httpd.conf, otherwise I had permission problems accessing the files... <br /> [code] Alias /wiki "C:/Documents and Settings/Me/wiki"<br /> <Directory "C:/Documents and Settings/Me/wiki"><br /> Options Indexes MultiViews<br /> AllowOverride None<br /> Order allow,deny<br /> Allow from all<br /> </Directory><br /> [/code]<br /> Oh and all these editing tags seem broken!!

Author Thread
Mark_1900
Published: 2006/11/18 11:21  Updated: 2006/11/18 11:32
Just popping in
Joined: 2006/11/18
From:
Comments: 2
 Getting the correct php_dbg.dll
I want a debugger. I downloaded the latest XAMPP 1.5.4a and noticed that it comes with PHP 5.1.6 & PHP 4.4.4, and neither are supported. The debugger module only supports a subset of these major versions from 5.1.0 to 5.1.2 and 4.4.0 to 4.4.2 (http://dd.cron.ru/dbg/downloads.php). I think right at the beginning you should specify which versions to download to get a debugger Version "XAMPP 1.5.2" would be fine.

Author Thread
huqilong
Published: 2006/11/30 6:28  Updated: 2006/11/30 6:28
Just popping in
Joined: 2006/11/16
From:
Comments: 3
 Re: xo-002 http://www.apachefriends.org/en/xampp-windows....
I want to know how to use phpeclipse with eclipse detailly!

Author Thread
thierrybo
Published: 2007/2/3 16:19  Updated: 2007/2/3 16:21
Just popping in
Joined: 2007/2/3
From:
Comments: 1
 Re: xo-002 ch02s03.html Workspace Method 2
I do not agree with the suggested method 2: Quote:
For example you have set up XAMPP and your “document root” path is the XAMPP default:
C:Program Filesapachefriendsxampphtdocs
Quote:
,then your appropriate workspace path should be one level less:
C:Program Filesapachefriendsxampp
If htdocs is your document root, then each folder inside IS a new project and you should set workspace directory as Document Root directory. With suggested method, all your web projects are managed with ONE big PHPeclipse project.

Author Thread
dafydd
Published: 2007/4/3 6:01  Updated: 2007/4/3 6:01
Just popping in
Joined: 2007/4/3
From:
Comments: 2
 Re: xo-002 ch01.html
Trying this out on a Mac. J2SE 1.5.0_07-164 installed. 1.5.0_06 is what's available on the download site. However, it would almost certainly be updated with Software Update.

Author Thread
dafydd
Published: 2007/4/6 1:00  Updated: 2007/4/6 1:00
Just popping in
Joined: 2007/4/3
From:
Comments: 2
 Re: xo-002 ch01s04.html
Second question: How do we point the XAMPP start/stop buttons in the Eclipse toobar to where we put XAMPP?

dafydd

Author Thread
dysmas
Published: 2007/8/4 14:18  Updated: 2007/8/4 14:18
Just popping in
Joined: 2007/8/4
From:
Comments: 1
 Debugging standalone PHP applications
Thanks hundred times for all the detailed explanations here !!

And especially for the note which explains why debugging a CLI application does not work in 1.1.8 version and only in 1.1.9. (wrong port, as I guessed, but I have been looking for this information for some hours before coming here). Unfortunately this 1.1.9 CVS version does not work in the last 3.2.0 Eclipse version I just got. Let us hope the stable version is going quickly.

Author Thread
Mercyful
Published: 2007/9/10 14:46  Updated: 2007/9/10 14:46
Just popping in
Joined: 2007/9/10
From:
Comments: 1
 Re: dbg is not working
I want using eclipse3.2 with php-plugin and for debugging i want using dbg.
I'm using xampp 1.6.3a with php 4.4.7. and php_dbg.dll-4.4.x
After step by step installation
http://docs.schuetzengau-freising.de/ ... =xo-002&file=ch01s05.html
the debugger dbg will not work.
When i called phpinfo() there is no section dbg shown.
Who have any ideas?
Thanks a lot!
Regards Mercyful

Author Thread
keryx
Published: 2007/9/26 22:59  Updated: 2007/9/26 22:59
Just popping in
Joined: 2007/9/26
From:
Comments: 1
 Re: xo-002 ch04.html
A section about verrors should be nice. I get the following:


<terminated, exit value: 0>PHP C:\Program\PHP\php.exe : <path>/<fil>.php

I've googled like crazy but to no avail. And yes - it does not stop at breakpoints and "variables" are empty. DBG is working:

if (function_exists ("DebugBreak")) {
DebugBreak ();
echo "debugging started!<br />\n";
}

Outputs "debugging started!" And DBG is reported on phpinfo().

Author Thread
koski
Published: 2007/10/19 3:55  Updated: 2007/10/19 3:55
Just popping in
Joined: 2007/10/19
From:
Comments: 1
 Re: xo-002 ch01s03.html
Hi,

Seems that the mentioned link for cvs:

http://phpeclipse.sourceforge.net/update/cvs

is out of date or wrong.

Author Thread
andybruk
Published: 2007/11/18 1:11  Updated: 2007/11/18 1:11
Just popping in
Joined: 2007/11/18
From:
Comments: 1
 Re: xo-002 index.html
I've been searching for a PHP debugger for ages. This is the only one I can find that works perfectly, thanks very much for providing this documentation.<br /><br />I doubt if I could ever get it to work on Windows, but it works so well with Ubuntu Linux and Eclipse 3.1.<br />
Powered by XOOPS 2.0 © 2001-2005 The XOOPS Project