Jump to content

Ice IT Support

Moderators
  • Posts

    1,643
  • Joined

  • Last visited

  • Days Won

    38

Posts posted by Ice IT Support

  1. I have been receiving the "could not connect" error myself all morning. Then it switched to this:

    Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/iceitsup/public_html/Service/online-appointment.php on line 2

    Could not connect: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

    Thanks!
  2. Thanks! But I have two questions:

     

    1) This is how HelioHost's nameservers are setup right?

    2) So now I can go to my domain registrar and enter ns1.example.com and ns2.example.com as the nameservers right?

    3) I assume, to create new subdomains I would use this:

    example2 IN A 11.11.11.11
    www.example2 IN A 11.11.11

    for example2.example.com and www.example2.example.com.

    I apologise for these extremely dumb (practically kindergarten level) questions, but I am new to DNS and I am still learning anything beyond A and CNAME records.

  3. @wizard ... I think it will be better if we should hope for the best and also for you guys if you should focus on reminding users to create backup (using some mechanism) rather than reminding of the TOS :-) ... Its a natural thing people do get mad when they lose their data.... This way you will let them know their mistake without making them yell at you.

    A more reliable method would be to do editing on your local machine and keep a local copy of everything as well as a backup from the server.

    • Like 1
  4. @admins: I apologize if this is in the wrong place.

     

    Can anyone suggest a good (and free) text editor with syntax highlighting for Mac? Multiple Google searches provided no satisfactory results. Thanks!

     

    P.S. I searched this forum as well, but the only topics I could find were Windows related.

  5. Do all of your different DBs have different users and passwords? If they all use the same user then you only need to open one connection and select the database needed to perform whatever task. Example:

    <?php
    $dbcon = mysql_connect("localhost","user","password");
    
    mysql_select_db("db2", $dbcon);
    // action on DB1
    
    mysql_select_db("db2", $dbcon);
    // action on DB2
    
    mysql_close($dbcon);
    ?>
    

  6. Nice work, it looks neat and well organized! If I understand correctly, you are a photographer, correct? After looking through the home page, that was slightly unclear. Perhaps adding a slideshow of your work where the large image at the top might help to make this fact a bit more clear. Once again, awesome job! :)

    • Like 1
  7. What other information did I add? By default, most cPanel installs are configured to store account data on /home, as this has been the case for other hosts I have used. Same with the database usernames. Also I am not trying to challenge anyone. In fact I appreciate your concern, I was simply giving my reasons to why I am not concerned about who sees this information.

  8. I see no need to delete any information for the following reasons:

     

    The part of the username released is generic (this format is used on all accounts @ HH) and it is my cPanel username, which is required to be posted anyway.

    The script path is also generic (all HH accounts are located at /home or /home1 and all website documents are in the public_html folder) and the rest of the path is used to navigate to the page in your web browser (the URL that is also required as an example for the error)

  9. Well it turns out the script was made for earlier versions of cPanel, before it adopted javascript. In short, you fill out the form, it submits it to the html page, and the account is created. Now, because everything has been javascript'ed, this obviously doesn't work. I'm not going to work on it further, since this was just an idea and isn't exactly crucial at the moment. Thanks for everyone's help!

  10. I would like to use this as an alternative to logging into cPanel every month

     

    @cl58 - I apologize, I didn't realize I said that. I meant to say 'instead of having to log into cPanel just to manage FTP.' Please forgive my mistake.@xaav - I read somewhere that cPanel runs mostly on Perl. Is there a Perl script I could run, or would this type of thing be blocked for security?

  11. Hello again,

    I have recently noticed that when I am logged into FTP and try to access a webpage at the same time, I receive a 500 error. But when I log out of my FTP account and refresh the page, it loads fine. I think there is a process that is involved that pushes my limit. This never happened before until approx. a week ago. Would it be possible to view my account processes and end any that are running (or have been running for a long time?) Thanks!

     

    P.S. I hope I wasn't too confusing.

×
×
  • Create New...