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

Recent

Welcome to TinyPortal. Please login or sign up.

May 19, 2024, 11:53:52 AM

Login with username, password and session length
Members
  • Total Members: 3,886
  • Latest: Grendor
Stats
  • Total Posts: 195,189
  • Total Topics: 21,220
  • Online today: 128
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 56
  • Total: 56

Fehler im Fehlerprotokoll

Started by peweb, June 01, 2009, 11:01:41 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

peweb

#10
Also ich hab auch keinerlei Probleme mit dem Forum, aber völlig fehlerfrei wird das wohl nie werden. Aber das ist nur noch ein Bruchteil der Fehler die drin waren.

Auch nach den neuen Sprachdateien hab ich noch Fehler:

http://xxxxxxxx.de/index.php?action=tpadmin;sa=modules

2: fclose(): supplied argument is not a valid stream resource
Datei: /xxx/xxx/xxx/xxxxxx/forum/Sources/TPmodules.php
Zeile: 1487
   


http://xxxxxxxxxxx.de/index.php?action=tpadmin;sa=modules

2: fread(): supplied argument is not a valid stream resource
Datei: /xxxxx/xxx/xxxx/xxxxxxxxxx/forum/Sources/TPmodules.php
Zeile: 1478
   


http://xxxxxxxxxx.de/index.php?action=tpadmin;sa=modules

2: fopen(http://www.tinyportal.net/tplatestmodules.xml) [<a href='http://php.net/function.fopen'>function.fopen</a>]: failed to open stream: no suitable wrapper could be found
Datei: /xxx/xxx/xxx/xxxxxx/forum/Sources/TPmodules.php
Zeile: 1474



http://xxxxxxxxxx.de/index.php?action=tpadmin;sa=modules

2: fopen() [<a href='http://php.net/function.fopen'>function.fopen</a>]: URL file-access is disabled in the server configuration
Datei: /xxx/xxx/xxx/xxxxxx/forum/Sources/TPmodules.php
Zeile: 1474



Aber ich seh das inzwischen auch lockerer

Peter


Edit: Können das fsockopen Fehler sein? Das ist nämlich auf dem Server deaktiviert. Habe ich daran gemerkt, daß recaptcha nicht läuft

ZarPrime

peweb,

In den meisten Fällen gibt Fehler verursacht meine Erlaubnis Probleme mit Ihrem Rechner. Sie brauchen, um fopen * * ermöglichen, so dass Sie shuld wenden Sie sich an Ihren Gastgeber und sie bitten, zur Änderung der Einstellungen auf dem Server.

Für weitere Informationen, können Sie sich über diese Frage in der unten aufgeführten Themen, wenn Sie müssen in der Lage sein Englisch zu verstehen, um sie zu lesen ...
http://www.tinyportal.net/index.php/topic,29092.msg232055.html#msg232055

In English ...

For the most part, there errors are caused my permission issues with your host.  They need to set *allow fopen* so you shuld contact your host and ask them to change the settings on the server.

For more information, you can read about this issue in the topic below, though you need to be able to understand English to read them ...
http://www.tinyportal.net/index.php/topic,29092.msg232055.html#msg232055

ZarPrime

peweb

Thank you very much ZarPrime....

my english is good enough zu see what the problem. But my hoster and his holy security says, itÃ,´s not possible to allow that. But i think i can live very fine with this Error.  ;)

ZarPrime

Peter,

Fopen ist für RSS-Feeds. Der Grund, diese Fehler sind passiert, ist, dass, wenn Sie sich in der TinyPortal Admin-Bereich gibt es einen RSS-Feed von TinyPortal, und es ist nicht in der Lage, um die Futter-und das es richtig. Wenn Sie nicht verwenden RSS-Feeds an einer beliebigen Stelle auf den größten Teil Ihrer Website, dann wird es nicht wirklich beeinflussen können. Allerdings, wenn Sie planen, über die Verwendung der RSS-Feeds in die Zukunft und der eigene Rechner wird nicht zulassen, dass fopen, dann sollten Sie sich darüber auch der Suche nach einem anderen Rechner.

Ich gehe vor und markieren Sie dieses Thema gelöst.

ZarPrime

In English ...

Peter,

Fopen is required for RSS Feeds.  The reason these errors are happening is that when you are in the TinyPortal Admin section there is an RSS Feed from TinyPortal and it is not able to open the Feed and display the it properly.  If you are not going to use RSS Feeds anywhere on the main part of your site then it won't really affect you.  However, if you are planning on using RSS Feeds in the future and your host won't allow Fopen, then you should think about eventually looking for another host.

I will go ahead and mark this topic solved.

ZarPrime

cx_one

Ok liegt an den RSS Feeds im Adminbereich für Tinyportal.

Wenn du die Fehler aus dem Log haben willst, hab ich da schnell was gebastelt.

In der Datei Sources/TPmodules.php in der Funktion TPparseRSS fügst du nach der " global $context, ......" Zeile (ca Zeile 1454) diese hier ein

if(ini_get('allow_url_fopen') != 1){
    return;
}


Das gleich nochmal in der Funktion TPparseRSS_TP nach der "global...." Zeile (ca Zeile 1498)

Tut nix anderes als die PHP Auslesen ob der Zugriff mit fopen auf URLs erlaubt ist.


In English:

A little hotfix, to leave the RSS function when allow_url_fopen in php.ini is turned off