 |
|
|
|

| Autor |
Nachricht |
widean
phpBB2.de User

Anmeldungsdatum: 16.03.2006
Beiträge: 14
|
Verfasst am:
Do 16 März, 2006 19:34 |
  |
Hello I have a problem I have one clean install and one upgrade from 1.52.
The clean install give me only the header and it do not matter if I have logged in.
The updated version does the same only if I have logged he give me a blanc page.
I do not know if it’s only the portal but for now I know the index works fine only some posts when I open them keep blanc also (not all).
I juse:
Beta 9
PHP 5.0.5
MySQL 4.1.16
I have read posts that have problems like it but all the solutions did not work for me |
|
|
   |
 |
Google
|
Verfasst am:
|
 |
|
|
 |
widean
phpBB2.de User

Anmeldungsdatum: 16.03.2006
Beiträge: 14
|
Verfasst am:
Fr 17 März, 2006 11:14 |
  |
Does anyone know this problem?? Do I need extra modules on my server or something? |
|
|
   |
 |
Titus
Administrator

Anmeldungsdatum: 24.03.2004
Beiträge: 4255
|
Verfasst am:
Fr 17 März, 2006 13:30 |
  |
delete all php+dat files in the cache/-directory
or try this
| Code: |
#
#-----[ OPEN ]------------------------------------------
#
includes/functions_categories_hierarchy.php
#
#-----[ FIND ]------------------------------------------
#
define('CACHE_TREE', true);
define('CACHE_WORDS', true);
define('CACHE_THEMES', true);
#
#-----[ REPLACE WITH ]------------------------------------------
#
//define('CACHE_TREE', true);
//define('CACHE_WORDS', true);
//define('CACHE_THEMES', true); |
|
_________________ "geht nicht" ist keine Fehlerbeschreibung mit der man was anfangen kann
bei Fragen erst suchen
Downloads gibts hier und da |
|
   |
 |
widean
phpBB2.de User

Anmeldungsdatum: 16.03.2006
Beiträge: 14
|
Verfasst am:
Fr 17 März, 2006 13:59 |
  |
Thank you for your answers but both solutions did not help. I have still the same problem.. do I need to undo the edit of the
includes/functions_categories_hierarchy.php ??
Is it normal if you do this there still come new items in the cache folder?? |
|
|
   |
 |
widean
phpBB2.de User

Anmeldungsdatum: 16.03.2006
Beiträge: 14
|
Verfasst am:
Fr 17 März, 2006 16:30 |
  |
