New Install undefined index

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 06-01-2007, 04:03 AM
New Pligger
 
Join Date: Jun 2007
Posts: 2
Installing a fresh install of 9.1. It says everything has installed properly but now I get these errors.

Notice: Undefined index: link1 in /var/www/vhosts/learning2/breakout/templates_c/c_1ef20ce3d40db3ec68f39d97694c4927.php on line 123

Notice: Undefined index: text1 in /var/www/vhosts/learning2/breakout/templates_c/c_1ef20ce3d40db3ec68f39d97694c4927.php on line 125

Notice: Undefined index: link2 in /var/www/vhosts/learning2/breakout/templates_c/c_1ef20ce3d40db3ec68f39d97694c4927.php on line 126

Notice: Undefined index: text2 in /var/www/vhosts/learning2/breakout/templates_c/c_1ef20ce3d40db3ec68f39d97694c4927.php on line 128

Notice: Undefined index: link3 in /var/www/vhosts/learning2/breakout/templates_c/c_1ef20ce3d40db3ec68f39d97694c4927.php on line 129

Notice: Undefined index: text3 in /var/www/vhosts/learning2/breakout/templates_c/c_1ef20ce3d40db3ec68f39d97694c4927.php on line 131

Notice: Undefined index: link4 in /var/www/vhosts/learning2/breakout/templates_c/c_1ef20ce3d40db3ec68f39d97694c4927.php on line 132

Notice: Undefined index: text4 in /var/www/vhosts/learning2/breakout/templates_c/c_1ef20ce3d40db3ec68f39d97694c4927.php on line 134

Here are the following lines in the file:

<?php if ($this->_vars['navbar_where']['link1'] != ""): ?> » <a href="<?php echo $this->_vars['navbar_where']['link1']; ?>
"><?php echo $this->_vars['navbar_where']['text1']; ?>
</a><?php elseif ($this->_vars['navbar_where']['text1'] != ""): ?> » <?php echo $this->_vars['navbar_where']['text1']; endif; ?>
<?php if ($this->_vars['navbar_where']['link2'] != ""): ?> » <a href="<?php echo $this->_vars['navbar_where']['link2']; ?>
"><?php echo $this->_vars['navbar_where']['text2']; ?>
</a><?php elseif ($this->_vars['navbar_where']['text2'] != ""): ?> » <?php echo $this->_vars['navbar_where']['text2']; endif; ?>
<?php if ($this->_vars['navbar_where']['link3'] != ""): ?> » <a href="<?php echo $this->_vars['navbar_where']['link3']; ?>
"><?php echo $this->_vars['navbar_where']['text3']; ?>
</a><?php elseif ($this->_vars['navbar_where']['text3'] != ""): ?> » <?php echo $this->_vars['navbar_where']['text3']; endif; ?>
<?php if ($this->_vars['navbar_where']['link4'] != ""): ?> » <a href="<?php echo $this->_vars['navbar_where']['link4']; ?>
"><?php echo $this->_vars['navbar_where']['text4']; ?>
</a><?php elseif ($this->_vars['navbar_where']['text4'] != ""): ?> » <?php echo $this->_vars['navbar_where']['text4']; endif; ?>

It might be a chmod problem? I've checked everything and it looks chmod right.

Thanks!
Reply With Quote
  #2 (permalink)  
Old 06-01-2007, 04:09 AM
chuckroast's Avatar
Pligg Developer/Coder/Designer
Pligg Version: SVN
Pligg Template: Social Pro Kit
 
Join Date: Jun 2006
Posts: 5,448
Make sure templates_c is set to chmod 777.. You may also want to try 755
Reply With Quote
  #3 (permalink)  
Old 06-01-2007, 04:13 AM
New Pligger
 
Join Date: Jun 2007
Posts: 2
Thanks. Triple checked and it's 777 I changed it to 755 and that broke the whole site. chmod back to 777 and same error.
Reply With Quote
  #4 (permalink)  
Old 06-05-2007, 04:51 AM
New Pligger
 
Join Date: Jun 2007
Posts: 1
the templetaes_c dir is 777, have the same problem.
Reply With Quote
  #5 (permalink)  
Old 06-05-2007, 05:10 AM
New Pligger
 
Join Date: Jun 2007
Posts: 5
Is the dir empty? What files are in that directory?
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
/var/log/httpd/error_log messages gr8rcake Questions and Comments 4 06-01-2010 12:25 PM
Pligg Errors tcritic Questions and Comments 4 09-01-2009 10:40 AM
Undefined index error: on all pages reddyink Questions and Comments 0 02-18-2008 12:03 PM
Submitting stories...again kingp Questions and Comments 5 05-07-2007 01:58 PM
dreamhost and validation image problem Xanatos Questions and Comments 17 01-17-2007 02:14 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development