[SOLVED] Error with...
 
Notifications
Clear all

[SOLVED] Error with News block after upgrade to latest (3.1)

18 Posts
6 Users
0 Reactions
4,994 Views
(@slacker)
Posts: 30
Eminent Member
Topic starter
 

G'day guys- long time!

Just upgraded to v.3 and loving it, except I'm getting this error:

Warning: include(blocks/) [function.include]: failed to open stream: No such file or directory in /home/fictioni/public_html/blocks/news/admin.php on line 11

Warning: include(blocks/) [function.include]: failed to open stream: No such file or directory in /home/fictioni/public_html/blocks/news/admin.php on line 11

Warning: include() [function.include]: Failed opening 'blocks/' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/fictioni/public_html/blocks/news/admin.php on line 11

I've tried reuploading blocks, changing permissions to even 777! Nothing seems to work. Site is www.fictionised.net ....quite perplexed- everything seems to be there...?


I'm a crazy cat!

 
Posted : 18/02/2007 5:48 am
(@jacci)
Posts: 503
Honorable Member
 

Are you using version 2 skins?


why is nothing ever easy?
url: http://www.pretendercentre.com/missingpieces/     
php: 5.2.5  msql: 5.0.45-community
efic version: 3.4.3           latest patches: yes
bridges: none              mods: challenges, displayword, beta-search

 
Posted : 18/02/2007 7:15 am
(@slacker)
Posts: 30
Eminent Member
Topic starter
 

G'day.

No, I'm using the 'Elegance' skin, and it's unedited, saved for insertion of the news block and a few others into index.tpl, which shouldn't be the problem here anyway, as described in the error, I would have thought? It's quite odd, but no news is showing up because of this error, despite me having news stories...


I'm a crazy cat!

 
Posted : 18/02/2007 7:20 am
(@becca)
Posts: 553
Honorable Member
 

I don't think it should be blocks/ it should be /blocks. But on your site your other blocks seem to be fine.


 
Posted : 18/02/2007 12:19 pm
(@darklight)
Posts: 170
Estimable Member
 

I had a problem like that using the same skin too. It went away when I added the recent stories block to the index.tpl. I don't know if it'll help you or not, but it couldn't hurt to try.


 
Posted : 18/02/2007 1:43 pm
(@slacker)
Posts: 30
Eminent Member
Topic starter
 

G'day guys. Yeah, it's odd that the other blocks work. MIND YOU, the recent block is there already in index.tpl, but it's pulling nothing in the block, as you can see, despite there being stories to grab, and the random AND featured blocks both working ...


I'm a crazy cat!

 
Posted : 18/02/2007 2:05 pm
(@darklight)
Posts: 170
Estimable Member
 

Try coping the recent block from your csszen skin and replacing the one you have now with that one.


 
Posted : 18/02/2007 2:08 pm
(@slacker)
Posts: 30
Eminent Member
Topic starter
 

Okay, I tried replacing the news and recent blocks in the csszen skin to the elegance skin, and it cleared up one thing:

I can now see news archives, but still cannot get the main news?

EDIT: Oh, and Recent still won't show either...


I'm a crazy cat!

 
Posted : 18/02/2007 2:41 pm
(@carissa)
Posts: 791
Member Moderator
 

Elegance doesn't have a variables.php file like the others, so you'll need to make sure the block is turned on in your admin>blocks settings, and that it isn't set to use tpls.


 
Posted : 18/02/2007 3:34 pm
(@slacker)
Posts: 30
Eminent Member
Topic starter
 

Thanks Carissa for the response. The News block is turned on in block settings, set to index only (not that it's made a difference setting it to Active), not sure how to tell it to NOT use tpls. It only gives me these options:

Admin - News
Current:

_NUMNEWS:

Length of Summary:

Also note the "_NUMNEWS" rather than a nice language-text? Is that related to the language files or something?


I'm a crazy cat!

 
Posted : 18/02/2007 4:20 pm
(@carissa)
Posts: 791
Member Moderator
 

It's not supposed to say that. Perhaps you had a little installation/uploading troubles. I'd try again, since it seems like some files may not have gotten properly uploaded.


 
Posted : 18/02/2007 6:08 pm
(@slacker)
Posts: 30
Eminent Member
Topic starter
 

Thanks, I'll reupload all the files, and try the upgrade again after work this afternoon (Australian timezone...).

Mind you, no visible problems when going through the upgrade earlier. Will keep you posted, and thanks for the support πŸ™‚


I'm a crazy cat!

 
Posted : 18/02/2007 6:13 pm
(@slacker)
Posts: 30
Eminent Member
Topic starter
 

Okay, I've reuploaded everything, and it's still the same. I tried changing to the CSSZen skin, but it has the same effect- News and Recent won't show up (i.e. they're empty)...ahhh! πŸ™

Also, the block error mentioned earlier is still there...?


I'm a crazy cat!

 
Posted : 19/02/2007 3:31 am
(@slacker)
Posts: 30
Eminent Member
Topic starter
 

Update: Tried everything to no avail. Have no idea now why this error is coming up in news settings, and why the site won't display the news on the front page (displays news archive fine)...


I'm a crazy cat!

 
Posted : 19/02/2007 12:05 pm
(@darklight)
Posts: 170
Estimable Member
 

Under the search block you have this

<div class="block">
      <div class="tl"><div class="tr">

<div class="title"></div>
</div></div>
      <div class="content"></div>

Notice that there is nothing in the content div, so nothing shows. If that's the resent story block you would put

 recent_content

between the part that says

 <div class="content"></div>

I just noticed that there is nothing between the title divs either.
The same thing is true with the middle block and the others that aren't showing anything with the elegance skin. They aren't showing anything because there's nothing between the div tags to show.


 
Posted : 19/02/2007 12:31 pm
Page 1 / 2
Share: