Hi,
I made in the control panel the up load of the new version of php but since then i had 3 problems.
The first 2 are solved the other was that when someone try to check all the posts from another user, gets this message :
Could not delete old search id sessions
DEBUG MODE
SQL Error : 1054 Unknown column 'search_time' in 'where clause'
DELETE FROM phpbb_search_results WHERE search_time < 1147018325
Line : 657
File : search.php
is that when someone try to check all the posts from another user, gets this message :
I post this problem in the php support and they told this:
"
define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
$page_title = 'phpBB Fix';
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
$sql = array();
$sql[] = "ALTER TABLE " . SEARCH_TABLE . " ADD COLUMN `search_time` int(11) NOT NULL default '0'";
$sql_count = count($sql);
echo '<table width="80%" class="forumline"><tr><td><u><b>Report:</b></u><br />';
for( $i = 0; $i < $sql_count; $i++ )
{
$query = $i+1;
if ( !($result = $db->sql_query($sql[$i])) )
{echo "<b>Query $query:</b> <font color=\"red\"><b>Error (" . mysql_error() . ")</b></font><br />";}
else
{echo "<b>Query $query:</b> <font color=\"green\"><b>Ran successfully</b></font><br />";}
}
echo '<br /><br />All queries have been run. If any errors came up above, be sure to post the report in your topic on phpBB.com. <b><br />You should now delete this file</b></td><tr></table>';
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>
What i would like to now is if there is a way to up load the new version again, making my forum available, even with the "check this user message" problem.
Ty
jose barbosa
I made in the control panel the up load of the new version of php but since then i had 3 problems.
The first 2 are solved the other was that when someone try to check all the posts from another user, gets this message :
Could not delete old search id sessions
DEBUG MODE
SQL Error : 1054 Unknown column 'search_time' in 'where clause'
DELETE FROM phpbb_search_results WHERE search_time < 1147018325
Line : 657
File : search.php
is that when someone try to check all the posts from another user, gets this message :
I post this problem in the php support and they told this:
"
- Create a fix.php file with the following:
- Code:
define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
$page_title = 'phpBB Fix';
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
$sql = array();
$sql[] = "ALTER TABLE " . SEARCH_TABLE . " ADD COLUMN `search_time` int(11) NOT NULL default '0'";
$sql_count = count($sql);
echo '<table width="80%" class="forumline"><tr><td><u><b>Report:</b></u><br />';
for( $i = 0; $i < $sql_count; $i++ )
{
$query = $i+1;
if ( !($result = $db->sql_query($sql[$i])) )
{echo "<b>Query $query:</b> <font color=\"red\"><b>Error (" . mysql_error() . ")</b></font><br />";}
else
{echo "<b>Query $query:</b> <font color=\"green\"><b>Ran successfully</b></font><br />";}
}
echo '<br /><br />All queries have been run. If any errors came up above, be sure to post the report in your topic on phpBB.com. <b><br />You should now delete this file</b></td><tr></table>';
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>
- Upload the file to your board's root folder (the one with config.php)
- Run it by navigating to the file in your browser (ex. http://www.yoursite.com/phpBB2/fix.php)
- If any errors come up, post the report here.
- Be sure to delete the file; don't leave it on your server
What i would like to now is if there is a way to up load the new version again, making my forum available, even with the "check this user message" problem.
Ty
jose barbosa
Comment