Jump to content

Website won't update?


Ziddia

Recommended Posts

Okay, I've made a new webpage for phpBB3, and it was working until about lunchtime yesterday. The next time I edited it, the page didn't update. I have tried several times to update it since, but it won't work. Here's my portal.php code:

 

<?php
define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);

// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();

page_header('phpBB3 Portal Public Test!');

$template->set_filenames(array(
    'body' => 'portal_style.html',
));

make_jumpbox(append_sid("{$phpbb_root_path}viewforum.$phpEx"));
page_footer();
?>

 

Here's my portal_style.html:

<!-- INCLUDE overall_header.html -->

<script src="/port/scripts/getannounce.php">
</script>

<h2><div align="center">Announcement!</div></h2>

<div class="panel">
   <div class="inner"><span class="corners-top"><span></span></span>

<div class="content" align="center">
    <script type="text/javascript" src="announce1.php">
</script>
   </div>

<span class="corners-bottom"><span></span></span></div></div>
  

<h2><div align="center">Announcement!</div></h2>

<div class="panel">
   <div class="inner"><span class="corners-top"><span></span></span>

   <div class="content" align="center">
          <script src="/port/scripts/announce1.php">
</script>
   </div>

   <span class="corners-bottom"><span></span></span></div>
</div>

<h2><div align="center">Announcement!</div></h2>

<div class="panel">
   <div class="inner"><span class="corners-top"><span></span></span>

<div class="content" align="center">
        <script src="/port/scripts/announce3.php">
</script>
   </div>

<span class="corners-bottom"><span></span></span></div></div>

<h2><div align="center">Announcement!</div></h2>

<div class="panel">
   <div class="inner"><span class="corners-top"><span></span></span>

<div class="content" align="center">
        <script src="/port/scripts/announce4.php">
</script>
   </div>

<span class="corners-bottom"><span></span></span></div></div>

<h2><div align="center">Announcement!</div></h2>

<div class="panel">
   <div class="inner"><span class="corners-top"><span></span></span>

<div class="content" align="center">
        <script src="/port/scripts/announce5.php">
</script>
   </div>

<span class="corners-bottom"><span></span></span></div></div>

<!-- INCLUDE jumpbox.html -->
<!-- INCLUDE overall_footer.html -->

 

I will provide the others if you need them. Why would this be happening?

 

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/237232-website-wont-update/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.