Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hello Natalie,

    please let me know if when you get a solution. I’m still waiting myself. I am tempted to reinstall WP. But if I do that I wont learn anything. Fortunately, I’m in the development stage for my site so it’s not really killing me right now – but it would be nice to get a couple of suggestions on both of our problems.

    Funny, I just had this happened to me. Now for you folks that may be able to assist me, I have to be honest and admit that I upload my local files over those that were on the server. I am also fairly confident that the files on the server were the most recent upgraded files, but I am NOT sure that the ones I uploaded from my computer were/are the 2.5 version.

    It was a not so innocent mistake after hitting “synchronize” inside of Dreamweaver. I can still navigate the site, but I cannot login to the admin area.

    Here is the error I get:

    Fatal error: Cannot redeclare documentation_link() (previously declared in /home/.yippee/howhite/highpitchnoise.com/speakers/wp-includes/deprecated.php:1272) in /home/.yippee/howhite/highpitchnoise.com/speakers/wp-admin/includes/template.php on line 70

    Please advise.

    Thank you.

    Thread Starter howhite

    (@howhite)

    Still no luck on a resolution to this question. (Late night Bump) sorry.

    Hello,
    I was just wondering if you’d received any direction on this topic. I too would like to get additional information from registering users. Sometimes its difficult to find answers to specific questions on WP.

    Thanks.

    Thread Starter howhite

    (@howhite)

    Thanks Kafkaesqui. ??

    I’m learning as fast as I can. I appreciate your help, that worked.

    Thread Starter howhite

    (@howhite)

    Thank for the information. I changed my code to look like this:

    <table cellspacing="2">
            <tr>
              <td>post_title</td>
            </tr>
            <?php do { ?>
              <tr>
                <td><ul>
                  <li><a href="<?php echo $row_Recordset1['guid']; ?>"><?php echo substr(chop($row_try123['post_title']), 0, 26); ?></a></li>
                </ul></td>
              </tr>
              <?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>
          </table>

    However after do this the title did show up at all. My bullets were there, but no text.

    Thread Starter howhite

    (@howhite)

    Still looking for direction, any ideas or suggestion will be appreciated.

    Thread Starter howhite

    (@howhite)

    Here the code I for the page I’m experiment with:

    <?php require_once(‘Connections/WordPress.php’); ?>
    <?php
    if (!function_exists(“GetSQLValueString”)) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = “”, $theNotDefinedValue = “”)
    {
    $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;

    $theValue = function_exists(“mysql_real_escape_string”) ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);

    switch ($theType) {
    case “text”:
    $theValue = ($theValue != “”) ? “‘” . $theValue . “‘” : “NULL”;
    break;
    case “long”:
    case “int”:
    $theValue = ($theValue != “”) ? intval($theValue) : “NULL”;
    break;
    case “double”:
    $theValue = ($theValue != “”) ? “‘” . doubleval($theValue) . “‘” : “NULL”;
    break;
    case “date”:
    $theValue = ($theValue != “”) ? “‘” . $theValue . “‘” : “NULL”;
    break;
    case “defined”:
    $theValue = ($theValue != “”) ? $theDefinedValue : $theNotDefinedValue;
    break;
    }
    return $theValue;
    }
    }

    $maxRows_test2 = 5;
    $pageNum_test2 = 0;
    if (isset($_GET[‘pageNum_test2’])) {
    $pageNum_test2 = $_GET[‘pageNum_test2’];
    }
    $startRow_test2 = $pageNum_test2 * $maxRows_test2;

    mysql_select_db($database_WordPress, $WordPress);
    $query_test2 = “SELECT post_title FROM wp_posts ORDER BY post_date DESC”;
    $query_limit_test2 = sprintf(“%s LIMIT %d, %d”, $query_test2, $startRow_test2, $maxRows_test2);
    $test2 = mysql_query($query_limit_test2, $WordPress) or die(mysql_error());
    $row_test2 = mysql_fetch_assoc($test2);

    if (isset($_GET[‘totalRows_test2’])) {
    $totalRows_test2 = $_GET[‘totalRows_test2’];
    } else {
    $all_test2 = mysql_query($query_test2);
    $totalRows_test2 = mysql_num_rows($all_test2);
    }
    $totalPages_test2 = ceil($totalRows_test2/$maxRows_test2)-1;
    ?><!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
    <html xmlns=”https://www.w3.org/1999/xhtml”&gt;
    <head>
    <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
    <title>Untitled Document</title>
    </head>

    <body>
    <table border=”0″ cellpadding=”1″ cellspacing=”2″>
    <tr>
    <td>post_title</td>
    </tr>
    <?php do { ?>
    <tr>
    <td><?php echo $row_test2[‘post_title’]; ?></td>
    </tr>
    <?php } while ($row_test2 = mysql_fetch_assoc($test2)); ?>
    </table>
    </body>
    </html>
    <?php
    mysql_free_result($test2);
    ?>

Viewing 8 replies - 1 through 8 (of 8 total)