Jump to content

ccjosh

Members
  • Posts

    66
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by ccjosh

  1. Use the user zypherro when compiling. If the problem persists, do a

    chmod -R 775 /path/to/trunk
    chown -R zypherro:zypherro /path/to/trunk
    
  2. Currently facing a problem with vote for points; I can't seem to point my 2nd server to my 1st server's vote for points' table, which is in the 1st database.

     

    Is it possible to point my npc script to the 1st server? I tried putting db_name.v4p_table but it goes like 1st_db.db_name.v4p

     

    Thanks!

  3. It's just a matter of permissions. Change the folder permission to 744.

    chmod -R 744 /path/to/folder
    

    You might need to find phpmyadmin.conf to change 

    <Directory "/path/to/phpmyadmin">
        Options Indexes FollowSymLinks MultiViews
        AllowOverride all
            Order Deny,Allow
            Allow from all
    </Directory>
    

    to this:

     

    <Directory "/path/to/phpmyadmin">
        Options Indexes FollowSymLinks MultiViews
        AllowOverride all
            Order Deny,Allow
        Deny from all
        Allow from 127.0.0.1
    </Directory>
    

     

    Restart apache to apply changes.

     

    Side note: Never use root as an owner for web pages, specially dynamic ones.

    You might as well set your password to welcome123

    • Upvote 1
  4. Actually, If you have never set a root password for MySQL server, the server does not require a password at all for connecting as root. To setup root password for first time, use mysqladmin command at shell prompt as follows:

     

    mysqladmin -u root password NEWPASSWORD
    

    However, if you want to change (or update) a root password, then you need to use the following command:

    mysqladmin -u root -p'oldpassword' password newpass

    Source: Nixcraft

    • Upvote 1
  5. I suggest you host your flux on a webhost, then have it point to your VPS' MySQL

     

    Exception Details
    Error: PDOException
    Message: SQLSTATE[HY000] [2003] Can't connect to MySQL server on '116.xxx.212.xxx' (4)
    

     

    It might be permission thing, I usually do 'setsebool -P httpd_can_network_connect=1' if I'm on Linux

  6. What do you mean?

    This script save the guild id of the leader in a variable attached to the npc (variable reseted when @reload script)

    What I meant was, when a guild master disconnects after he/she casts an e-call. The variable will reset and he can use e-call again. Is this possible?

×
×
  • Create New...