Problems at the very end

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
gromituk2k
Posts: 5
Joined: Mon 13. Nov 2006, 17:46

Problems at the very end

Post 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 :?:
Gromituk2k
barrnone
Posts: 1
Joined: Sun 10. Dec 2006, 08:10

Setting up problem

Post 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
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Hi,

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

Regards Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Post Reply