phpBB 3.0.6 kompatibel mit port 1.0.4?

Aktuelle Version: 1.0.6
Veröffentlicht: 01.09.10
Forum rules
Vor dem erstellen neuer Supportanfragen bitte zuerst in die board3 Portal FAQ schauen und die Suche benutzen!
Viele Fragen sind bereits schon gestellt und beantwortet worden.
Bitte auch unsere Forumsregeln lesen und beachten!

Topic author
banghead
Active Member
Posts: 14
Joined: 8. January 2010 15:44

phpBB 3.0.6 kompatibel mit port 1.0.4?

Post by banghead »

Your Portal Version: 1.0.0RC3
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Beginner
Boardlink: http://stammtisch-osnabrueck.de/

PHP Version: 3.0.6

What have you done before the problem was there?
phpBB 3.0.6 grundinstalliert.. sonst nix

What have you already tryed to solve the problem?
eine Menge.

Description and Message
Wie gesagt ist phpBB 3.0.6 kompatibel mit port 1.0.4?
Ich kriege das phpBB 3.0.6 problemlos zum laufen jedoch kriege ich die portal version nicht installiert warum auch immer.

Habs jetzt 3 mal probiert und mühsam mit einem Editor die Zeilen editiert, dabei ist mir auch gleich ein Fehler aufgefallen

Bei folgendem Schritt

Open: includes/session.php
Find
Tip: This may be a partial find and not the whole line.

Code:Select all
if (!empty($_GET['style']) && $auth->acl_get('a_styles')) diese line geht aber noch weiter mit ca so
if (!empty($_GET['style']) && $auth->acl_get('a_styles' && blablalblaaa ))
soll man alles löschen? oder nur die ersten beiden teile?
ich habe nur die ersten beiden teile ersetzt und die letzte && xxx)) da gelassen.


Replace with
Tip: Replace the preceding line(s) to find with the following lines.

Code:Select all
if (!empty($_GET['style']))


vielleicht könnte mir ja jemand die editierten datein schicken falls es bei ihm funktioniert.

mfg

Topic author
banghead
Active Member
Posts: 14
Joined: 8. January 2010 15:44

Re: phpBB 3.0.6 kompatibel mit port 1.0.4?

Post by banghead »

achja und...

das bekomme ich wenn ich dan die index.php im install ordner aufmache

Code: Select all

