1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

anyone help me with php issues

Discussion in 'PHP & Perl' started by adtech1, Jun 29, 2015.

Tags:
  1. adtech1

    adtech1 Junior Member

    Joined:
    Mar 29, 2015
    Messages:
    155
    Likes Received:
    14
    Occupation:
    https://docs.google.com/forms/d/1-bvbTc5j62JChSlzy
    Location:
    https://docs.google.com/forms/d/1-bvbTc5j62JChSlzy
    Home Page:
    Pls tell me how to fix this problem

    Please have a check now and let us know how you are going to resolve the issue.
    Here are the most common causes for high usage and our recommendations:


    - Your scripts are not upgraded: you may have not upgraded your scripts yet, as older versions of the scripts can have bugs in them that would cause high CPU and Memory usage.
    - Your scripts are configured incorrectly: you might need to check your scripts' configuration for any tweaks of settings available that might influence the usage, as a single wrong setting might do a whole lot of harm.
    - Your add-ons are misbehaving: some add-ons might cause high load because they were badly written. You might consider disabling them or finding alternatives for some add-ons. In the usage mitigation process you may want to disable all your add-ons that do not affect the very basic functionality of your website (scheduled back-ups, fancy statistics, additional functions etc). After your account?s usage was stabilized we may begin enabling them one by one and identify the problematic one.
    - You might need caching: a caching plugin will help in most cases as it will serve pre-generated html pages instead of using the resource intensive PHP scripts to generate the same page over and over again for different visitors of the site (for WP ? WP super cache).
    - Bots are flooding your site: your pages might have been found by spam bots that try continuously to send messages via your contact form, or add various comments to your items and such, depending on your site's configuration. An implementation of a CAPTCHA system would be useful to keep bots out of your pages, while checking for the highly accessed webpages using the tools provided by cPanel.
    - Robots are indexing your website, you may want to use a robots.txt file in order to manage this process.
    - You should, also, audit your crons if any and optimize / (re)set them accordingly to reduce the usage
    - Your account might be exploited: using a badly written extension / plug-in or an old / not recently update CMS (Content Management System) (like Joomla, WP etc), the hackers or the script-kiddies can find their way to your files (and system?s resources) endangering the entire shared environment.
     
  2. dineshag

    dineshag Newbie

    Joined:
    Jul 10, 2015
    Messages:
    14
    Likes Received:
    0
    What you just posted is your host explaining why you may be having a problem.

    Usually it looks like you have nulled scripts. Did you download plugins and/or themes from places that are not their original sources? Are you using pirated themes/plugins? That could also cause a lot of issues.
     
  3. littleslamanader

    littleslamanader Registered Member

    Joined:
    Oct 17, 2015
    Messages:
    95
    Likes Received:
    9
    Don't have time to read such a long post. Please only post what problem you are facing then it would be more appropriate for everyone to answer it.
     
  4. mantic0re

    mantic0re Junior Member

    Joined:
    May 29, 2015
    Messages:
    118
    Likes Received:
    9
    Op you haven't even posted the code that is causing the problem. How exactly do you expect people here to help you?