Icy Phoenix
Old Support Topics - IP 2.0 Completely Lost
nothere [ Sat 11 Aug, 2012 19:30 ]
Post subject: IP 2.0 Completely Lost
UPDATE It appears that during the upgrade the old block files were imported, renamed to 'blocks_imp' (hence the imp), but didn't add the new ones to the block folder. Once I noticed this I uploaded the latest block files and everything was back. Then I backed up the imported ones and deleted them off the server.
Thank you for the help and marked as 'Solved'
original post:
Hello all,
I recently upgraded from Icy Phoenix 1.3.0.53 to 2.0, using this page;
http://www.icyphoenix.com/docs/readme_english.html for reference.
The forums with all users, previous content, etc work fine. However the main index page is a total mystery to me. What I mean by that is whenever I try to implement a new block the page comes back blank with an error.
example:
Template->make_filename(): Error - template file not found: blocks/blocks_imp_news_block.tpl
Beyond that, I have no idea what's wrong or how to work through this. Any help would be very much appreciated.
Joshua203 [ Sat 11 Aug, 2012 22:19 ]
Post subject: Re: IP 2.0 Completely Lost
Hi Nothere,
I think you have to create the missing blocks_imp_news_block.tpl file
or if you previously deleted this file for the upgrade ...put it back from your backup
EDIT:
It may be more than you asked for but there's lots of related intresting stuff here:
http://www.icyphoenix.com/viewtopic.php?f=4&t=8610
nothere [ Sat 11 Aug, 2012 23:53 ]
Post subject: Re: IP 2.0 Completely Lost
Hi, Joshua203. Thank you for replying.
I found something odd. It appears whenever I try to add a block, it appends '_block', which produces an error.
Template->make_filename(): Error - template file not found: blocks/blocks_imp_user_block_block.tpl
Note that the '_block' now appears twice.
The same can observed in my original post, where:
outputs:
blocks_imp_news_block.tpl
This is happening with every 'blocks_imp_[block name].tpl' I've tried.
--
What does work is any block specified to use HTML code.--
Also. I looked through my backup and it's pretty much mirrored in the new version as far as cfg, php and tpl files are concerned. I will however look through the page you linked and see what I can do with that.
Thank you so much, Joshua203
'Dan'
Joshua203 [ Sun 12 Aug, 2012 14:20 ]
Post subject: Re: IP 2.0 Completely Lost
Well I'm not sure what you are trying to do and how you are trying to do it.
- what kind of block are trying to add ... Self created one or standard one from IP 2.0?
- Can you describe how you tried to do it? (all the steps please)
______________________
I tried some test to add some simple block (bbcode block) to the postal and it simply worked (even without creating a tpl file for it manually... according to TheSteffen it is saved in the DB).
These are my steps:
- ACP >> CMS >> Parent blocks tab
-Created a new block and added some bbcode content
- Next I opened the CMS pages tab
- and added the new block to the 3 collumn portal page
Result:
TheSteffen [ Sun 12 Aug, 2012 14:39 ]
Post subject: Re: IP 2.0 Completely Lost
Well I'm not sure what you are trying to do and how you are trying to do it.
Same to me.
Anyway a guess from me:
- be sure you clean the cache folders
- maybe you want to install an old block, that is not compatible with icyphoenix 2.0
nothere [ Sun 12 Aug, 2012 20:31 ]
Post subject: Re: IP 2.0 Completely Lost
Hello
Thank you for the replies.
EDIT: To be more specific, the instructions on
this page is what I'm looking to do. It appears the block file;
news [News], doesn't exist after the upgrade.
The example given by Joshua203 works fine for me. It's when I try to use 'file' as the block type I get an error. Here's what I'm trying to do.
ACP>>CMS>>Parents block:
- define block type as file, user block in this example
CMS
- add the and enable block 'user' on the right
Go to the index page and I get an error:
I
thought that some blocks were predefined as in the user block and I don't understand what the; block_imp_[file name] are used for.
Joshua203 [ Sun 12 Aug, 2012 21:16 ]
Post subject: Re: IP 2.0 Completely Lost
What I don't understand is ...
Where does this blocks_imp_user_block file come from, I dont have that in my dropdown list at all.
And if I simply use the user_block [User Block] it works just fine in a test.
nothere [ Sun 12 Aug, 2012 22:12 ]
Post subject: Re: IP 2.0 Completely Lost
Hi Joshua203
That's what I suspected as I don't remember seeing those template files before; as you said, 'user_block [User Block]' is what one would expect, but it's not there, only those block_imp_ files are in the drop down list. They refer to the block folder in the error message.
In looking at the database in phpMyAdmin, I see a bunch of tables called ip_mps_[table name], most are not viewable -- are they supposed to be there, I can't remember?
Joshua203 [ Sun 12 Aug, 2012 23:25 ]
Post subject: Re: IP 2.0 Completely Lost
Guess I need to upgrade myself to be able to test properly, I was testing at the latest release candidate.
I ll do that as soon as possible, or maybe TheSteffen will reply sooner than that
nothere [ Sun 12 Aug, 2012 23:39 ]
Post subject: Re: IP 2.0 Completely Lost
Okay. Thanks, Joshua203, I'll keep an eye out.
In the meantime, I'm going to do a fresh install in another folder/domain to see how it goes. I'm starting to suspect there's something not right with the database (I hope note). However, I've been weeding out old files, eliminating possibilities, clearing the cache with no luck.
Joshua203 [ Sun 12 Aug, 2012 23:40 ]
Post subject: Re: IP 2.0 Completely Lost
Check if you have done all the upgrade steps while you're at it
nothere [ Mon 13 Aug, 2012 00:57 ]
Post subject: Re: IP 2.0 Completely Lost
EDIT:
Solved See first post.
I just finished doing a clean install as per:
http://www.icyphoenix.com/docs/readme_english.html Things seemed to go well, no errors reported. I deleted the install folder and checked the database.
I had to disable gzip compression since the index page would not show, as Firefox indicated
Here is the site's URL (for testing IP2.0):
http://beta.drm-cops.com/index.php If you visit the site you can see it's working, with the exception of the 'album mod' function. I haven't customized anything, but looked through the blocks and they appear to be 'normal' i.e.
not that strange
ip_mps_[table name]. I also note that there's a good deal missing from the block files on the original site (the one with the problems).
Right now, I'm thinking the database is causing the problems. However, I'm not ruling out a 'rouge' file(s) either.
mort [ Mon 13 Aug, 2012 08:01 ]
Post subject: Re: [Solved]IP 2.0 Completely Lost
nothere [ Mon 13 Aug, 2012 18:53 ]
Post subject: Re: [Solved]IP 2.0 Completely Lost
Thank you, mort. Very much appreciated. That will certainly come in handy.
Joshua203 [ Tue 14 Aug, 2012 00:14 ]
Post subject: Re: [Solved]IP 2.0 Completely Lost
Great, you solved it by yourself Nothere .. congrats
Mighty Gorgon [ Tue 14 Aug, 2012 20:03 ]
Post subject: Re: IP 2.0 Completely Lost
Please that all Blocks prefixed with blocks_imp_ are for older Icy Phoenix versions. Please remove all those blocks if you still have.
You should also edit includes/album_mod/album_functions.php on line 1035 by removing the &.
nothere [ Wed 15 Aug, 2012 05:40 ]
Post subject: Re: [Solved]IP 2.0 Completely Lost
Thank you, Joshua 203, I was happy to figure things out.
A thank you to MG. I took a guess and deleted those old files, as well as took out the
& in the functions.php.
One more thing. A big thank you to all of you for creating such wonderful and awesome software. Congratulations are in order too!