session_begin(); $auth->acl($user->data); $user->setup(array('install', 'mods/install_portal')); if (!defined('PORTAL_CONFIG_TABLE')) { trigger_error('MISSING_CONSTANTS'); } //need some module-names $user->add_lang(array('acp/modules', 'acp/common', 'mods/info_acp_portal')); $template->set_custom_template('../adm/style', 'admin'); $template->assign_var('T_TEMPLATE_PATH', '../adm/style'); $mode = request_var('mode', 'overview'); $sub = request_var('sub', ''); // the acp template is never stored in the database $user->theme['template_storedb'] = false; $install = new module(); $install->create('install', "index.$phpEx", $mode, $sub); $install->load(); // Generate the page $install->page_header(); $install->generate_navigation(); $template->set_filenames(array( 'body' => $install->get_tpl_name()) ); $install->page_footer(); /** * @package install */ class module { var $id = 0; var $type = 'install'; var $module_ary = array(); var $filename; var $module_url = ''; var $tpl_name = ''; var $mode; var $sub; var $installed_version = false; var $installed_p3p_version = false; var $acp_parent_module = false; /** * Private methods, should not be overwritten */ function create($module_type, $module_url, $selected_mod = false, $selected_submod = false) { global $db, $config, $phpEx, $phpbb_root_path; /** * Get tables of a database */ function get_tables($db) { switch ($db->sql_layer) { case 'mysql': case 'mysql4': case 'mysqli': $sql = 'SHOW TABLES'; break; case 'sqlite': $sql = 'SELECT name FROM sqlite_master WHERE type = "table"'; break; case 'mssql': case 'mssql_odbc': $sql = "SELECT name FROM sysobjects WHERE type='U'"; break; case 'postgres': $sql = 'SELECT relname FROM pg_stat_user_tables'; break; case 'firebird': $sql = 'SELECT rdb$relation_name FROM rdb$relations WHERE rdb$view_source is null AND rdb$system_flag = 0'; break; case 'oracle': $sql = 'SELECT table_name FROM USER_TABLES'; break; } $result = $db->sql_query($sql); $tables = array(); while ($row = $db->sql_fetchrow($result)) { $tables[] = current($row); } $db->sql_freeresult($result); return $tables; } // Check if the board3 Portal is already installed and acp_parent_module is already exists $tables = get_tables($db); if (in_array(PORTAL_CONFIG_TABLE, $tables)) { $sql = 'SELECT * FROM ' . PORTAL_CONFIG_TABLE; $result = $db->sql_query($sql); while ($row = $db->sql_fetchrow($result)) { if ($row['config_name'] == 'portal_version') { $this->installed_version = $row['config_value']; } if ($row['config_name'] == 'acp_parent_module') { $this->acp_parent_module = $row['config_value']; } } $db->sql_freeresult($result); } if (in_array(CONFIG_TABLE, $tables)) { $p3p_sql = 'SELECT * FROM ' . CONFIG_TABLE; $p3p_result = $db->sql_query($p3p_sql); while ($p3p_row = $db->sql_fetchrow($p3p_result)) { if ($p3p_row['config_name'] == 'portal_version') { $this->installed_p3p_version = $p3p_row['config_value']; } } $db->sql_freeresult($p3p_result); } unset($tables); $module = array(); // Grab module information using Bart's "neat-o-module" system (tm) $dir = @opendir('.'); if (!$dir) { $this->error('Unable to access the installation directory', __LINE__, __FILE__); } $setmodules = 1; while (($file = readdir($dir)) !== false) { if (preg_match('#^install_(.*?)\.' . $phpEx . '$#', $file)) { include($file); } } closedir($dir); unset($setmodules); if (!sizeof($module)) { $this->error('No installation modules found', __LINE__, __FILE__); } // Order to use and count further if modules get assigned to the same position or not having an order $max_module_order = 1000; foreach ($module as $row) { // Check any module pre-reqs if ($row['module_reqs'] != '') { } // Module order not specified or module already assigned at this position? if (!isset($row['module_order']) || isset($this->module_ary[$row['module_order']])) { $row['module_order'] = $max_module_order; $max_module_order++; } $this->module_ary[$row['module_order']]['name'] = $row['module_title']; $this->module_ary[$row['module_order']]['filename'] = $row['module_filename']; $this->module_ary[$row['module_order']]['subs'] = $row['module_subs']; $this->module_ary[$row['module_order']]['stages'] = $row['module_stages']; if (strtolower($selected_mod) == strtolower($row['module_title'])) { $this->id = (int) $row['module_order']; $this->filename = (string) $row['module_filename']; $this->module_url = (string) $module_url; $this->mode = (string) $selected_mod; // Check that the sub-mode specified is valid or set a default if not if (is_array($row['module_subs'])) { $this->sub = strtolower((in_array(strtoupper($selected_submod), $row['module_subs'])) ? $selected_submod : $row['module_subs'][0]); } else if (is_array($row['module_stages'])) { $this->sub = strtolower((in_array(strtoupper($selected_submod), $row['module_stages'])) ? $selected_submod : $row['module_stages'][0]); } else { $this->sub = ''; } } } // END foreach } // END create /** * Load and run the relevant module if applicable */ function load($mode = false, $run = true) { global $phpbb_root_path, $phpEx; if ($run) { if (!empty($mode)) { $this->mode = $mode; } $module = $this->filename; if (!class_exists($module)) { $this->error('Module "' . htmlspecialchars($module) . '" not accessible.', __LINE__, __FILE__); } $this->module = new $module($this); if (method_exists($this->module, 'main')) { $this->module->main($this->mode, $this->sub); } } } /** * Output the standard page header */ function page_header() { if (defined('HEADER_INC')) { return; } define('HEADER_INC', true); global $template, $user, $stage, $phpbb_root_path; $template->assign_vars(array( 'L_CHANGE' => $user->lang['CHANGE'], 'L_INSTALL_PANEL' => $user->lang['INSTALL_PANEL'], 'L_SELECT_LANG' => $user->lang['SELECT_LANG'], 'L_SKIP' => $user->lang['SKIP'], 'PAGE_TITLE' => $this->get_page_title(), 'T_IMAGE_PATH' => $phpbb_root_path . 'adm/images/', 'S_CONTENT_DIRECTION' => $user->lang['DIRECTION'], 'S_CONTENT_FLOW_BEGIN' => ($user->lang['DIRECTION'] == 'ltr') ? 'left' : 'right', 'S_CONTENT_FLOW_END' => ($user->lang['DIRECTION'] == 'ltr') ? 'right' : 'left', 'S_CONTENT_ENCODING' => 'UTF-8', 'S_USER_LANG' => $user->lang['USER_LANG'], ) ); header('Content-type: text/html; charset=UTF-8'); header('Cache-Control: private, no-cache="set-cookie"'); header('Expires: 0'); header('Pragma: no-cache'); return; } /** * Output the standard page footer */ function page_footer() { global $db, $template; $template->display('body'); // Close our DB connection. if (!empty($db) && is_object($db)) { $db->sql_close(); } if (function_exists('exit_handler')) { exit_handler(); } } /** * Returns desired template name */ function get_tpl_name() { return $this->module->tpl_name . '.html'; } /** * Returns the desired page title */ function get_page_title() { global $user; if (!isset($this->module->page_title)) { return ''; } return (isset($user->lang[$this->module->page_title])) ? $user->lang[$this->module->page_title] : $this->module->page_title; } /** * Generate the navigation tabs */ function generate_navigation() { global $user, $template, $phpEx, $language; if (is_array($this->module_ary)) { @ksort($this->module_ary); foreach ($this->module_ary as $cat_ary) { $cat = $cat_ary['name']; $l_cat = (!empty($user->lang['CAT_' . $cat])) ? $user->lang['CAT_' . $cat] : preg_replace('#_#', ' ', $cat); $cat = strtolower($cat); $url = $this->module_url . "?mode=$cat"; if ($this->mode == $cat) { $template->assign_block_vars('t_block1', array( 'L_TITLE' => $l_cat, 'S_SELECTED' => true, 'U_TITLE' => $url, )); if (is_array($this->module_ary[$this->id]['subs'])) { $subs = $this->module_ary[$this->id]['subs']; foreach ($subs as $option) { $l_option = (!empty($user->lang['SUB_' . $option])) ? $user->lang['SUB_' . $option] : preg_replace('#_#', ' ', $option); $option = strtolower($option); $url = $this->module_url . '?mode=' . $this->mode . "&sub=$option"; $template->assign_block_vars('l_block1', array( 'L_TITLE' => $l_option, 'S_SELECTED' => ($this->sub == $option), 'U_TITLE' => $url, )); } } if (is_array($this->module_ary[$this->id]['stages'])) { $subs = $this->module_ary[$this->id]['stages']; $matched = false; foreach ($subs as $option) { $l_option = (!empty($user->lang['STAGE_' . $option])) ? $user->lang['STAGE_' . $option] : preg_replace('#_#', ' ', $option); $option = strtolower($option); $matched = ($this->sub == $option) ? true : $matched; $template->assign_block_vars('l_block2', array( 'L_TITLE' => $l_option, 'S_SELECTED' => ($this->sub == $option), 'S_COMPLETE' => !$matched, )); } } } else { $template->assign_block_vars('t_block1', array( 'L_TITLE' => $l_cat, 'S_SELECTED' => false, 'U_TITLE' => $url, )); } } } } /** * Output an error message * If skip is true, return and continue execution, else exit */ function error($error, $line, $file, $skip = false) { global $user, $db, $template; if ($skip) { $template->assign_block_vars('checks', array( 'S_LEGEND' => true, 'LEGEND' => $user->lang['INST_ERR'], )); $template->assign_block_vars('checks', array( 'TITLE' => basename($file) . ' [ ' . $line . ' ]', 'RESULT' => '' . $error . '', )); return; } echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo '
'; echo '
'; echo '
'; echo '
'; echo '
'; echo '
'; echo ' '; echo '
'; echo '
' . $user->lang['INST_ERR_FATAL'] . '
'; echo '

