Download mod 5_0_14 problems!

Enthält archivierte Beiträge von Hotschi's Board zum Download MOD.
Posten ist hier nicht möglich, bitte das Supportforum dafür verwenden!
Gesperrt
matte52

Download mod 5_0_14 problems!

Beitrag von matte52 »

Hey,

I got this problem when i try to point my browser to /downloads.php:

Code: Alles auswählen

phpBB : Kritiskt fel

Could not query download mod configuration

DEBUG MODE

SQL Error : 1146 Table 'I_phpBB.DL_CONFIG_TABLE' doesn't exist

SELECT * FROM DL_CONFIG_TABLE

Line : 99
File : class_dlmod.php
I have read the installation file like 5 times now, but I still get the same problem.

Before I also got some other problems with this code in page_header:

Code: Alles auswählen

// Download MOD 5.0.0
	if ( $userdata['user_new_download'] )
	{
		$sql = "UPDATE " . USERS_TABLE . "
			SET user_new_download = 0
			WHERE user_id = " . $userdata['user_id'];
		if ( !$db->sql_query($sql) )
		{
			message_die(GENERAL_ERROR, 'Could not update new download view for user', '', __LINE__, __FILE__, $sql);
		}
		
		$template->assign_block_vars('switch_new_download', array(
			'U_NEW_DOWNLOAD_POPUP' => append_sid('downloads.'.$phpEx.'?view=popup'))
		);
	}

	$sql = "SELECT config_value FROM " . DL_CONFIG_TABLE . "
		WHERE config_name = 'use_hacklist'";
	if( !($result = $db->sql_query($sql)) )
	{
		message_die(CRITICAL_ERROR, "Could not query download mod configuration", "", __LINE__, __FILE__, $sql);
	}

	$use_hacklist = 0;
	while ( $row = $db->sql_fetchrow($result) )
	{
		$use_hacklist = $row['config_value'];
	}
	$db->sql_freeresult($result);

	if ($use_hacklist)
	{
		$sql = "SELECT id FROM " . DOWNLOADS_TABLE . "
			WHERE hacklist = 1";
		if($result = $db->sql_query($sql))
		{
			$total = $db->sql_numrows($result);
			$db->sql_freeresult($result);

			if ($total)
			{
				$u_hacks_list = append_sid("hacks_list.$phpEx");
				$l_hacks_list = $lang['Dl_hacks_list'];
				$img_hacklist = '<img src="'.$images['Dl_mini_h'].'" border="0" alt="'.$lang['Dl_hacks_list'].'" title="'.$lang['Dl_hacks_list'].'" hspace="3" />';

				$template->assign_block_vars('switch_hacklist_on', array());
			}
			else
			{
				$u_hacks_list = $img_hacklist = $l_hacks_list = '';
			}
		}
	}
	// End Download MOD 5.0.0
But i removed that code and now the site is working, before i couldnt even get into my site.

Please give me an answer on this in English, because I don't understand Germen

Kind regards
Matte52

oxpus

Beitrag von oxpus »

Do you have read the whole install instructions?
There is e. g. one part to mod the includes/constants.php...

matte52

Beitrag von matte52 »

ohh sorry, I had missd one thing in the instllation, sorry, my bad!

-------------------------------------------------

But now i have a new question :D

Does someone have Download_Mod_5_0_14 that work with MorpheusXSteelBlue?
or if someone can make it to work with it.

I hope someone has an answer on this!

Kind regards
Matte52

Gesperrt