|
Page 1 of 2
|
nothere
Joined: May 2010
Posts: 45
|
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.
Last edited by nothere on Mon 13 Aug, 2012 04:34; edited 1 time in total |
#1 Sat 11 Aug, 2012 19:30 |
|
Sponsors
|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
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
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#2 Sat 11 Aug, 2012 22:19 |
|
nothere
Joined: May 2010
Posts: 45
|
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'
|
#3 Sat 11 Aug, 2012 23:53 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
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:
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#4 Sun 12 Aug, 2012 14:20 |
|
TheSteffen
Joined: August 2006
Posts: 1625
Location: Magdeburg
|
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
____________ TheSteffen
Often SEARCH is the quickest way to get support.
IcyPhoenix German Support
|
#5 Sun 12 Aug, 2012 14:39 |
|
nothere
Joined: May 2010
Posts: 45
|
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.
Last edited by nothere on Sun 12 Aug, 2012 21:17; edited 2 times in total |
#6 Sun 12 Aug, 2012 20:31 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
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.
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#7 Sun 12 Aug, 2012 21:16 |
|
nothere
Joined: May 2010
Posts: 45
|
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?
|
#8 Sun 12 Aug, 2012 22:12 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
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
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#9 Sun 12 Aug, 2012 23:25 |
|
nothere
Joined: May 2010
Posts: 45
|
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.
|
#10 Sun 12 Aug, 2012 23:39 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
Re: IP 2.0 Completely Lost
Check if you have done all the upgrade steps while you're at it
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#11 Sun 12 Aug, 2012 23:40 |
|
nothere
Joined: May 2010
Posts: 45
|
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.
|
#12 Mon 13 Aug, 2012 00:57 |
|
mort
Spam Basher
Joined: August 2010
Posts: 998
Location: Up a tree
|
Re: [Solved]IP 2.0 Completely Lost
|
#13 Mon 13 Aug, 2012 08:01 |
|
nothere
Joined: May 2010
Posts: 45
|
Re: [Solved]IP 2.0 Completely Lost
Thank you, mort. Very much appreciated. That will certainly come in handy.
|
#14 Mon 13 Aug, 2012 18:53 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
Re: [Solved]IP 2.0 Completely Lost
Great, you solved it by yourself Nothere .. congrats
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#15 Tue 14 Aug, 2012 00:14 |
|
|
Page 1 of 2
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
You cannot post new topics You cannot reply to topics You cannot edit your posts You cannot delete your posts You cannot vote in polls You cannot attach files You can download files You cannot post calendar events
|
|
|
|