Jump to content

sagnik

Members
  • Posts

    484
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by sagnik

  1. Sir, I've tried to add the domain but got the following error:

    The adminbin park in the Cpanel namespace call to function ADD ended prematurely: The subprocess ended prematurely because it received the ALRM (14) signal.

     

    Can you explain me what does the above message means?

     

    Tried again. And now I've got this error:

    (XID vrm7p2) The domain netmate.cf already exists in the Apache configuration.

     

    According to the error, the domain already registered/added but I couldn't add the domain as it gave an error as I said in the previous reply.
  2. Sir, I want to either park a domain to an addon domain like "netmate.cf"=>"netmate.cu.cc", or change the current addon domain(netmate.cu.cc) to netmate.cf. Can I park a domain to an addon domain? Or can I change the addon domain without deleting any files/directories of the addon domain?

  3. Thanks for your help, sir. It helped me a lot, but not like that I wanted to. I know, I couldn't describe the thing clearly. I'm trying last time to describe the problem:

    $q=mysqli_query($con, "SELECT * FROM posts");
    while($r=mysqli_fetch_array($q)){
    //When first row is fetched echo the first row
    //When second row is fetched echo the second row
    }
    
    And for your previous suggestion, do you mean to do that, I've to use paging? Like paging does, for example, shows 5 contents per page, I've to show 1 row per page and use jQuery for auto-paging?

     

    In short, I don't want my users to wait until all rows are displayed.

  4. Ok, thanks... But I've wanted to show rows as MySQL fetches rows in a while loop as MySQL doesn't fetches all rows at once so I've wanted to display the row as soon as it ready instead of waiting for MySQL to fetch all rows. You take Facebook as an example, Facebook displays the posts as soon as it ready and at the bottom of page it shows a loading image.

  5. Sir, here is the register/index.php

    https://pastebin.com/AneB6n3Q

    You can see that I've written session_start() at line 2 then I've included the header.php in line 3.

    And one more thing, when I've copied the text from index.php to paste it in Pastebin, I saw that, a space is added before "<?php" like " <?php" in line 1. I don't understand that, is the space really exist in my code or the space adding when I'm pasting the code as the space is not showing in my code editor (Notepad++). If the space exist then it maybe the problem for the warning.

  6. How can I show the contents of MySQL table as it fetches data? For example, I'm retrieving data using jQuery-ajax, before sending request to the PHP show an ajax loader and in PHP, if in a table has 4 rows and I'm retrieving the data in a while() block, as MySQL fetch first row show the data in the page using jQuery and continue to show the loader and after retrieving all 4 rows hide the loader. How can I do this?

  7. I'm getting a warning in PHP when I'm using session_start().

    The warning says that: cannot start session, headers already sent (output started at /home/sgn/public_html/nm/public_html/members/register/index.php:1) in /home/sgn/public_html/nm/public_html/members/register/index.php on line 2

    And, Cannot send session cache limiter - headers already sent (output started at /home/sgn/public_html/nm/public_html/members/register/index.php:1) in /home/sgn/public_html/nm/public_html/members/register/index.php on line 2

    I couldn't figure out the problem as it says output started at line 1 but in line one has only "<?php" and a unix line break like "<?php[LF]" and in line 2 "session_start()", no spaces, no echo/print.

  8. I've a class named "SGSocial". I'm sending data by ajax to a file and calling to a function of SGSocial from the file. But the problem is, ajax takes too much time to retrieve data. And PHP gives "Fatal error: Maximum execution_time exceeds in sgsspl.php on line 399" . Here is the link to all the files related to the problem: https://www.dropbox.com/sh/1pf51ff5zmohqi9/AADDiRDV2pgdCBm8o0FJ8EMEa?dl=0

    Can anyone help me to figure out the problem??

  9. For the location, yes for me and my friend's location will be same. But for IP, how can be same for both of us? He will be browsing from a different ISP or network and I will be browsing from a different. And for Proxy, VPN, TOR, I don't think he will use any of them.

    But yeah, sometimes I use VPN (when I'm in a mobile network), because cPanel sometimes gives an error informing that, "Your IP address has been changed, please login again", so I has to use VPN to change my current IP to a static IP address.

  10. How do I compress the files??

     

    And one more thing...

    Suppose, my friend creates an account in Heliohost from his own computer and gives the login credentials to me to manage his website as you already know that he doesn't know anything about web development. And if I manage only his website from his computer only and I neither login to his account from my computer nor login to my account from his computer.

    In short, I will manage only his website from his computer only and my website from my computer only. Is there will be any chance to getting suspended??

×
×
  • Create New...