Page 1 of 1

Problems at the very end

Posted: Mon 13. Nov 2006, 17:49
by gromituk2k
I have just gone through the instalation process, all went ok, at the last section ir sat that all the files/folders were ok and that there were no problems.
when trying to acess the site I get the following error:

Warning: Invalid argument supplied for foreach() in /home/jtportf/public_html/cotton/index.php on line 112

the code that appears on this line is:

Code: Select all

foreach($block['css'] as $value) {
	$content['css_import'] .= '    @import url("'.TEMPLATE_PATH.'inc_css/'.$value.'");'.LF;

Please help :?:

Setting up problem

Posted: Tue 12. Dec 2006, 05:24
by barrnone
I have a very similar problem setting up PHPWCMS on my computer. Everything goes fine until

Warning: Invalid argument supplied for foreach() in C:\wamp\www\phpwcms\20060905_phpwcms_1.2.8\index.php on line 112


Have you had any luck in sorting it out?
Barrnone

Posted: Tue 12. Dec 2006, 07:19
by flip-flop
Hi,

that is no problem. Please create a template and the error normaly is gone.

Regards Knut