Page 1 of 1

[solved] Install process stops...blank page is all I get.

Posted: Wed Aug 13, 2008 4:27 pm
by Bonewalker
Hello All,

I have successfully installed previous versions of CMS on hosted environments, but now am trying to do it on my own server and am drawing a blank, literally. :)

Info:

Platform: Windows 2003 Server, IIS 6.0, MySQL 4.1.18, PHP 5.0.2

Phpinfo: http://www.bakeru.edu/registrar/phpinfo.php

Basically, I downloaded 1.4.1, or the latest version, and I initially only got a blank page after the redirect to /install/index.php. Once I gave permissions to the tmp folder, I at least got the /install/index.php to appear where it asks you to select your language of choice. From there, all I get is a blank page. Once, I refreshed, and actually got a PHP access violation error. That hasn't happened again though.

Php sessions are enabled and working fine on this machine. I run lots of other php web apps on this server with no difficulties.

Any thoughts or advice?

Thanks,

Toby

Re: Install process stops...blank page is all I get.

Posted: Wed Aug 13, 2008 4:31 pm
by alby
Bonewalker wrote: I have successfully installed previous versions of CMS on hosted environments, but now am trying to do it on my own server and am drawing a blank, literally. :)
call install/index.php?debug=1

and look your server logs for other infos

Alby

Re: Install process stops...blank page is all I get.

Posted: Wed Aug 13, 2008 5:11 pm
by Bonewalker
I did that yesterday, forgot to mention it. It produces a blank page as well.

I will search the error logs.

Thanks.

Re: Install process stops...blank page is all I get.

Posted: Wed Aug 13, 2008 6:18 pm
by Bonewalker
Exactly which logs would you recommend I check, and what am I looking for?

Thanks.

Re: Install process stops...blank page is all I get.

Posted: Wed Aug 13, 2008 7:39 pm
by Pierre M.
http logS. See http://wiki.cmsmadesimple.org/index.php ... quirements
May be an problem with PHP sessions or cookies.

Pierre M.

Re: Install process stops...blank page is all I get.

Posted: Wed Aug 13, 2008 7:56 pm
by Bonewalker
Well, I reverted to 1.2.5 and things went a lot better. However, weird things happened at the end. First try, all seemed good. Your site is here link showed up. But, it took me a page that said "Site is down for maintenance." Deleted and retried, now all I get is a blank page again.  :-\

Sessions and cache work fine on all my other apps.

Re: Install process stops...blank page is all I get.

Posted: Wed Aug 13, 2008 8:44 pm
by Bonewalker
Starting to figure out some of my problem. The folder name where we have our web files, under C:\inetpub is named Baker's Web Files, notice the apostrophe.

When I looked at config.php, I saw the paths were using apostrophes as well. Like so:
$config['root_path'] = 'C:\Inetpub\Baker's Web Files\faculty\wmiller';

Clearly a problem. So, I changed all of those to double quotes. And things got a lot better. My Admin section works perfectly.

View site however produces what I have attached. Basically, the skeleton of the site, but not the default data.

Would anything in the templates, etc., be affected by this odd directory name with an apostrophe in it?

Thanks.

(I should add that under the admin section, all of the default pages and structure exist..like Home, How CMSMS Works, etc.)

Re: Install process stops...blank page is all I get.

Posted: Wed Aug 13, 2008 8:57 pm
by Dr.CSS
There are some known problems with IIS please to search forum...

Re: Install process stops...blank page is all I get.

Posted: Thu Aug 14, 2008 4:14 pm
by Bonewalker
Ok, making more progress. This does not appear to be an IIS issue. As I mentioned above, it has to do with a directory name that has ' (apostrophe) in it.

I am noticing that in the cache files under \tmp\templates_c\ there is this:

Code: Select all

<?php $this->_cache_serials['C:\Inetpub\Baker's Web Files\faculty\wmiller\tmp\templates_c\%%CB^CBC^CBC6D161%%template%3A17.inc'] = '9af4d2b6a938e40220d5105cefc4b920'; ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>

<title><?php if ($this->caching && !$this->_cache_including): echo '{nocache:9af4d2b6a938e40220d5105cefc4b920#0}'; endif;$_cache_attrs =& $this->_smarty_cache_attrs('9af4d2b6a938e40220d5105cefc4b920','0');echo smarty_cms_function_sitename(array(), $this);if ($this->caching && !$this->_cache_including): echo '{/nocache:9af4d2b6a938e40220d5105cefc4b920#0}'; endif;?>
You'll notice in the first line, the file location is assigned and it is the $this->cache_serials['C:\Inetput\Baker's Web... that is blowing this up, because a php error is thrown once the ' in Baker's is reached.

Anyone know how or where I can change it so that this call is created using double quotes?

Thanks.

Re: Install process stops...blank page is all I get.

Posted: Thu Aug 14, 2008 4:31 pm
by Nick Smart
Why don't you just take the apostrophe out of the directory name?

Nick

Re: Install process stops...blank page is all I get.

Posted: Thu Aug 14, 2008 5:12 pm
by Bonewalker
I wish it were that easy, Nick. I am not able to make that decision, and I think it might affect too many other critical apps and sites  that we need up and running.

I am having discussions about it, though, to see what all might be affected.

Still, I am curious about if changes could be made to the CMS code to facilitate this.

[solved] Re: Install process stops...blank page is all I get.

Posted: Thu Aug 14, 2008 7:42 pm
by Bonewalker
Ok, I have a working CMS Made Simple installation!

Basically, I had to make sure several folders had correct permissions on them in Windows Server 2003. Then, since I had that weird apostrophe in the directory name, I decided to make a virtual directory that would point to the correct URL instead. This worked great, and was the simplest solution. Thanks to Nick for making the obvious suggestion which got me thinking about other possibilities. :)

Re: [solved] Install process stops...blank page is all I get.

Posted: Thu Aug 14, 2008 7:43 pm
by Dr.CSS
Please to put [solved] in subject of first post...

Re: [solved] Install process stops...blank page is all I get.

Posted: Tue Aug 26, 2008 11:40 am
by cb2004
Could you please list what permissions you made to which directories?