Page 1 of 1
Site displays raw PHP code, not installation screen
Posted: Tue Jul 21, 2009 1:08 pm
by phillthump
Hi guys,
I've used CMSMS heavily for the past year and am currently attempting to install it on a new server based in South Africa for a client.
I'm having trouble in that, although the client assures me the web-hosting supports PHP5, the CMS throws up a page of raw PHP code when I attempt to start into the installation process, almost as if the server didnt know how to translate it?
Does anyone have any recommendations?
Rgds,
Phill
Re: Site displays raw PHP code, not installation screen
Posted: Tue Jul 21, 2009 1:12 pm
by irish
try putting up a test page with the following:
echo phpinfo();
Then view it in a browser. If it is still showing raw php, then send the page to the hosting company, let them know that there php installation went awry.
Re: Site displays raw PHP code, not installation screen
Posted: Tue Jul 21, 2009 1:18 pm
by alby
is sufficient:
maybe your hosting has php disabled or it's not set for .php files
Alby
Re: Site displays raw PHP code, not installation screen
Posted: Tue Jul 21, 2009 3:06 pm
by phillthump
alby wrote:
is sufficient:
maybe your hosting has php disabled or it's not set for .php files
Alby
Hi guys, thanks for this...
Apologies for being a total cretin, but is that the only code I need to embed in the page?
Something like this?
"
"
Sorry for the daft questions but I'm no PHP expert so don't really know what I'm doing with this bit!
Re: Site displays raw PHP code, not installation screen
Posted: Tue Jul 21, 2009 4:48 pm
by jmcgin51
you don't need any of the , etc.
just
Re: Site displays raw PHP code, not installation screen
Posted: Tue Jul 21, 2009 6:50 pm
by Pierre M.
phillthump wrote:
..I'm no PHP expert so don't really know what I'm doing with this bit!
Beware. PHP expert level is not required to make sites with CMSms. But basic PHP knowledge like phpinfo to get information about hosting (issue investigation...) is required. As you can see it is required to select a capable hosting provider.
Pierre M.
Re: Site displays raw PHP code, not installation screen
Posted: Wed Jul 22, 2009 10:16 am
by phillthump
OK thanks guys,
To be honest, I usually use Namesco and they are adequate for this system. Unfortunately the client decided upon this hosting provider and, as they are in South Africa, it is proving a bit of a headache!
I've uploaded an "index.html" file with "" embedded in the code and am currently seeing nothing but a blank page.
Would this indicate that the hosting does not support PHP? Also, would the hoster need to be supporting Linux rather than Windows? I'm not sure which is being used in this case but thought that may be an issue?
Re: Site displays raw PHP code, not installation screen
Posted: Wed Jul 22, 2009 10:36 am
by Jos
You better upload a index.php in stead of a index.html
Or a test.php to not overwrite the CMSms-file
And CMSms works well on both Linux and Windows