The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Site behaves strange after move to cPanel

Discussion in 'General Discussion' started by InteractM, Oct 1, 2013.

  1. InteractM

    InteractM Well-Known Member

    Joined:
    Apr 2, 2013
    Messages:
    133
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    I have moved a site to the server running cPanel (from PLESK). Site is running on Wordpress 3.5.2 with WP e-Commerce Gold plugin (version 3.8.11.1) and for some kind of a reason product images are loading or not randomly for product categories or featured products. It looks like code for image resizing is not generating proper image and it looks like

    <img src="http://www.[Removed].com/index.php?wpsc_action=scale_image&attachment_id=1075&width=150&height=150" alt="Boston RedSox Vintage Baseball Hat" />

    An example here: /http://www.[Removed].com/products-page/hats-2/ and featured products example (bottom of the page): /http://www.[Removed].com/products-page/featured-football-shirts/new-york-green-football-animals-t-shirt-large-logo/

    Any thoughts?

    Thanks

    PS

    After further testing it looks like some kind of issue with connections to the DB - Wordpress is sending queries but not retrieving any data.
     
    #1 InteractM, Oct 1, 2013
    Last edited by a moderator: Oct 2, 2013
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Are you using the same versions of PHP and MySQL on the cPanel server that you used on the Plesk server? It's possible there are some differences in how PHP is handling the images. It may be a good idea to consult with the WordPress community directly to see if anyone else has experienced the same issue.

    Thank you.
     
  3. InteractM

    InteractM Well-Known Member

    Joined:
    Apr 2, 2013
    Messages:
    133
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Wordpress community pointed to the server issues because site works on PLESK but has issues on cPanel, that's why I have posted my question here.

    cPanel: PHP 5.2.17 and MySQL 5.5.32
    PLESK: PHP 5.3.3 and MySQL 5.1.69
     
  4. kdean

    kdean Well-Known Member

    Joined:
    Oct 19, 2012
    Messages:
    262
    Likes Received:
    12
    Trophy Points:
    18
    Location:
    Orlando, FL
    cPanel Access Level:
    Root Administrator
    First thing I'd do if you don't have a bunch of other accounts relying on PHP 5.2 is to use EasyApache to update PHP to 5.3 to better match the Plesk servers config.

    Are you seeing any error_log files in the site's folders?

    You may need to bump up the memory_limit in the PHP Configuration Editor in WHM.
     
  5. InteractM

    InteractM Well-Known Member

    Joined:
    Apr 2, 2013
    Messages:
    133
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    I have just tested site connecting to the DB on PLESK and it looks like it is not related to MySQL version. As well I have tested site from PLESK connected to the DB from cPanel - no issue. About PHP I need to keep 5.2.x because few websites uses ZEND encoder which crashes after updating to 5.3.x. I will follow up with the PHP memroy_limit

    PS.
    increasing memory_limit to 256M didn't help at that case
     
    #5 InteractM, Oct 2, 2013
    Last edited: Oct 2, 2013
  6. Tom Risager

    Tom Risager Well-Known Member

    Joined:
    Jul 10, 2012
    Messages:
    107
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    Copenhagen, Denmark, Denmark
    cPanel Access Level:
    Root Administrator
    Are there any error_log files with relevant entries in your WordPress root folder, plugin or theme folders?

    The different PHP versions on the two servers seem the most likely explanation why your site works on one but not the other.
     
Loading...

Share This Page