Home   Forum   FAQ   Top Seiten   Dokumentation   Staff   
Letzte Kurzmitteilung - Erstellt von: aom - Donnerstag, 07 Januar 2010 09:17
NEW!! MKPortal FAQ
 
Deutscher MKPortal Support
Willkommen Gast. Bitte einloggen oder registrieren.
Haben Sie Ihre Aktivierungs E-Mail übersehen?
September 09, 2010, 08:07:54

Einloggen mit Benutzername, Passwort und Sitzungslänge
Suche:     Erweiterte Suche
Liebe MKPortal-User! Bitte in Eurer Signatur die MKP-Version, Forum+Version, wenn mögl. auchPHP-Version und SQL-Version angeben!!! Beispiel:
 MKP 1.1.1 / IPB 2.3.1 / PHP=5.2.0 / SQL=MySQL 5.0.26

Fehlen diese Angaben können wir Euch nicht Helfen!!!
17472 Beiträge in 2458 Themen von 1616 Mitglieder
Neuestes Mitglied: thunder
* Übersicht Hilfe Suche Kalender Einloggen Registrieren
+  Deutscher MKPortal Support
|-+  English Support
| |-+  General Usage
| | |-+  MKPortal Phpbb
| | | |-+  phpBB debug problem
0 Mitglieder und 1 Gast betrachten dieses Thema. « vorheriges nächstes »
Seiten: [1] 2 Nach unten     hinzufügen: Mr. Wong hinzufügen: Del.icio.us hinzufügen: Technorati Drucken

Ähnliche Themen *

Autor Thema: phpBB debug problem  (Gelesen 599 mal)
AirWarrior
AirWarrior
Jr. Mitglied
**

Bewertung: 0
Offline Offline

Beiträge: 79


php noob !!


WWW
phpBB debug problem
« am: Juni 12, 2010, 12:44:48 »

What could make this problem??

Code:
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4490: require_once(../mkportal/include/PHPBB3/php_out.php) [function.require-once]: failed to open stream: No such file or directory
Gespeichert

Signed by:
AirWarrior
Dutch-Angels
aom
MKP DE Administration
*

Bewertung: 44
Offline Offline

Beiträge: 2681


Balu der Hund


WWW
Re: phpBB debug problem
« Antworten #1 am: Juni 12, 2010, 14:08:34 »

Read:
"failed to open stream: No such file or directory"
This is the problem
Gespeichert

MKP 1.1.2 / SMF 1.1.1
AirWarrior
AirWarrior
Jr. Mitglied
**

Bewertung: 0
Offline Offline

Beiträge: 79


php noob !!


WWW
Re: phpBB debug problem
« Antworten #2 am: Juni 12, 2010, 17:56:26 »

This is line 4490
Code:
require_once "../mkportal/include/PHPBB3/php_out.php";

What file do i need??
php_out.php is in that folder
Gespeichert

Signed by:
AirWarrior
Dutch-Angels
aom
MKP DE Administration
*

Bewertung: 44
Offline Offline

Beiträge: 2681


Balu der Hund


WWW
Re: phpBB debug problem
« Antworten #3 am: Juni 12, 2010, 19:20:09 »

Hi
do you see the ..\ at the beginning of address?
This is a relative filename and works only if it is called from thre right directory.

When this error occurs, what is your webaddress in browser address field?
Please post it.
Gespeichert

MKP 1.1.2 / SMF 1.1.1
AirWarrior
AirWarrior
Jr. Mitglied
**

Bewertung: 0
Offline Offline

Beiträge: 79


php noob !!


WWW
Re: phpBB debug problem
« Antworten #4 am: Juni 13, 2010, 14:26:42 »

http://golf.dutchwarzone.nl
Thats the website
Gespeichert

Signed by:
AirWarrior
Dutch-Angels
aom
MKP DE Administration
*

Bewertung: 44
Offline Offline

Beiträge: 2681


Balu der Hund


WWW
Re: phpBB debug problem
« Antworten #5 am: Juni 14, 2010, 09:39:30 »

is this the address when the error occurs?
Gespeichert

MKP 1.1.2 / SMF 1.1.1
AirWarrior
AirWarrior
Jr. Mitglied
**

Bewertung: 0
Offline Offline

Beiträge: 79


php noob !!


WWW
Re: phpBB debug problem
« Antworten #6 am: Juni 14, 2010, 16:22:50 »

The error is in the admin deleted link
Gespeichert

Signed by:
AirWarrior
Dutch-Angels
Cool
FREE TIBET
MKP DE Administration
*

Bewertung: 43
Offline Offline

Beiträge: 2424


I HATE Chinas authority


Re: phpBB debug problem
« Antworten #7 am: Juni 14, 2010, 18:51:19 »

can you post your forum cookie-settings?
Gespeichert

<<< Deutsche Installationsanleitung >>> | Login Probleme ? | Board & Forum: MKP C1.2.2 or newer| IPB  | VB | SMF | MyBB

