Seite 1 von 2

Fatal error

Verfasst: 08.07.2009 12:04
von Jano1
Hallo Leutz,
ich hab da noch mal eine kleine Frage zu einem FATAL ERROR. Ich hab jetzt mal wieder ein neuen Mod installiert, und wenn ich ihn installieren will kommt folgende Fehler meldung:

Code: Alles auswählen

Fatal error: in C:\xampp\htdocs\xampp\phpbb\includes\db\dbal.php on line 654
Das sit die Code stelle:

Code: Alles auswählen

			{
				// We need to define $msg_long_text here to circumvent text stripping.
				global $msg_long_text;
				$msg_long_text = $message;   

				trigger_error(false, E_USER_ERROR);  (<---- Das ist die Zeile 654, die verursacht das Problem)
			}
Habt ihr eine Ahnung wie ich das beheben kann?

Re: Fatal error

Verfasst: 08.07.2009 12:36
von Mahony
Hallo
Ich hab jetzt mal wieder ein neuen Mod installiert.....
Welchen MOD hast du installiert? Hast du eventuell benötigte Datenbank-Änderungen durchgeführt?



Grüße: Mahony

Re: Fatal error

Verfasst: 08.07.2009 12:40
von Jano1
Ich hab den Shop Mod von Adrian installiert, seitdem besteht das Problem.

Re: Fatal error

Verfasst: 08.07.2009 12:54
von Mahony
Hallo
Hast du die shop_install.php im Browser aufgerufen?
Laut Anleitung musst du folgendes tun
Go to ACP -> SYSTEM -> Module management -> Administration Control Panel -> .MODs, then add the shop module.
Run shop_install.php
Clear cache after installation.
Grüße: Mahony

Re: Fatal error

Verfasst: 08.07.2009 12:55
von Jano1
Genau da taucht der Fehler ja immer auf^^ Weißt du vielleicht wo der Fehler in der Codezeile liegt?
Und seitdem taucht ebenfalls dieser MySQL Fehler auf, wegen dem ich das Board nicht mehr betreten kann...
DEr hier:
http://www.phpbb.de/community/viewtopic ... 4&t=193348

Re: Fatal error

Verfasst: 08.07.2009 13:01
von Mahony
Hallo
Unknown column 'user_font' in 'field list' [1054]
Das bedeutet lediglich, dass die benötigte Spalte user_font in der Tabelle phpbb_users nicht in der Datenbank existiert.
Du solltest die shop_install.php im Browser aufrufen, um die benötigten Einträge in die Datenbank einzufügen.


Grüße: Mahony

Re: Fatal error

Verfasst: 08.07.2009 13:05
von Jano1
Ja, aber sobald ich die Install versuche aufzurufen tritt ja der FATAL ERROR auf und ich kann nicht installieren^^

Re: Fatal error

Verfasst: 08.07.2009 13:09
von Mahony
Hallo
Hast du mal einen Link zum Forum?
Ansonsten wende dich mal an den MOD Autor.


Grüße: Mahony

Re: Fatal error

Verfasst: 08.07.2009 13:10
von Jano1
Naja, das Forum ist auf meinem PC und daher ka ob ich nen Link hab....
Ist dieser FATAL ERROR wirklich so schwer zu beheben?

Code: Alles auswählen

Fatal error: in C:\xampp\htdocs\xampp\phpbb\includes\db\dbal.php on line 654
Hier die Fehlerfunktion (letzte Zeile gleich Fehlerzeile)

Code: Alles auswählen

	/**
	* display sql error page
	*/
	function sql_error($sql = '')
	{
		global $auth, $user, $config;

		// Set var to retrieve errored status
		$this->sql_error_triggered = true;
		$this->sql_error_sql = $sql;

		$this->sql_error_returned = $this->_sql_error();

		if (!$this->return_on_error)
		{
			$message = 'SQL ERROR [ ' . $this->sql_layer . ' ]<br /><br />' . $this->sql_error_returned['message'] . ' [' . $this->sql_error_returned['code'] . ']';

			// Show complete SQL error and path to administrators only
			// Additionally show complete error on installation or if extended debug mode is enabled
			// The DEBUG_EXTRA constant is for development only!
			if ((isset($auth) && $auth->acl_get('a_')) || defined('IN_INSTALL') || defined('DEBUG_EXTRA'))
			{
				// Print out a nice backtrace...
				$backtrace = get_backtrace();

				$message .= ($sql) ? '<br /><br />SQL<br /><br />' . htmlspecialchars($sql) : '';
				$message .= ($backtrace) ? '<br /><br />BACKTRACE<br />' . $backtrace : '';
				$message .= '<br />';
			}
			else
			{
				// If error occurs in initiating the session we need to use a pre-defined language string
				// This could happen if the connection could not be established for example (then we are not able to grab the default language)
				if (!isset($user->lang['SQL_ERROR_OCCURRED']))
				{
					$message .= '<br /><br />An sql error occurred while fetching this page. Please contact an administrator if this problem persists.';
				}
				else
				{
					if (!empty($config['board_contact']))
					{
						$message .= '<br /><br />' . sprintf($user->lang['SQL_ERROR_OCCURRED'], '<a href="mailto:' . htmlspecialchars($config['board_contact']) . '">', '</a>');
					}
					else
					{
						$message .= '<br /><br />' . sprintf($user->lang['SQL_ERROR_OCCURRED'], '', '');
					}
				}
			}

			if ($this->transaction)
			{
				$this->sql_transaction('rollback');
			}

			if (strlen($message) > 1024)
			{
				// We need to define $msg_long_text here to circumvent text stripping.
				global $msg_long_text;
				$msg_long_text = $message;

				trigger_error(false, E_USER_ERROR);  (<---- DAS IST DIE ANGEBLICHE FEHLERZEILE)
			}
Hmm, ich mein zur Anmeldeseite komm ich ja noch, die wird auch noch angezeigt, aber danach kommen nur noch diese Fehler....

Re: Fatal error

Verfasst: 08.07.2009 13:19
von Mahony
Hallo
Benenne mal das Sprachverzeichnis des Shop Mods, also /root/language/en in de um und schiebe das Verzeichnis in das language - Verzeichnis deines Forums.


Grüße: Mahony