TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

April 19, 2024, 09:45:33 PM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,165
  • Total Topics: 21,219
  • Online today: 266
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 159
  • Total: 159

After upgrade to TP 1.0, Blocks dissapear

Started by boldt, August 27, 2012, 10:45:44 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

boldt

After 5 years I decided to upgrade my Forum to SMF 2.0.2 and TP 1.0

I am using the default theme and at the same time I have upgraded the collection of mods: Favicon 1.0, Aeva Lite 7.2, and Mimetex 1.0

I have made one modification to the theme: I have removed the "info center" below the forum by deleting in the part operating this in BoardIndex.template.php

As seen on ingeniordebat.dk

Above the forum there should be a single news box - nothing is shown
On the right side I have a block with Google adds but it is empty - only the headline is there.
In the bottom there where suppose to be 3 blocks each with their own RSS-feed.

I have tried to change theme (to an original one without any modifications) but the problems remains?

What shall I do in order to get this work?

IchBin

Are you getting any errors in your SMF log? Have you tried editing the block and saving it again to see if anything changes?

boldt

I do not get any error-messages
The Google box came from my previous setup with SMF1.6 and TP0.98 so I deleted the old one and made a new, when the problem occurred.

About the RSS boxes in the bottom. When you click on a post - the boxes appear, but empty.

boldt

I went to the admin board in error log:
actually a simple click on a post, a category  and front page generated 12 errors (sorry they are in Danish):

01054c6cd309b15aea151b7fdca0241c
Fejltype: Alment
2: fclose(): supplied argument is not a valid stream resource
Fil: /home/www/ingeniordebat.dk/Sources/TPSubs.php
Linie: 2164

01054c6cd309b15aea151b7fdca0241c
Fejltype: Alment
2: fread(): supplied argument is not a valid stream resource
Fil: /home/www/ingeniordebat.dk/Sources/TPSubs.php
Linie: 2155

01054c6cd309b15aea151b7fdca0241c
Fejltype: Alment
2: fopen(http://www.dtu.dk/Nyheder/Nyt_fra_DTU.aspx?lg=rss) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: no suitable wrapper could be found
Fil: /home/www/ingeniordebat.dk/Sources/TPSubs.php
Linie: 2151

01054c6cd309b15aea151b7fdca0241c
Fejltype: Alment
2: fopen() [<a href='function.fopen'>function.fopen</a>]: URL file-access is disabled in the server configuration
Fil: /home/www/ingeniordebat.dk/Sources/TPSubs.php
Linie: 2151

01054c6cd309b15aea151b7fdca0241c
Fejltype: Alment
2: fclose(): supplied argument is not a valid stream resource
Fil: /home/www/ingeniordebat.dk/Sources/TPSubs.php
Linie: 2164

01054c6cd309b15aea151b7fdca0241c
Fejltype: Alment
2: fread(): supplied argument is not a valid stream resource
Fil: /home/www/ingeniordebat.dk/Sources/TPSubs.php
Linie: 2155

01054c6cd309b15aea151b7fdca0241c
Fejltype: Alment
2: fopen(http://www.dr.dk/nyheder/service/feeds/allenyheder) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: no suitable wrapper could be found
Fil: /home/www/ingeniordebat.dk/Sources/TPSubs.php
Linie: 2151

01054c6cd309b15aea151b7fdca0241c
Fejltype: Alment
2: fopen() [<a href='function.fopen'>function.fopen</a>]: URL file-access is disabled in the server configuration
Fil: /home/www/ingeniordebat.dk/Sources/TPSubs.php
Linie: 2151

01054c6cd309b15aea151b7fdca0241c
Fejltype: Alment
2: fclose(): supplied argument is not a valid stream resource
Fil: /home/www/ingeniordebat.dk/Sources/TPSubs.php
Linie: 2164

01054c6cd309b15aea151b7fdca0241c
Fejltype: Alment
2: fread(): supplied argument is not a valid stream resource
Fil: /home/www/ingeniordebat.dk/Sources/TPSubs.php
Linie: 2155

01054c6cd309b15aea151b7fdca0241c
Fejltype: Alment
2: fopen(http://videnskab.dk/rss) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: no suitable wrapper could be found
Fil: /home/www/ingeniordebat.dk/Sources/TPSubs.php
Linie: 2151

01054c6cd309b15aea151b7fdca0241c
Fejltype: Alment
2: fopen() [<a href='function.fopen'>function.fopen</a>]: URL file-access is disabled in the server configuration
Fil: /home/www/ingeniordebat.dk/Sources/TPSubs.php
Linie: 2151

IchBin

Your server configuration is setup so that you are not allowed to fetch external URL's or files. That is why it says "URL file-access is disabled in the server configuration". In order to get those RSS  feeds to work you will have to ask the host to allow it.

Maxx1

But Mama, That's Where all the fun is!

boldt

With a little help from my webhotel I was able to enable "allow_url_include" in my php setup  and it solved the problem getting content to my rss-blocks.

Thank you.

But back to my other problems described:
On the front page of my forum there should be a single news box on top and in the bottom there where suppose to be 3 blocks each with their own RSS-feed, but nothing is shown.

What shall I do in order to get this work?

IchBin

Check your panel settings in the front page settings to see if they are set to display. Then check the blocks to make sure they are set to display on the front page.

boldt

For the news on upper menu I had only ticked following action:
"Display on all pages and sections" as soon as I ticked "Front page" I got my upper panel displayed as I wanted.

The bottom panel wasn't ticked in TP-Admin frontpage.

A translation error in the Danish language files created the problem. Once I changed to English language it was possible to see the errors.

Thank you for your patience and help.

ZarPrime

boldt,

I looked at your site and your issues seemed to be fixed.  Therefore, I will mark this topic solved. O0

If I am mistaken, and you are still having problems, please post again in this topic.

ZarPrime