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);
Blank install page
Blank install page
- Attachments
-
[The extension txt has been deactivated and can no longer be displayed.]
Re: Blank install page
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.
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
1: use install/index.php?debug=1cms_smc wrote: - permissions look fine, since I didn't see any "... not writeable kind of errors"
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
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.
- 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
smarty (php) cannot rename files in templates_c folder ....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.
Alby
Re: Blank install page
Hello,
Pierre M.
Any System Info from the admin panel ?cms_smc wrote: I just got my first CMSMS installed and encountered some issues
Pierre M.
Re: Blank install page
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
- 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
from php process ...cms_smc wrote: - Alby, could you please elaborate on the "name cannot be changed by smarty"?
upload a php file with:
Code: Select all
<?php
echo get_current_user();
?>
Alby