' . $user->lang['INST_ERR_FATAL'] . "
\n"; echo '

' . basename($file) . ' [ ' . $line . " ]
\n"; echo '

' . $error . "
\n"; echo '
'; echo ' '; echo '
'; echo '
'; echo '
'; echo '
'; echo ' Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group'; echo '
'; echo '
'; echo ''; echo ''; if (!empty($db) && is_object($db)) { $db->sql_close(); } exit_handler(); } /** * Generate the relevant HTML for an input field and the associated label and explanatory text */ function input_field($name, $type, $value='', $options='') { global $user; $tpl_type = explode(':', $type); $tpl = ''; switch ($tpl_type[0]) { case 'text': case 'password': $size = (int) $tpl_type[1]; $maxlength = (int) $tpl_type[2]; $tpl = ''; break; case 'textarea': $rows = (int) $tpl_type[1]; $cols = (int) $tpl_type[2]; $tpl = '' . $value . ''; break; case 'radio': $key_yes = ($value) ? ' checked="checked" id="' . $name . '"' : ''; $key_no = (!$value) ? ' checked="checked" id="' . $name . '"' : ''; $tpl_type_cond = explode('_', $tpl_type[1]); $type_no = ($tpl_type_cond[0] == 'disabled' || $tpl_type_cond[0] == 'enabled') ? false : true; $tpl_no = ' ' . (($type_no) ? $user->lang['NO'] : $user->lang['DISABLED']) . ''; $tpl_yes = ' ' . (($type_no) ? $user->lang['YES'] : $user->lang['ENABLED']) . ''; $tpl = ($tpl_type_cond[0] == 'yes' || $tpl_type_cond[0] == 'enabled') ? $tpl_yes . '  ' . $tpl_no : $tpl_no . '  ' . $tpl_yes; break; case 'select': eval('$s_options = ' . str_replace('{VALUE}', $value, $options) . ';'); $tpl = ''; break; case 'custom': eval('$tpl = ' . str_replace('{VALUE}', $value, $options) . ';'); break; default: break; } return $tpl; } } ?>
User avatar

archivar
Portal Professional
Posts: 1959
Joined: 19. April 2009 21:34
phpBB.de User: archivar
phpBB.com User: archivar
Location: Deutschland

Re: phpBB 3.0.6 kompatibel mit port 1.0.4?

Post by archivar »

Ja es geht.
Musst nur die Installationsanweisungen befolgen und einen geeigneten Editor wie Notepad++ oder auch BeCyPad verwenden.
Bei mir geht es.
Last edited by archivar on 8. January 2010 17:11, edited 1 time in total.
V.G. archivar
sorry for my bad english

Topic author
banghead
Active Member
Posts: 14
Joined: 8. January 2010 15:44

Re: phpBB 3.0.6 kompatibel mit port 1.0.4?

Post by banghead »

na bei mir gehts nich wenn ich die install/index.php starte kommt das code kraut un das ganze bord kackt ab
User avatar

archivar
Portal Professional
Posts: 1959
Joined: 19. April 2009 21:34
phpBB.de User: archivar
phpBB.com User: archivar
Location: Deutschland

Re: phpBB 3.0.6 kompatibel mit port 1.0.4?

Post by archivar »

banghead wrote:
vielleicht könnte mir ja jemand die editierten datein schicken falls es bei ihm funktioniert.

mfg[/i]
Das würde dir nix nützen, da der eine oder andere in diesen Dateien schon andere Code, für Module, schon mit eingebaut haben dürfte. Und dann hättest du erst recht Fehler.
V.G. archivar
sorry for my bad english

Topic author
banghead
Active Member
Posts: 14
Joined: 8. January 2010 15:44

Re: phpBB 3.0.6 kompatibel mit port 1.0.4?

Post by banghead »

was mache ich denn bitte falsch?

ich installiere phpbb3 fehlerfrei

ich folge den anweisungen der installationsanleitung und sobald ich die install/index.php öffne
is die seite nicht mehr zu erreichen

500 Internal Server Error (cgi scrpt muckt rum)

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@stammtisch-osnabrueck.de and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
Apache/2.2.9 Server at stammtisch-osnabrueck.de Port 80
User avatar

archivar
Portal Professional
Posts: 1959
Joined: 19. April 2009 21:34
phpBB.de User: archivar
phpBB.com User: archivar
Location: Deutschland

Re: phpBB 3.0.6 kompatibel mit port 1.0.4?

Post by archivar »

archivar wrote:...einen geeigneten Editor wie Notepad++ oder auch BeCyPad verwenden.
Welchen Editor verwendest Du?
V.G. archivar
sorry for my bad english

Topic author
banghead
Active Member
Posts: 14
Joined: 8. January 2010 15:44

Re: phpBB 3.0.6 kompatibel mit port 1.0.4?

Post by banghead »

den normalen windoof editor
User avatar

archivar
Portal Professional
Posts: 1959
Joined: 19. April 2009 21:34
phpBB.de User: archivar
phpBB.com User: archivar
Location: Deutschland

Re: phpBB 3.0.6 kompatibel mit port 1.0.4?

Post by archivar »

Mach es hiermit:
archivar wrote:...einen geeigneten Editor wie Notepad++ oder auch BeCyPad verwenden.
Ich verwende BeCyPad von : http://www.becyhome.de
V.G. archivar
sorry for my bad english

Topic author
banghead
Active Member
Posts: 14
Joined: 8. January 2010 15:44

Re: phpBB 3.0.6 kompatibel mit port 1.0.4?

Post by banghead »

joa scho wieder,

hab jetzt alles nochmal mit dem beypad editiert selber effekt
glaub ich bin zu plöde :D

ich muss doch dann einfach über meinen browser die install/index.php aufrufen


http://meinedomain.de/htdocs/install
oder
ftp://meinedomain.de/htdocs/install

Topic author
banghead
Active Member
Posts: 14
Joined: 8. January 2010 15:44

Re: phpBB 3.0.6 kompatibel mit port 1.0.4?

Post by banghead »

muss ich die cgi mit wrapper option aktivieren?
beides zusammen installieren
die datenbank vorher löschen?!

mehr als den anweisungen im installxml folgen kann ich nicht
User avatar

archivar
Portal Professional
Posts: 1959
Joined: 19. April 2009 21:34
phpBB.de User: archivar
phpBB.com User: archivar
Location: Deutschland

Re: phpBB 3.0.6 kompatibel mit port 1.0.4?

Post by archivar »

Du must vorher den Admin-Bereich betreten und dann im Browser

Code: Select all

http://meinedomain.de/install/index.php
eingeben.
Das funktioniert aber nur dann, wenn du die betreffenden Dateien laut Install-Anleitung richtig edidiert hast und die Dateien und Ordner an die richtige Stelle, wie in der Install-Anleitung beschrieben, kopiert hast.
Ehe man etwas ändert ist es immer sinnvoll vorher ein Backup von der DB und vom Board zu machen, um gegebenenfalls den alten Zustand wiederherzustellen!!!!!!!!!!!!!!!!!!!!
V.G. archivar
sorry for my bad english

Topic author
banghead
Active Member
Posts: 14
Joined: 8. January 2010 15:44

Re: phpBB 3.0.6 kompatibel mit port 1.0.4?

Post by banghead »

jo ich hab nen backup^^

naja ich bin der meinung das ich das alles richtig editiert habe und das es auch am richtigen platz ist
nur hab ichs bisher nie aus dem admin bereich betreten
mal sehn

Topic author
banghead
Active Member
Posts: 14
Joined: 8. January 2010 15:44

Re: phpBB 3.0.6 kompatibel mit port 1.0.4?

Post by banghead »

Was ist hier verkehrt? sobald ich den .htacces hier durch den original ersetze habe ich forbidden acces

Code: Select all

<Files "config.php">
Order Allow,Deny
Deny from All
</Files>

<Files "common.php">
Order Allow,Deny
Deny from All
</Files>

DirectoryIndex portal.php index.php index.html index.htm

Die "Anweisungen"

Code: Select all

Finden
Hinweis: Der zu findende Code kann auch nur ein Teil einer Zeile sein.

Code:Alles auswählen
<Files "common.php">
Order Allow,Deny
Deny from All
</Files>
Danach einfügen
Hinweis: Diese Zeile(n) werden in einer neuen Zeile nach den/der gerade gesuchten eingefügt.

Code:Alles auswählen
DirectoryIndex portal.php index.php index.html index.htm

Topic author
banghead
Active Member
Posts: 14
Joined: 8. January 2010 15:44

Re: phpBB 3.0.6 kompatibel mit port 1.0.4?

Post by banghead »

also nachträglich installiert bekomme ich dieses portal nicht...
kann ich es auf einen schlag mit dem phpbb3 installieren?

der "guide" ist zu unkonkret.. ich befolge ihn 100% = kein Erfolg
Locked

Return to “board3 Portal 1.0.x - Deutscher Support”