Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 11 of 11
  1. #1
    Member JoshDylan's Avatar
    Join Date
    Apr 2011
    Location
    Michigan
    Posts
    163
    cPanel/Enkompass Access Level

    Root Administrator

    Exclamation Ugh... Confused beyond my mind

    Well let me start off by saying, I have been using for Cpanel for years and have never ran into this issue untill now.

    Well, on my site: jdxservices.com

    I transferred it over from another server last night. All was well and it was all working. This morning when I tried to view the site, it promted me to download the page file instead of viewing it. It was telling me it could not recognize the MIME.

    I am not sure what is causing this and am a bit stumped.

    I just teminated the account and re-transferred it over and it works again now but I fear this is not the end. Does anyone have an idea what could be causing this and how I would fix it?

  2. #2
    Member dansgalaxy's Avatar
    Join Date
    Jan 2007
    Location
    Reading, UK
    Posts
    91
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Ugh... Confused beyond my mind

    Are you using any kind of custom processing? Eg, having .blah processed by PHP?

    Or is this a straight .php ?

  3. #3
    Member JoshDylan's Avatar
    Join Date
    Apr 2011
    Location
    Michigan
    Posts
    163
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Ugh... Confused beyond my mind

    I am using Drupal framework which should be running under just plain old php.

  4. #4
    Member dansgalaxy's Avatar
    Join Date
    Jan 2007
    Location
    Reading, UK
    Posts
    91
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Ugh... Confused beyond my mind

    Does it only do it for certain file types? Sounds as though the PHP parser wasn't being actioned so Apache was serving the .php as a plain text file.

  5. #5
    Member JoshDylan's Avatar
    Join Date
    Apr 2011
    Location
    Michigan
    Posts
    163
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Ugh... Confused beyond my mind

    It was doiong this for the whole website. I have never ran into an issue like this before in the 4 years I have been using Cpanel. I think I might of mixed something up in the Service Config. The only issue is, im not sure what the mistake was!

  6. #6
    cPanel Staff cPanelJared's Avatar
    Join Date
    Feb 2010
    Location
    Houston, TX
    Posts
    1,066

    Default Re: Ugh... Confused beyond my mind

    For some reason, you do not have a PHP handler defined. Apache does not know what to do with the .php files, so it is sending them to your browser for download, instead of using a handler to parse them.

    You select a PHP handler in Main >> Service Configuration >> Configure PHP and SuExec. What handler is currently selected? If none is selected, then you need to select one and save the change.

    There are other issues that can cause this and make it impossible to select a handler, such as a broken PHP installation. It would probably be best if you can submit a ticket so that we can log into the server, investigate the problem directly, and fix it for you.
    For hands-on assistance, please reference our new support information page: Where should I go for support?
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation


    -- Jared Ryan, Technical Analyst, cPanel Technical Support

  7. #7
    Member JoshDylan's Avatar
    Join Date
    Apr 2011
    Location
    Michigan
    Posts
    163
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Ugh... Confused beyond my mind

    DSO is currently selected as it should be. Here is the direct ip to the site: http://74.117.158.48/

    I am running updates to see if this may solve the issue. I have saved the php settings and now a fatal error is shown on the webpage:

    Fatal error: Class 'PDO' not found in /*****/***/public_html/includes/database/database.inc on line 185

    So any ideas.

  8. #8
    ckh
    ckh is offline
    Member
    Join Date
    Dec 2003
    Posts
    333

    Default Re: Ugh... Confused beyond my mind

    I believe the later drupal versions require pdo. Recompile apache/php and enable the pdo and pdo mysql.

  9. #9
    Member JoshDylan's Avatar
    Join Date
    Apr 2011
    Location
    Michigan
    Posts
    163
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Ugh... Confused beyond my mind

    Well, updates ran and still no luck. Ticket submitted.

  10. #10
    Member JoshDylan's Avatar
    Join Date
    Apr 2011
    Location
    Michigan
    Posts
    163
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Ugh... Confused beyond my mind

    Let me try with pdo. I just re-read the documentation for Drupal and it does say to use pdo however, I know numberous users who donot. Plus the pdo in WHM is provided by PECL if im not mistaken which may not be usable.

  11. #11
    Member JoshDylan's Avatar
    Join Date
    Apr 2011
    Location
    Michigan
    Posts
    163
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Ugh... Confused beyond my mind

    Alright, it all worked out now. Thanks for the suggestion ckh. I owe you one!

Similar Threads & Tags
Similar threads

  1. Ugh... More DNS Problems, but not the usual ones!
    By Cacho in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 05-24-2005, 10:17 PM
  2. Never mind I got it
    By keith1234 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-15-2004, 12:10 AM
  3. ugh?!?!
    By jnagro in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-06-2003, 09:51 AM
  4. ugh mailman header trouble
    By in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-31-1969, 06:00 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube