1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PHP Help. What am I missing?

Discussion in 'General Programming Chat' started by Robert, Jul 24, 2012.

  1. Robert

    Robert Newbie

    Joined:
    Apr 18, 2008
    Messages:
    32
    Likes Received:
    60
    Location:
    US
    I'm importing a rather large db using "big dump" but I'm getting this error....

    Error at the line 12021: { parent.document.title = 'mysite / localhost / mydb_name / wp_links | phpMyAdmin 3.4.10.1';

    What's wrong with that line?

    (overlook the "mysite" I replaced the site link with that so I could post it.
     
  2. WhiteDove

    WhiteDove Newbie

    Joined:
    Jun 23, 2012
    Messages:
    18
    Likes Received:
    1
    Edit the config file, or that line to have your stats; also don't use localhost, use the actual server address.
     
  3. Iwantabilliondollars

    Iwantabilliondollars Newbie

    Joined:
    Jul 3, 2011
    Messages:
    48
    Likes Received:
    3
    are you sure you are using the right separator with in the string? you using / then |
     
  4. amazonian raider

    amazonian raider Junior Member

    Joined:
    Mar 6, 2012
    Messages:
    114
    Likes Received:
    23
    It looks to me like the closing curly bracket is missing } unless that's on a different line or something.
     
  5. Kiopa_Matt

    Kiopa_Matt Registered Member

    Joined:
    Jun 3, 2011
    Messages:
    99
    Likes Received:
    11
    Put a \ in front of the ' marks.
     
  6. msimurin

    msimurin Regular Member

    Joined:
    Sep 21, 2009
    Messages:
    243
    Likes Received:
    92
    your php interpreter should tell you