Ok I did donload form ezportal_v218c and I have put in mod by mod like it’s in the original portal form 1.53.
I found out that the page gets blanc when I put in the code :
// Start add - Photo Album Block
include($album_root_path . 'album_common.'.$phpEx);
// End add - Photo Album Block
and when I replace:
| Code: |
//
// Fetch Posts from Announcements Forum
//
if(!isset($HTTP_GET_VARS['article']))
{
$template->assign_block_vars('welcome_text', array());
$fetchposts = phpbb_fetch_posts($CFG['news_forum'], $CFG['number_of_news'], $CFG['news_length']);
for ($i = 0; $i < count($fetchposts); $i++)
{
if( $fetchposts[$i]['striped'] == 1 )
{
$open_bracket = '[ ';
$close_bracket = ' ]';
$read_full = $lang['Read_Full'];
}
else
{
$open_bracket = '';
$close_bracket = '';
$read_full = '';
}
$template->assign_block_vars('fetchpost_row', array(
'TITLE' => $fetchposts[$i]['topic_title'],
'POSTER' => $fetchposts[$i]['username'],
'TIME' => $fetchposts[$i]['topic_time'],
'TEXT' => $fetchposts[$i]['post_text'],
'REPLIES' => $fetchposts[$i]['topic_replies'],
'U_VIEW_COMMENTS' => append_sid('viewtopic.' . $phpEx . '?t=' . $fetchposts[$i]['topic_id']),
'U_POST_COMMENT' => append_sid('posting.' . $phpEx . '?mode=reply&t=' . $fetchposts[$i]['topic_id']),
'U_READ_FULL' => append_sid('portal.' . $phpEx . '?article=' . $i),
'L_READ_FULL' => $read_full,
'OPEN' => $open_bracket,
'CLOSE' => $close_bracket)
);
}
}
else
{
$fetchposts = phpbb_fetch_posts($CFG['news_forum'], $CFG['number_of_news'], 0);
$i = intval($HTTP_GET_VARS['article']);
$template->assign_block_vars('fetchpost_row', array(
'TITLE' => $fetchposts[$i]['topic_title'],
'POSTER' => $fetchposts[$i]['username'],
'TIME' => $fetchposts[$i]['topic_time'],
'TEXT' => $fetchposts[$i]['post_text'],
'REPLIES' => $fetchposts[$i]['topic_replies'],
'U_VIEW_COMMENTS' => append_sid('viewtopic.' . $phpEx . '?t=' . $fetchposts[$i]['topic_id']),
'U_POST_COMMENT' => append_sid('posting.' . $phpEx . '?mode=reply&t=' . $fetchposts[$i]['topic_id'])
)
);
}
//
// END: Fetch Announcements
//
//
// Fetch Poll
//
$fetchpoll = phpbb_fetch_poll($CFG['poll_forum']);
if (!empty($fetchpoll))
{
$template->assign_vars(array(
'S_POLL_QUESTION' => $fetchpoll['vote_text'],
'S_POLL_ACTION' => append_sid('posting.'.$phpEx.'?'.POST_TOPIC_URL.'='.$fetchpoll['topic_id']),
'S_TOPIC_ID' => $fetchpoll['topic_id'],
'L_SUBMIT_VOTE' => $lang['Submit_vote'],
'L_LOGIN_TO_VOTE' => $lang['Login_to_vote']
)
);
for ($i = 0; $i < count($fetchpoll['options']); $i++)
{
$template->assign_block_vars('poll_option_row', array(
'OPTION_ID' => $fetchpoll['options'][$i]['vote_option_id'],
'OPTION_TEXT' => $fetchpoll['options'][$i]['vote_option_text'],
'VOTE_RESULT' => $fetchpoll['options'][$i]['vote_result'],
)
);
}
}
else
{
$template->assign_vars(array(
'S_POLL_QUESTION' => $lang['No_poll'],
'DISABLED' => 'disabled="disabled"'
)
);
}
|
for:
| Code: |
$template->assign_vars(array(
"TELL_LINK" => append_sid("http://".$HTTP_SERVER_VARS['HTTP_HOST'].$HTTP_SERVER_VARS['PHP_SELF']."?t=$topic_id", true)));
$content =& new NewsModule( $phpbb_root_path );
$content->setVariables( array(
'L_INDEX' => $lang['Index'],
'L_CATEGORIES' => $lang['Categories'],
'L_ARCHIVES' => $lang['Archives']
) );
if( (isset( $_GET['news'] ) && $_GET['news'] == 'categories'))
{
// View the news categories.
$data_access = new NewsDataAccess( $phpbb_root_path );
$news_cats = $data_access->fetchCategories( );
$template->assign_block_vars('news_categories', array());
$cats = count($news_cats);
if ($cats == 0)
{
$template->assign_block_vars('no_news', array());
}
for ($i = 0; $i < count($news_cats); $i += $plus_config['cols_per_page'])
{
if ($cats >0)
{
$template->assign_block_vars('newsrow', array());
}
for ($j = $i; $j < ($i + $plus_config['cols_per_page']); $j++)
{
if( $j >= count($news_cats) )
{
break;
}
$template->assign_block_vars('newsrow.newscol', array(
'THUMBNAIL' => $N_this->root_path . 'templates/'.$theme['template_name'].'/images/news/' . $news_cats[$j]['news_image'],
'ID' => $news_cats[$j]['news_id'],
'DESC' => $news_cats[$j]['news_category'],
)
);
$template->assign_block_vars('newsrow.news_detail', array(
'NEWSCAT' => $news_cats[$j]['news_category'],
'CATEGORY' => $newsrow[$j]['news_category']
)
);
}
}
}
elseif( isset( $_GET['news'] ) && $_GET['news'] == 'archives' )
{
// View the news Archives.
$year = (isset( $_GET['year'] )) ? intval($_GET['year']) : 0;
$month = (isset( $_GET['month'] )) ? intval($_GET['month']) : 0;
$day = (isset( $_GET['day'] )) ? intval($_GET['day']) : 0;
$key = (isset( $_GET['key'] )) ? $_GET['key'] : '';
$template->assign_block_vars('news_archives', array());
$content->setVariables( array( 'TITLE' => $lang['News'] . ' ' . $lang['Archives'] ) );
$content->renderArchives( $year, $month, $day, $key );
}
elseif (isset ($_GET['topic_id']) || $_GET['cat_id'])
{
$topic_id = 0;
if( isset( $_GET['topic_id'] ) )
{
$topic_id = intval($_GET['topic_id']);
}
elseif( isset( $_GET['news_id'] ) )
{
$topic_id = intval($_GET['news_id']);
}
$content->setVariables( array( 'TITLE' => $lang['News'] . ' ' . $lang['Articles'] ) );
$content->renderArticles( $topic_id );
}
else
{
// View news articles.
$topic_id = 0;
if( isset( $_GET['topic_id'] ) )
{
$topic_id = intval($_GET['topic_id']);
}
elseif( isset( $_GET['news_id'] ) )
{
$topic_id = intval($_GET['news_id']);
}
$template->assign_block_vars('welcome_text', array());
$content->setVariables( array( 'TITLE' => $lang['News'] . ' ' . $lang['Articles'] ) );
$content->renderArticles( $topic_id );
}
$content->renderPagination( );
$content->display( );
$content->clear( );
|
Also when I look at the album it seems to be fine only when I go to one of the Categories I get a blanc page.
The download does not work to like it must the main page looks fine but when I use the button Latest Search and Top 10 on the portal I get a blanc page. The rest don’t work also only the main download page works and the category. |
|
|
   |
 |
