https://www.icyphoenix.com/viewtopic.php?f=35&t=6547
-----------------------------------
evil ways
Sat 10 Oct, 2009 14:10

Error Block
-----------------------------------
Hi all, I was adding the toolbar to search google adsense after entering the block I get this error message:

[code linenumbers=false]Template->make_filename(): Error - template file not found: blocks/gsearch_hor_block.tpl[/code]

icy version : 1.3.0.53


-----------------------------------
Informpro
Sat 10 Oct, 2009 19:29

Re: Error Block
-----------------------------------
Is the mod for IcyPhoenix ? ...


-----------------------------------
evil ways
Sat 10 Oct, 2009 19:50

Re: Error Block
-----------------------------------
no I do not have any mod installed


-----------------------------------
Informpro
Sat 10 Oct, 2009 20:22

Re: Error Block
-----------------------------------
What's this: "Hi all, I was adding the toolbar to search google adsense" -_- ?


-----------------------------------
evil ways
Sat 10 Oct, 2009 21:04

Re: Error Block
-----------------------------------
I created a block from the CMS that contains the google search bar and now I can not access the site.

	
here is the error message:

[code linenumbers=false]Template->make_filename(): Error - template file not found: blocks/gsearch_hor_block.tpl[/code]

Link : [code linenumbers=false]www.boiki.netsons.org[/code]

Sorry but I don't speak English very well.


-----------------------------------
Informpro
Sun 11 Oct, 2009 08:53

Re: Error Block
-----------------------------------
create an empty file and put in templates/common/blocks/gsearch_hor_block.tpl ...


-----------------------------------
evil ways
Sun 11 Oct, 2009 11:35

Re: Error Block
-----------------------------------
The file should belong to the old version and if I load the folder template\default\blocks receive the following error:

[code linenumbers=false]Hacking attempt[/code]


-----------------------------------
Chaotic
Sun 11 Oct, 2009 21:48

Re: Error Block
-----------------------------------
I'm confused.

You created a new block file named [b]blocks_imp_gsearch_hor.php[/b] and placed it in [i]ip_root/blocks/[/i].  You also created [b]blocks_imp_gsearch_hor.cfg[/b] and placed it in [i]ip_root/blocks/[/i].

You then created [b]gsearch_hor_block.tpl[/b] and placed it in [i]ip_root/templates/default/blocks/[/i].

You can't just create [b]gsearch_hor_block.tpl[/b] and not have anything in the file.  Also be sure you have [b]blocks_imp_gsearch_hor.cfg[/b].

Just checking. :)


-----------------------------------
Mighty Gorgon
Mon 12 Oct, 2009 10:53

Re: Error Block
-----------------------------------
That block is old and not used anymore in latest Icy Phoenix.

Please remove all blocks you have and re-upload only the ones included in the package.


-----------------------------------
buldo
Tue 13 Oct, 2009 21:21

Re: Error Block
-----------------------------------
[quote user="Chaotic" post="44943"]I'm confused.[/quote]

Gary, he's using a block that was for IP 1.2.0.27, so if he wants to continue using it he has to adapt the code or use another block. :wink:

We are talking about this problem on IP.it but he cross-posted here also :(
I give him some tips to solve his problem on IP.it, like disable block via phpMyAdmin setting "active" to 0 for that block, so I lock this topic.

[b]evil ways[/b], please, continue on IP.it.


-----------------------------------
Chaotic
Tue 13 Oct, 2009 21:56

Re: Error Block
-----------------------------------
Oh, sorry about that.  I had no idea he was seeking help first on the IT website. :)


-----------------------------------
buldo
Tue 13 Oct, 2009 22:31

Re: Error Block
-----------------------------------
[quote user="Chaotic" post="45001"]Oh, sorry about that.  I had no idea he was seeking help first on the IT website. :)[/quote]

No problem Gary, he knows that cross-posting should not be done, but, as most users, he wants a quick answer so he wrote here also  :x


