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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.