widean
phpBB2.de User

Anmeldungsdatum: 16.03.2006
Beiträge: 14
|
Verfasst am:
Sa 18 März, 2006 00:34 |
  |
Ok I have take out the problem whit the news... I don’t know how i just copy the image files from old forum and there he was.
now i use the oritinal portal only i chanse the code include($album_root_path . 'album_common.'.$phpEx); to //include($album_root_path . 'album_common.'.$phpEx); |
|
|
   |
 |
widean
phpBB2.de User

Anmeldungsdatum: 16.03.2006
Beiträge: 14
|
Verfasst am:
So 19 März, 2006 16:07 |
  |
I have solved the problem…. I don’t get it but it works… First I solved the problem whit the photo album just by uploading a picture. I did come there in by not logging on than going to a empty Gallery and there choose to upload a pic. Than I logged in and uploaded the pic. After that I go to the album index and there he was no blanc page (like before) than I edit the portal.php back (//include($album_root_path . 'album_common.'.$phpEx); to include($album_root_path . 'album_common.'.$phpEx); ) and the portal was normal…..
The only problem I have now is that if I’m logged in it just less a short time (I have to log in again) even when I am in the admin panel.. |
|
|
   |
 |
Latent
phpBB2.de User


Anmeldungsdatum: 01.11.2004
Beiträge: 137
|
Verfasst am:
Sa 29 März, 2008 04:12 |
  |
|
   |
 |
|
|
|
|
|
Nächstes Thema anzeigen
Vorheriges Thema anzeigen
Du kannst keine Beiträge in dieses Forum schreiben. Du kannst auf Beiträge in diesem Forum nicht antworten. Du kannst deine Beiträge in diesem Forum nicht bearbeiten. Du kannst deine Beiträge in diesem Forum nicht löschen. Du kannst an Umfragen in diesem Forum nicht mitmachen. Du kannst Dateien in diesem Forum nicht posten Du kannst Dateien in diesem Forum herunterladen
|
|
| |