..::  Have A Nice Day  ::..
aom
MKP DE Administration
*

Bewertung: 44
Offline Offline

Beiträge: 2681


Balu der Hund


WWW
Re: phpBB debug problem
« Antworten #8 am: Juni 14, 2010, 19:02:33 »

OK, here you see the mistake:

http://website.com/forum/stk/

../ =>http://website.com/forum/
+
mkportal/include/PHPBB3/php_out.php
=
http://website.com/forum/mkportal/include/PHPBB3/php_out.php

and mkportal can not be in the board folder.
Gespeichert

MKP 1.1.2 / SMF 1.1.1
AirWarrior
AirWarrior
Jr. Mitglied
**

Bewertung: 0
Offline Offline

Beiträge: 79


php noob !!


WWW
Re: phpBB debug problem
« Antworten #9 am: Juni 14, 2010, 19:19:09 »

golf.dutchwarzone.nl = root
in root:
mkportal folder
forum folder
stk folder

stk is an extra admin menu for maintanance, so i don't understand the problem.
But its not a big issue, becouse its only in stk.
I delete the link. security reasons  Zwinkernd
Gespeichert

Signed by:
AirWarrior
Dutch-Angels
aom
MKP DE Administration
*

Bewertung: 44
Offline Offline

Beiträge: 2681


Balu der Hund


WWW
Re: phpBB debug problem
« Antworten #10 am: Juni 14, 2010, 19:32:39 »

you have to to change the board integration so that when you are on the stk folder the path gets from ../../ instead of ../

I will look tomorrow for the right code.
Gespeichert

MKP 1.1.2 / SMF 1.1.1
aom
MKP DE Administration
*

Bewertung: 44
Offline Offline

Beiträge: 2681


Balu der Hund


WWW
Re: phpBB debug problem
« Antworten #11 am: Juni 15, 2010, 08:37:36 »

OK, here the solution for you.
search at phpbb3 folder in includes/functions.php nearby the end of file:
Code: (php)
$template->display('body');

garbage_collection();

Add after:
Code: (php)
//added from MKportal
if (strpos($_SERVER['REQUEST_URI'], '/adm/') === false) {
define ( 'IN_MKP', 1 );
if (strpos($_SERVER['REQUEST_URI'], '/stk/') === false)
require_once "../mkportal/include/PHPBB3/php_out.php";
else
require_once "../../mkportal/include/PHPBB3/php_out.php";
mkportal_board_out();
}
//end added
Gespeichert

MKP 1.1.2 / SMF 1.1.1
AirWarrior
AirWarrior
Jr. Mitglied
**

Bewertung: 0
Offline Offline

Beiträge: 79


php noob !!


WWW
Re: phpBB debug problem
« Antworten #12 am: Juni 15, 2010, 19:07:20 »

No solution but never mind. Don't break your head on this. Its only in the extra admin tool menu.
Now i get this:
Code:
[phpBB Debug] PHP Notice: in file /home/vhosts/dutchwarzone.nl/subdomains/golf/httpdocs/mkportal/include/PHPBB3/php_out.php on line 29: require(../mkportal/conf_mk.php) [function.require]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /home/vhosts/dutchwarzone.nl/subdomains/golf/httpdocs/mkportal/include/PHPBB3/php_out.php on line 29: require(../mkportal/conf_mk.php) [function.require]: failed to open stream: No such file or directory
Gespeichert

Signed by:
AirWarrior
Dutch-Angels
aom
MKP DE Administration
*

Bewertung: 44
Offline Offline

Beiträge: 2681


Balu der Hund


WWW
Re: phpBB debug problem
« Antworten #13 am: Juni 16, 2010, 07:42:31 »

Hi,
so you have to modify php_out.php in this way:

Search:
Code:
$MK_PATH = "../";
require $MK_PATH."mkportal/conf_mk.php";

Replace:
Code:
if (strpos($_SERVER['REQUEST_URI'], '/stk/') === false)
$MK_PATH = "../";
else
$MK_PATH = "../../";
require $MK_PATH."mkportal/conf_mk.php";
Gespeichert

MKP 1.1.2 / SMF 1.1.1
AirWarrior
AirWarrior
Jr. Mitglied
**

Bewertung: 0
Offline Offline

Beiträge: 79


php noob !!


WWW
Re: phpBB debug problem
« Antworten #14 am: Juni 16, 2010, 19:05:58 »

Now the tool is opening in mkportal with no errors.
This is working, .....but when i go to the admin tool, the theme is changing. but its ok now.

So i will thank you for ypour time.  Grinsend
Gespeichert

Signed by:
AirWarrior
Dutch-Angels
Seiten: [1] 2 Nach oben Drucken 
« vorheriges nächstes »
Gehe zu:  

Powered by SMF 1.1.11 | SMF © 2006, Simple Machines LLC
 
MKPortal C1.2.2 ©2003-2008 mkportal.it
Seite erstellt in 0.12833 Sekunden mit 15 Datenbank Anfragen