[solved] Blank screen after apparently succesfull installation of CMSMS

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
flemming
New Member
New Member
Posts: 8
Joined: Sat Jan 05, 2008 3:19 pm

[solved] Blank screen after apparently succesfull installation of CMSMS

Post by flemming »

I am trying to install CMSMS on a web-hotel (www.domaindirect.dk). I have been following the procedure on http://wiki.cmsmadesimple.org/index.php/User_Handbook/Installation/Quick_Install (which appear to be consistent with directions for installation of CMSMS given by my web-hotel) and everything seems to work fine:
  • I get "green marks", except for 3 yellow on the checking screen
  • Databases are created without any errors and I can see in phpMyAdmin that 51 tables have been created
  • There are no other errors and upon completion and I am informed of successfull installation
  • Finally I chmod 666 on config.php and deleted the install directory
My problem is, that when I enter the site, which is now supposed to show me the CMSMS intro screen, it is all empty. The content of index.html is:






I would be grateful if someone can help me with suggestions to resolve the problem.

Flemming
Last edited by flemming on Mon Jan 07, 2008 9:47 am, edited 1 time in total.
wilfried

Re: Blank screen after apparently succesfull installation of CMSMS

Post by wilfried »

You have an index.html in the root - delete it.
flemming
New Member
New Member
Posts: 8
Joined: Sat Jan 05, 2008 3:19 pm

Re: Blank screen after apparently succesfull installation of CMSMS

Post by flemming »

That would have been a reasonable explanation, but unfortunately there is no index.hmtl nor any other html file in the directory.

Regards

Flemming
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Blank screen after apparently succesfull installation of CMSMS

Post by Nullig »

Well, there has to be something, as CMSMS does not produce that doctype.

Did you install to a subdirectory/subdomain?
Can you remember what the 3 yellow flags were?
Is there an index.php file in the root directory and is that the one you're calling in your http request?
You said that the content of index.html was... and then you say that there is no index.html in the root - kinda confusing.

Can you provide a link to the site, so we can see what's u?

Nullig
flemming
New Member
New Member
Posts: 8
Joined: Sat Jan 05, 2008 3:19 pm

Re: Blank screen after apparently succesfull installation of CMSMS

Post by flemming »

I may not have expressed myself clear - sorry for that:

