Blank install page

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.
Locked
cms_smc
New Member
New Member
Posts: 4
Joined: Wed Nov 19, 2008 4:26 pm

Blank install page

Post 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);
Attachments

[The extension txt has been deactivated and can no longer be displayed.]

cms_smc
New Member
New Member
Posts: 4
Joined: Wed Nov 19, 2008 4:26 pm

Re: Blank install page

Post 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.
alby

Re: Blank install page

Post 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
cms_smc
New Member
New Member
Posts: 4
Joined: Wed Nov 19, 2008 4:26 pm

Re: Blank install page

Post 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.
alby

Re: Blank install page

Post 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
Pierre M.

Re: Blank install page

Post 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.
cms_smc
New Member
New Member
Posts: 4
Joined: Wed Nov 19, 2008 4:26 pm

Re: Blank install page

Post 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
Attachments
Hosting Control Center - File Manager.png
alby

Re: Blank install page

Post 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
Locked

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