PLEASE HELP! I'm pretty sure this has an easy solution....

Permalink
But right now it is a HUGE problem for my site!

I keep getting this message:

Warning:
include(/home3/myseatt1/public_html/packages/theme_diamond/themes/diamond/elements/header.php) [function.include]: failed to open stream: No such file or directory in /home3/myseatt1/public_html/concrete/libraries/view.php on line
330

Warning: include() [function.include]: Failed opening
'/home3/myseatt1/public_html/packages/theme_diamond/themes/diamond/elements/header.php'
for inclusion
(include_path='.:/usr/lib64/php:/usr/lib/php:/home3/myseatt1/public_html/libraries/3rdparty:/home3/myseatt1/public_html/concrete/config/../libraries/3rdparty') in /home3/myseatt1/public_html/concrete/libraries/view.php on line
330


TestSetup
Member Since
September 01, 2010
Edit
Avatar
Messages
Friends
Search Members

TestSetup

Warning:
include(/home3/myseatt1/public_html/packages/theme_diamond/themes/diamond/elements/footer.php) [function.include]: failed to open stream: No such file or directory in /home3/myseatt1/public_html/concrete/libraries/view.php on line
330

Warning: include() [function.include]: Failed opening
'/home3/myseatt1/public_html/packages/theme_diamond/themes/diamond/elements/footer.php'
for inclusion
(include_path='.:/usr/lib64/php:/usr/lib/php:/home3/myseatt1/public_html/libraries/3rdparty:/home3/myseatt1/public_html/concrete/config/../libraries/3rdparty') in /home3/myseatt1/public_html/concrete/libraries/view.php on line
330


Any idea how to fix this? The members page worked back when i was using a different
theme, however i purchased the "diamond" theme and when a member logs in it directs them
to this page.

Thanks so much to anybody who can help!

 
Proteus replied on at Permalink Reply
Proteus
okhayat replied on at Permalink Reply
okhayat
replace include() with $this->inc()
MySeattleConnection replied on at Permalink Reply
how do I change it? On the page it does not allow me to edit anything.

Thanks,

Shea
Proteus replied on at Permalink Reply
Proteus
He's talking about the actual page type file itself. You would have to edit it in code.

Grab a text editor that is not Microsoft Word, such as Notepad or TextWrangler (if you're on a Mac:http://www.barebones.com/products/textwrangler/)...

Open up the view.php file in your theme's directory. It should be in the "packages" folder for your C5's installation.

Replace the code as okhayat suggested.

If you're not quite sure what to do, it might help posting the code for your view.php file here, or attaching the view.php file itself.
Mnkras replied on at Permalink Reply
Mnkras
ill look into that theme and see whats up with it
Mnkras replied on at Permalink Best Answer Reply
Mnkras
please update the theme, the version you have is outdated.

EDIT: nevermind, i have contacted the theme author to fix this, in the meantime,

in /packages/diamond_theme/themes/diamond, copy default.php and rename it to view.php overriding the other one, then open it and find
<?php  $a = new Area('Main'); $a->display($c); ?>


and replace it with

<?php
print $innerContent;         
?>
MySeattleConnection replied on at Permalink Reply
Alright i will try all of this stuff. Thank you SO much for all of the help! I hope it works... Is it possible to select "best answer for ALL of these?" :)
Mnkras replied on at Permalink Reply
Mnkras
haha, unfortunately no ;)
MySeattleConnection replied on at Permalink Reply
ahhhhhhhhh it didn't work :(...

Here is what my view.php file looks like


<?php defined('C5_EXECUTE') or die(_("Access Denied.")); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php Loader::element('header_required'); ?>



<link rel="stylesheet" type="text/css" media="all" href="<?php echo $this->getStyleSheet('general_styles.css');?>" />
<link rel="stylesheet" type="text/css" media="all" href="<?php echo $this->getStyleSheet('typography.css');?>" />
<link rel="stylesheet" type="text/css" media="all" href="<?php echo $this->getStyleSheet('sidebar_hide.css');?>" />
<script type="text/javascript" src="<?php echo $this->getThemePath()?>/js/menu_jquery.js"></script>
<script type="text/javascript" src="<?php echo $this->getThemePath()?>/js/jquery.ui.js"></script>
<script type="text/javascript" src="<?php echo $this->getThemePath()?>/shadowbox/shadowbox.js"></script>
<script type="text/javascript">
Shadowbox.init({
players: ["html","img","swf","flv","qt","iframe"]
});
</script>
<link rel="stylesheet" type="text/css" href="<?php echo $this->getThemePath()?>/shadowbox/shadowbox.css" />
<!--[if IE 7]>

<link rel="stylesheet" type="text/css" media="all" href="<?php echo $this->getThemePath()?>/ie7fix.css" />
<![endif]-->

<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" media="all" href="<?php echo $this->getThemePath()?>/ie6fix.css" />
<script type="text/javascript" src="<?php echo $this->getThemePath()?>/js/pngfix.js"></script>
<![endif]-->

</head>

<body>
<div id="container"><!-- Start container -->


<div id="pageHeader"><!-- Start page header -->

<?php $a = new Area('Header'); $a->display($c); ?>
</div><!-- End page header -->

<div id="contentContainer"><!-- Start main content wrapper -->
<div id="sidebarContainer"><!-- Start Sidebar wrapper -->
<div class="sideHeader">
<?php $a = new Area('Sidebar Header'); $a->display($c); ?>
</div><!-- Sidebar header -->
<div id="navcontainer_side">

<?php $a = new Area('Navigation'); $a->display($c); ?>
</div><!-- Start sidebar content -->

<div id="sidebar">
<?php $a = new Area('Sidebar'); $a->display($c); ?>
</div><!-- End sidebar content -->
</div><!-- End sidebar wrapper -->
<div id="content"><!-- Start content -->
<?php
print $innerContent;
?> <div id="footer"><!-- Start Footer -->
<?php $a = new Area('Footer'); $a->display($c); ?>
<div id="signin">
<a href="<?php echo $this->url('/login')?>"><?php echo t('Anmelden')?></a>
</div>

</div><!-- End Footer -->
</div><!-- End content -->
</div><!-- End main content wrapper -->

</div><!-- End container -->
<?php Loader::element('footer_required'); ?>
</body>
</html>




any ideas?