• Resolved 3pills

    (@3pills)


    I have a problem. It appears that during the installation several things didn’t get into the database. With the help of this forum, I have been able to fix one problem. Now to the second problem.

    When in the admin area and you click on “view site”, application doesn’t return you to the site, but to the parent site.

    I am running two different sites on the same database. Each site has it’s own database prefix ( wp_ for the first and mom_ for the second) The second site is the one with problems.

    I am using,
    PHP Version 4.2.2
    mysql 3.23.54
    apache 2.0.40

    The host server is my own server running linux.

    Site #1 works correctly. I am assuming that there is some sort of problem in the database for the second site.

    Any help would be appreciated.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Check the URI values in the General Options page.

    Thread Starter 3pills

    (@3pills)

    Here is what is in options-general

    WordPress address (URI): https://www.tuftux.com/momreport
    Blog address (URI): (nothing here)
    I entered in Blog address (URI): https://www.tuftux.com/momreport
    and update options, but when it goes through the process, options-general comes back with Blog address with nothing in it.

    and when I test it, it still reverts to https://www.tuftux.com/

    3pills

    Look in each wp-config.php file and be sure everything’s correct in there, make sure each file points to the right table prefix. It’s easy (for this little pea-brained person) to accidentally upload the wrong file to the wrong site! Especially when you are working with more than one.

    J

    Thread Starter 3pills

    (@3pills)

    J & others,
    Here is my wp-config.php file (with my db username and password removed:

    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘wordpress’); // The name of the database
    define(‘DB_USER’, ‘uuuuu’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘pppppp’); // …and password
    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

    // Change the prefix if you want to have multiple blogs in a single database.
    $table_prefix = ‘mom_’; // example: ‘wp_’ or ‘b2’ or ‘mylogin_’

    // Change this to localize WordPress. A corresponding MO file for the
    // chosen language must be installed to wp-includes/languages.
    // For example, install de.mo to wp-includes/languages and set WPLANG to ‘de’
    // to enable German language support.
    define (‘WPLANG’, ”);

    /* Stop editing */

    define(‘ABSPATH’, dirname(__FILE__).’/’);
    require_once(ABSPATH.’wp-settings.php’);

    I don’t see anything wrong, but I am new to this whole process. Maybe you will detect something.

    3pills

    This sounds like your database isn’t allowing a value to be set.
    Who is your host ?

    Thread Starter 3pills

    (@3pills)

    One of my local computers is the host. I have a DSL broadband account with a static ip. No provider restrictions.

    As stated earlier, I am running,

    PHP Version 4.2.2
    mysql 3.23.54
    apache 2.0.40

    Linux redhat 9.0 is the operating system and I have one wordpress location on my server that works perfectly. This is the second wordpress location on the same database. It seems to work for most things except when attempt to go from admin to view site or any equivalent moves that require returning to the site.

    Thread Starter 3pills

    (@3pills)

    To podz,

    I agree that it seems that it isn’t setting the value. I wanted to check the database using the instructions I received for my earlier problem but unfortunately, the company I work for has blocked the address to that location. I guess that will wait until I get home. In about an hour!

    Thanks for your comments. I hope that I can get this resolved soon. I have other experiments to try with wordpress. It appears that it might be perfect as a content management system for my church’s website.

    3pills

    Thread Starter 3pills

    (@3pills)

    New information.
    I used phpmyadmin to view the database. I first checked options- home in the troubled site, then I checked options-home in the good site. There were two differences, no data in option overide and autoload in the troubled site, where “yes” was the data in the good site, when I attempted to correct the data, the “yes” data was already in the form. I did a save and got the following information.

    tbl_replace.php: Missing parameter: table (FAQ 2.8)
    tbl_replace.php: Missing parameter: goto (FAQ 2.8)

    I am assuming this is error messages from phpmyadmin. Any one have any ideas about it. I will wait till I get home to follow up.

    3pills

    Thread Starter 3pills

    (@3pills)

    I corrected phpmyadmin’s config file, but still erroneous info in options-home. I finally added a description for home and it save the correct data for home then, but…

    I was logged into the site at the time, now I am unable to logout. When I first started this site, I could not log in because siteurl was not correct — what now?

    3pills

    Thread Starter 3pills

    (@3pills)

    Problem of not return to site when “view site” is clicked is no longer an issue. Resolved by correcting database option-home. ( Missing description, seemed to be the main problem causing incorrect data entry in database).

    I am closing this problem. I still have a problem, but will restate as a new issue.

    3pills

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘New install, – doesn’t return to home site’ is closed to new replies.