Page 1 of 1

Blank install page

Posted: Wed Nov 19, 2008 4:39 pm
by cms_smc
Hello All,

I just got my first CMSMS installed and encountered some issues, desperately need your help. Thanks very much in advance!

Enviorments:

- Php 4.4
- IIS 6

Issues:

The install templetes are not displayed. I set several break points in /install/index.php, here are what I got:

- permissions look fine, since I didn't see any "... not writeable kind of errors"
- I checked the /intall/template directory, and indeed the three tpl files are there and in the riight $smarty->template_dir
- it seems soemthing is wrong with $smarty->display
-  attached is what I got through a var_dump($smarty)

$smarty->assign_by_ref('languages', $installer->dropdown_lang());
$smarty->display('installer_start.tpl'); 
$smarty->display('page0.tpl');
$smarty->display('installer_end.tpl');
var_dump($smarty);

Re: Blank install page

Posted: Wed Nov 19, 2008 5:08 pm
by cms_smc
I dug though the form and found this one: http://forum.cmsmadesimple.org/index.php?topic=26666.0

But it appears my problem is different,  php is enabled by the host provider as I can echo "test..." in the /install/index.php.

But the templates cannot be displayed.

Re: Blank install page

Posted: Wed Nov 19, 2008 6:09 pm
by alby
cms_smc wrote: - permissions look fine, since I didn't see any "... not writeable kind of errors"
1: use install/index.php?debug=1
2. in windows php not check real writeable folder/file because depend of permission of php owner, check this owner. In 1.5 there will be a "real" write/read check

Alby

Re: Blank install page

Posted: Wed Nov 19, 2008 6:35 pm
by cms_smc
Thanks Alby for the quick reply.

-  I added ?debug=1 and /install/index.php still shows a blank page

-  I double checked and found the application did have write permission on the directories

- Also I found indeed there were lots tmp files created under /tmp/templates_c/, the name looks like wrt94A7.tmp, but the size of the files is 0.

Any ideas?  Thanks again.

Re: Blank install page

Posted: Wed Nov 19, 2008 6:53 pm
by alby
cms_smc wrote: -  I added ?debug=1 and /install/index.php still shows a blank page

-  I double checked and found the application did have write permission on the directories

- Also I found indeed there were lots tmp files created under /tmp/templates_c/, the name looks like wrt94A7.tmp, but the size of the files is 0.
smarty (php) cannot rename files in templates_c folder ....

Alby

Re: Blank install page

Posted: Wed Nov 19, 2008 7:28 pm
by Pierre M.
Hello,
cms_smc wrote: I just got my first CMSMS installed and encountered some issues
Any System Info from the admin panel ?

Pierre M.

Re: Blank install page

Posted: Wed Nov 19, 2008 7:45 pm
by cms_smc
Thanks Pierre and Alby!

- I tried /admin/index.php, below is what I got.  I got the connection error is because the the database connection has not been setup on install page yet!

Database Connection Failed
Error: Can't connect to MySQL server on 'localhost' (10061) (2003)
Function Performed: CONNECT
Host/DB: localhost/cms
Database Type: mysql

- Alby, could you please elaborate on the "name cannot be changed  by smarty"?
Attached is a screenshot of the /templets_directory

Re: Blank install page

Posted: Wed Nov 19, 2008 9:02 pm
by alby
cms_smc wrote: - Alby, could you please elaborate on the "name cannot be changed  by smarty"?
from php process ...
upload a php file with:

Code: Select all

<?php
echo get_current_user();
?>
and check permission for this user

Alby