The content of index.html I posted was the one that I received in my browser by typing www.skafogkaf.dk/index.php (that's the reference).

I did the install to the main directory and not a subdirectory or domain. Actuaaly, my first attempt to install was to a subdomain, but when that gave the same result, I deleted the installation and tried installing in the main directory. I deleted the database and all files, but maybe something has been left over?

Of the 3 yellow flags one was about checking for tekenizer functions. One of the others had something to do with running PHP i protected mode or something like that. I cannot remember the third one, but I may be able to identify it, if you can point me to a list somewhere.

There is an index.php file, which is not empty, but when running it I only receive the quoted 3 html lines in my browser.

If the content of index.php or something else can help someone in pointing me in the right direction, please let me know.

Flemming
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Blank screen after apparently succesfull installation of CMSMS

Post by Dr.CSS »

You say it might have said something about safe mode?...

That just may be your problem, that's why it's important to be complete when asking for help, try running install again to make sure what they were besides it may work this time...
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Blank screen after apparently succesfull installation of CMSMS

Post by Nullig »

You may also have had some problems with your FTP upload.
I'd be tempted to re-upload everything and install again, noting the warnings.

Nullig
giggler
Forum Members
Forum Members
Posts: 197
Joined: Tue Oct 09, 2007 7:08 am

Re: Blank screen after apparently succesfull installation of CMSMS

Post by giggler »

I've had this issue (every time I move servers) and found some post...can't remember where. This usually works for me and since I see your login page works, it will probably work for you:

http://www.skafogkaf.dk/admin/login.php

Login and go to global setting, delete cache. If that doesn't work. Go into FTP and into the tmp folder and manually delete any files in cache and templates_c folder.
flemming
New Member
New Member
Posts: 8
Joined: Sat Jan 05, 2008 3:19 pm

Re: Blank screen after apparently succesfull installation of CMSMS

Post by flemming »

I have made the installation twice - first in a subdomain and then in the main directory, and I uploaded separately. Therefore, it seems unlikely that its an FTP-problem, I think.

I was able to login using http://www.skafogkaf.dk/admin/login.php. I cleared the cache and I checked the folders with FTP. Both empty. However, it still doesn't work.

I will do a re-install and note the messages and come back.

Flemming
flemming
New Member
New Member
Posts: 8
Joined: Sat Jan 05, 2008 3:19 pm

Re: Blank screen after apparently succesfull installation of CMSMS

Post by flemming »

I get this message from the admin login:

WARNING: PHP Safe mode is enabled. This will cause difficulty with files uploaded via the web browser interface, including images, theme and module XML packages. You are advised to contact your site administrator to see about disabling safe mode.

Can this explain my situation? According to my webhotel thas can not be changed.

Flemming
flemming
New Member
New Member
Posts: 8
Joined: Sat Jan 05, 2008 3:19 pm

Re: Blank screen after apparently succesfull installation of CMSMS

Post by flemming »

This is what I have done:

Deleted all files of CMSMS on the server using FTP
Deleted the database
Downloaded (again) release 1.2.3, unzipped it and uploaded it
Followed the installation guide
Got the following yellow warnings:

Checking if ini_set works
Although the ability to override php ini settings is not mandatory, some addon (optional) functionality uses ini_set to extend timeouts, and allow uploading of larger files, etc. You may have difficulty with some addon functionality without this capability. This test may fail if safe_mode is enabled (see below).


Checking for tokenizer functions
Not having the tokenizer could cause pages to render as purely white. We recommend you have this installed, but your website may work fine without it.


Checking for Safe mode
PHP Safe mode could create some problems with uploading files and other functions. It all depends on how strict your server safe mode settings are.


After all tables were created I got Success!.

Under Query string it showed "page". Unsure what that means.

Still empty screen after install. http://www.skafogkaf.dk/admin/adminlog.php works - I can login and I have tried some of the menus and screens. Found nothing that doesn't work.

Any suggestions, and I would be grateful. Any logfiles from the server or something else that may assist in debugging?

Flemming
flemming
New Member
New Member
Posts: 8
Joined: Sat Jan 05, 2008 3:19 pm

Re: Blank screen after apparently succesfull installation of CMSMS

Post by flemming »

From the error log on the server, I have found this message:

[Sun Jan 06 15:04:34 2008] [error] [client 80.161.63.85] PHP Fatal error: Call to undefined function token_get_all() in /srv/www/vhosts/skafogkaf.dk/httpdocs/lib/smarty/internals/core.write_compiled_include.php on line 45

which appear to come every time I attempt to enter the site. To me it seems to be part of the explanation.

Flemming
wilfried

Re: Blank screen after apparently succesfull installation of CMSMS

Post by wilfried »

token_get_all
So it is simple.

Smarty needs tokenizer Support to work, the cms needs Smarty to work and so works nothing because there is no tokenizer support.

You must speak with yout host.
alby

Re: Blank screen after apparently succesfull installation of CMSMS

Post by alby »

wilfried wrote: You must speak with yout host.
This is better solution.
However here there is a workaround

Alby
flemming
New Member
New Member
Posts: 8
Joined: Sat Jan 05, 2008 3:19 pm

Re: Blank screen after apparently succesfull installation of CMSMS

Post by flemming »

I have contacted my host and been informed that they are looking into my problem.

In the meanwhile I have tested Alby's workaround. It appears to work fine.

Given the comments I guess that the workaround has some downsides. The site is expected to have limited traffic, as it is going to host a web-site for a small group of friends (20). If anyone can enlighten me on the potential downsides of the workaround, it is appreciated.

Thanks to everyone for dedicated and efficient help!

Flemming
Locked

Return to “[locked] Installation, Setup and Upgrade”