Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 2
Goto page 1, 2  Next
 
Reply with quote Download Post 
Post 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:
Code: [Download] [Hide] [Select]
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 
nothereSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post 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?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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.

Code: [Download] [Hide] [Select]
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:
Code: [Download] [Hide] [Select]
blocks_imp_news.tpl

outputs:
Code: [Download] [Hide] [Select]
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'
 



 
nothereSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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

 bbcode_block_creation

- Next I opened the CMS pages tab
- and added the new block to the 3 collumn portal page

 adding_the_block_to_portal

Result:

 bbcode_block_result
 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: IP 2.0 Completely Lost 
 
Joshua203 wrote: [View Post]
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
 
TheSteffenSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 ex_00

CMS
- add the and enable block 'user' on the right
ex_01

Go to the index page and I get an error:
 ex_02

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 
nothereSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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?
 



 
nothereSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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.
 



 
nothereSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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
error

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.
 



 
nothereSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [Solved]IP 2.0 Completely Lost 
 
Re the GZip problem;

Check this post.  

http://www.icyphoenix.com/viewtopic.php?p=55993#p55993
 



 
mortSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [Solved]IP 2.0 Completely Lost 
 
Thank you, mort. Very much appreciated. That will certainly come in handy.
 



 
nothereSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [Solved]IP 2.0 Completely Lost 
 
Great, you solved it by yourself Nothere .. congrats  
 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 2
Goto page 1, 2  Next


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
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


  

 

  cron