+ Reply to Thread
Results 1 to 5 of 5

Thread: A ton of php errors.

  1. #1
    Wizet's Avatar
    Wizet is offline x10 Elder Wizet is an unknown quantity at this point
    Join Date
    May 2008
    Location
    Brooklyn, New York.
    Posts
    644

    A ton of php errors.

    PHP Code:
    Warning: include(ecko) [function.include]: failed to open streamNo such file or directory in /home/flownyx/public_html/lacydic/index.php on line 14

    Warning
    : include(ecko) [function.include]: failed to open streamNo such file or directory in /home/flownyx/public_html/lacydic/index.php on line 14

    Warning
    : include() [function.include]: Failed opening 'ecko' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php'in /home/flownyx/public_html/lacydic/index.php on line 14
    ecko
    Warning
    : include(ecko) [function.include]: failed to open streamNo such file or directory in /home/flownyx/public_html/lacydic/index.php on line 16

    Warning
    : include(ecko) [function.include]: failed to open streamNo such file or directory in /home/flownyx/public_html/lacydic/index.php on line 16

    Warning
    : include() [function.include]: Failed opening 'ecko' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php'in /home/flownyx/public_html/lacydic/index.php on line 16

    Warning
    : include() [function.include]: Filename cannot be empty in /home/flownyx/public_html/lacydic/index.php on line 17

    Warning
    : include() [function.include]: Filename cannot be empty in /home/flownyx/public_html/lacydic/index.php on line 17

    Warning
    : include() [function.include]: Failed opening '' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php'in /home/flownyx/public_html/lacydic/index.php on line 17

    Warning
    : include() [function.include]: Filename cannot be empty in /home/flownyx/public_html/lacydic/index.php on line 18

    Warning
    : include() [function.include]: Filename cannot be empty in /home/flownyx/public_html/lacydic/index.php on line 18

    Warning
    : include() [function.include]: Failed opening '' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php'in /home/flownyx/public_html/lacydic/index.php on line 18

    Fatal error
    Cannot redeclare sha512() (previously declared in /home/flownyx/public_html/lacydic/config.php:8in /home/flownyx/public_html/lacydic/config.php on line 11 
    Index.php:
    PHP Code:
    <?php
    //////////////////////////////////////////////////
    //         FlowUI CMS  Developer Edition        //        
    //         Version 1.0 Alpha                    //
    //////////////////////////////////////////////////

    ob_start();

    header('Content-Type: text/html; charset=utf-8');

    include 
    "config.php";
    include 
    "funct.php";

    include 
    $ecko
    echo 
    "ecko"
    include 
    $ecko
    include 
    $username;
    include 
    $password;

    if(isset(
    $_GET['action']) && !empty($_GET['action'])) {
            if(
    $_GET['action'] == 'support') {
                    include 
    'support.php';
            }
            elseif(
    $_GET['action'] == 'contact') {
                    include 
    'contact.php';
            }
            else {
                    include 
    '404.php';
            }
    }
    else {
            include 
    'index.php';
    }
    echo 
    "<link href='./css.css' rel='stylesheet' type='text/css' />";
    echo 
    "<title>FlowUI Preview v<?=$ver?></title>";
    echo 
    "</head>";
    echo 
    "<body>";
    echo 
    "<br />";
    echo 
    "<div class='head'>";
    echo 
    "FlowUI v<?=$ver?>";
    echo 
    "<span id='headlinks'>";
    echo 
    "<a href='./'>Home</a> | <a href='#'>Forums</a>";
    echo 
    "</span>";
    echo 
    "<br />";
    echo 
    "<span id='sub'>Slogan goes here.</span>";
    echo 
    "</div>";
    echo 
    "<br />";
    echo 
    "<div class='announce'>";
    echo 
    "<div class='topmsgs'><img src='/img/05077000.png' alt='Megaphone' /></div>";
    echo 
    "<br />";
    echo 
    "<div id='message'>&nbsp;</div>";
    echo 
    "<script type='text/javascript'>";
    echo 
    "var messages = new Array('Ecko >> Welcome to FlowUI Developer Preview <?=$ver?> Updated as of <?=$update?>. If you are not a partner or part of staff please do leave this page immediately. ', 'Ecko >> Powered by Flownyx.NET', 'Ecko >> Testing new read from mechanism. <?=$ecko?>');";
    echo 
    "var interval = 3000;";
    echo 
    "";
    echo 
    "var index = 0;";
    echo 
    "document.getElementById('message').innerHTML = messages[index];";
    echo 
    "setTimeout('changeMessage()', interval);";
    echo 
    "";
    echo 
    "function changeMessage() {";
    echo 
    "if (index > messages.length - 2)";
    echo 
    "index = 0;";
    echo 
    "else";
    echo 
    "index++;";
    echo 
    "";
    echo 
    "document.getElementById('message').innerHTML = messages[index];";
    echo 
    "setTimeout('changeMessage()', interval);";
    echo 
    "}";
    echo 
    "</script>";
    echo 
    "</div>";
    echo 
    "<br />";
    echo 
    "<div class='mainui'>";
    echo 
    "<table class='maintiles'>";
    echo 
    "<tr class='r1'>";
    echo 
    "<td><a href='/passport.php'><img src='img/passport.png' width='173' height='173' hspace='26' border='0' /></a></td>";
    echo 
    "<td><a href='javascript: alert('Images gallery is under maintenance');'><img src='img/images.png' width='173' height='173' hspace='26' /></a></td>";
    echo 
    "<td><a href='javascript: alert('Videos gallery is under maintenance');'><img src='img/videos.png' width='173' height='173' hspace='26' /></a></td>";
    echo 
    "<td><a href='/?action=support'><img src='/img/support.png' width='173' height='173' hspace='26' /></a></td>";
    echo 
    "</tr>";
    echo 
    "<!--";
    echo 
    "<tr class='r2'>";
    echo 
    "<td><a href='javascript: alert('Passport is under maintenance. You can check the passport page so far in passport.php');'><img src='img/passport.png' width='173' height='173' hspace='26' border='0' /></a></td>";
    echo 
    "<td><a href='javascript: alert('Images gallery is under maintenance');'><img src='img/images.png' width='173' height='173' hspace='26' /></a></td>";
    echo 
    "<td><a href='javascript: alert('Videos gallery is under maintenance');'><img src='img/videos.png' width='173' height='173' hspace='26' /></a></td>";
    echo 
    "<td><a href='javascript: alert('The support center and forum will be online somewhere between version 1.1.5.0 or 1.2.0.0');'><img src='/img/support.png' width='173' height='173' hspace='26' /></a></td>";
    echo 
    "</tr>";
    echo 
    "-->";
    echo 
    "</table>";
    echo 
    "</div>";
    echo 
    "<p>&nbsp;</p>";
    echo 
    "<p>&nbsp;</p>";
    echo 
    "<p>&nbsp;</p>";
    echo 
    "<div class='footer'>";
    echo 
    "Copyright &copy; <?=date('Y')?> Flownyx.net";
    echo 
    "</div>";
    echo 
    "</body>";
    echo 
    "</html>";
    echo 
    "";
    ?>
    Thank you in advance if you help me solve this problem.

    Note: After finding out what was wrong...We are back to square one...
    Fatal error: Cannot redeclare sha512() (previously declared in /home/flownyx/public_html/lacydic/config.php: in /home/flownyx/public_html/lacydic/config.php on line 11
    Last edited by Wizet; 05-23-2010 at 12:43 PM.

  2. #2
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: A ton of php errors.

    Note: After finding out what was wrong...We are back to square one...
    Which means what? All the other error messages gone except the re-declaration one?

    As to that, look at the files you are including:

    inclue "funct.php"
    include $ecko;
    include $ecko;
    include $username;
    include $password;
    include 'support.php';
    include 'contact.php';
    include '404.php';
    include 'index.php';

    My guess is that one of them includes config.php.
    Suggestion: do not use include. use include_once or require_once.
    Last edited by descalzo; 05-23-2010 at 01:30 PM.
    Nothing is always absolutely so.

  3. #3
    Wizet's Avatar
    Wizet is offline x10 Elder Wizet is an unknown quantity at this point
    Join Date
    May 2008
    Location
    Brooklyn, New York.
    Posts
    644

    Re: A ton of php errors.

    Okay I'l see what your advice brings up. And yes all the other errors are gone except for the redeclaration one.

  4. #4
    batman1's Avatar
    batman1 is offline x10Hosting Member batman1 is an unknown quantity at this point
    Join Date
    Aug 2008
    Location
    Jamaica
    Posts
    92

    Re: A ton of php errors.

    It has something to do with the include or include_once path. The path seems to be wrong.

  5. #5
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: A ton of php errors.

    Quote Originally Posted by batman1 View Post
    It has something to do with the include or include_once path. The path seems to be wrong.
    From the end of the OP's post:
    Quote Originally Posted by Wizet View Post
    Note: After finding out what was wrong...We are back to square one...
    He was able to resolve the problem with variables not holding script names on his own.

+ Reply to Thread

Similar Threads

  1. Log in errors
    By kilobeta in forum Free Hosting
    Replies: 0
    Last Post: 11-21-2008, 11:55 AM
  2. MySQL errors and Website Errors.
    By JuniorD in forum Free Hosting
    Replies: 0
    Last Post: 05-28-2008, 03:49 PM
  3. A couple of errors might be user errors!
    By mvpatch in forum Free Hosting
    Replies: 4
    Last Post: 03-18-2008, 01:12 PM
  4. Getting errors!
    By intertec in forum Free Hosting
    Replies: 5
    Last Post: 02-23-2008, 09:30 PM
  5. errors i need help with!
    By hoxxer in forum Free Hosting
    Replies: 4
    Last Post: 10-23-2007, 03:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers