Jump to content

Cannonfodder

Members
  • Posts

    2898
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Cannonfodder

  1. So are you saying "during" boot up, its text? Or are you saying that the lilo menu itself is text? I may have misunderstood. If you are getting a text boot process with no graphics, you need to check and see if you have bootsplash installed.

     

    You can do this in a console with

     

    urpmf bootsplash

     

    To install, try

     

    urpmi bootsplash

     

    Not sure about the mode issue..

  2. That did it! :P

     

    I pulled up the mysql user database with webmin and took a peek. I had a few records there for mryan. I deleted these and then went into mysql and did a full grant using the sample from the web page you gave me. This time my install worked.

     

    Thank you very much, big help!

  3. While logged in as root, I tried this.. and got the following:

     

    Warning: Access denied for user: 'mryan@localhost' (Using password: YES) in /var/www/html/phpbb/whatever.php on line 2

     

    Warning: MySQL Connection Failed: Access denied for user: 'mryan@localhost' (Using password: YES) in /var/www/html/phpbb/whatever.php on line 2

    Access denied for user: 'mryan@localhost' (Using password: YES)

     

    I just tried adding mryan to groups apache and mysql, but get the same result.. Last of all, I tried messing around with the grant all command but still no change..

  4. I've run into a roadblock installing phpbb on my machine. I'm running Mandrake 9 and have webmin, apache, mysql v3, php installed. While I know linux a bit, I'm a newbie when it comes to messing with servers.

     

    1. I downlaoded PHPBB and installed it into /var/www/html/phpbb.

    2. I created a database mub with mysql and granted my user mryan all access rights to *.*.

    3. I go to https://localhost/phpbb/install.php (note the https) and fill out the form, clicking Install

    4. I get the following message...

     

    phpBB : Critical Error

     

    Could not connect to the database

     

    The values I used to fill out the form are:

     

    Default board language: English

    Database Type: MySql 3.x

    Choose your installation method: Install

     

    Database Server Hostname / DSN: localhost

    Your Database Name: mub

    Database Username: mryan

    Database Password: password

    Prefix for tables in database: phpbb_

     

    Admin Email Address: highnoon@rochester.rr.com

    Domain Name: spookhouse.com

    Server Port: 443

    Script path: /phpbb/

    Administrator Username: cannonfodder

    Administrator Password: password

    Administrator Password [ Confirm ]: password

     

    Any clues? Want to get going on learning PHP, but need it working first..

  5. Just install it first. For mandrake 9, urpmi webmin should do it. Otherwise, use rpmdrake (open console type rpmdrake) and locate webmin. If you can't find it for some reason, then look on the internet. You will like webmin. It's a browser interface for managing your linux system. It's huge in what it does.

  6. Formatting is good for a hard drive. Used to be a product that would wipe your hard drive over and over and over. Was suppose to be good for the magnetics as it reinforced them.

     

    I would clean slate if you think you been cracked. However, he might crack you again. What are your security settings? Or you might want to buy a firewall and set it up..

  7. Check this out.. Instead of using a char* for tempstring, I preallocated the storage. If you want to use a char * you will have to allocate it yourself ahead of time and free it later. Otherwise, this seems to work. I figured it out (been awhile) by googling

     

    sprintf() gcc example

     

    #include <stdio.h> 
    
    #include <string.h> 
    
    
    
    int main(void) 
    
    { 
    
     char *token; 
    
     char chartest[] = "<product catagory='100'>Product1</product>"; 
    
     char tempString[80]; 
    
     
    
     token = strtok(chartest, "'"); 
    
     
    
     while(token != NULL) 
    
     { 
    
    	 // get token and printf() to screen
    
    	 token = strtok(NULL, "'"); 
    
    	 printf("Token-> %sn",token);
    
    
    
    // copy token to tempString
    
    	 sprintf(tempString, "Converted Token -> %s", token);
    
     
    
    // printf() tempString
    
    	 printf("String Token -> %sn", tempString); 
    
    
    
    // get next token
    
    	 token = strtok(NULL, "'"); 
    
     } 
    
    }

×
×
  • Create New...