Weird error php error?

I get this error now everything seems to work but this odd error shows up and here is the code.

[02-Oct-2014 20:22:26 America/Denver] PHP Warning: include(): Failed opening 'config.php' for inclusion (include_path='.:/usr/php/54/usr/lib64:/usr/php/54/usr/share/pear') in /home1/soslides/public_html/steamshots/index.php on line 4 [02-Oct-2014 20:22:26 America/Denver] PHP Warning: include(): Failed opening 'header.php' for inclusion (include_path='.:/usr/php/54/usr/lib64:/usr/php/54/usr/share/pear') in /home1/soslides/public_html/steamshots/index.php on line 5 2-Oct-2014 20:22:26 America/Denver] PHP Fatal error: Call to undefined function getPageLinkData() in /home1/soslides/public_html/steamshots/index.php on line 19

PHP Code
[php] // Page Links
$pagination = getPageLinkData(‘news’, NEWS_PER_PAGE);
echo ‘Found ‘.$pagination[‘total’].’ news articles.
’;
echo DisplayPageLinks($pagination[‘page’], NEWS_PER_PAGE, 5, $pagination[‘total’], ‘index.php?’);

// Get and show our news!
$news = $steam->getNewsData($pagination['page'], $pagination['pages']);
foreach($news as $post) {[/php]

There is the php code for the pagination that may be causing the error. I am clueless I did a dump in the variables and everything seems find. Any idea what is happening? Like I said it seems everything works great just the error log keep showing up and also I have it in a v1/folder and its not showing up in that its showing up in my public_html folder instead.

Nevermind I fixed the issue I over wrote my public_html index file with the main index file in the v1 folder lol.

Sponsor our Newsletter | Privacy Policy | Terms of Service