Welcome our webmaster and SEO forum
Please enjoy the forum, contribute what you can, and wind up the Moderators!
Closed Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11

Thread: Need help

  1. #1
    detoam is offline Member detoam is on a distinguished road
    Join Date
    May 2007
    Location
    Canada
    Posts
    90

    Red face Need help

    Hi there!
    I have transfered one of the sites from one server to another. On the old one it was the main domain, but on the new one I have to set it up as an addon domain. I've done that, but now I get this error:
    Parse error: syntax error, unexpected ';' in /home/turnthe/public_html/kenneth/wp-config.php on line 5
    Can someone tell me how I can fix this?

  2. #2
    Bagi Zoltán's Avatar
    Bagi Zoltán is offline Boss Cart consultant Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of
    Join Date
    Feb 2007
    Location
    Veszprém, Hungary
    Posts
    1,225

    Default

    Detoam, have you try to transfer the wp-config.php again to the new location?
    If it did'n or wouldn't solve the problem please post here the 5th line of your config file and maybe we will be able to find the bug.

  3. #3
    detoam is offline Member detoam is on a distinguished road
    Join Date
    May 2007
    Location
    Canada
    Posts
    90

    Default

    The fifth line is:
    define('DB_PASSWORD', 'julierene'; // ...and password
    I tried changing it as well as trying to change users, but nothing helped.
    I am thinking to reinstall the whole thing from scratch.

  4. #4
    Bagi Zoltán's Avatar
    Bagi Zoltán is offline Boss Cart consultant Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of
    Join Date
    Feb 2007
    Location
    Veszprém, Hungary
    Posts
    1,225

    Default

    Please, replace the fifth line with this
    define('DB_PASSWORD', 'julierene'); // ...and password
    this MUST work

  5. #5
    detoam is offline Member detoam is on a distinguished road
    Join Date
    May 2007
    Location
    Canada
    Posts
    90

    Default

    Thank You Bagi.
    I have reinstalled the site completely. But You are right very much. That: ) is exactly what was missing. I must have deleted that by mistake after the transfer. And as I am not very knowledgeable I didn't notice.
    Thank you.
    BTW I owe You a domain name don't I?

  6. #6
    Bagi Zoltán's Avatar
    Bagi Zoltán is offline Boss Cart consultant Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of
    Join Date
    Feb 2007
    Location
    Veszprém, Hungary
    Posts
    1,225

    Default

    Detoam, i won that contest and really appreciate the gesture that you offered a domain, but to be honest i didn't have time to build one more site and i suppose i won't have time in the near future. Detoam, when i will decide to build a site i will let you know.
    Thank you very much and really sorry for this

  7. #7
    detoam is offline Member detoam is on a distinguished road
    Join Date
    May 2007
    Location
    Canada
    Posts
    90

    Default

    No problem.
    Whenever You are ready just tell me. Or if You need something else instead.

    I got a new problem. Actually I had it for a long time, but now it gives me a literal headache.
    This is the code I need to embed into a wordpress blog:
    Code:
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
    codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
     width="350" height="289" id="CoffeeCup" >
        <param name="movie" value="bioniccommando.swf"></param>
        <param name="quality" value="high"></param>
        <param name="scale" value="noscale"></param>
        <param name="salign" value="lt"></param>
        <param name="bgcolor" value="#ffffff"></param>
        <embed src="bioniccommando.swf" quality="high" bgcolor="#ffffff" width="350" height="289"
     name="CoffeeCup" scale="noscale" salign="lt" align="middle" type="application/x-shockwave-flash"
     pluginspage="http://www.macromedia.com/go/getflashplayer"></align>
      </object>
    When I embed it it all comes out either jumbled or the page is totally screwed up. For now I just use an iframe to show videos, but that doesn't look too appetizing.

    Can someone help? Please.

  8. #8
    Bagi Zoltán's Avatar
    Bagi Zoltán is offline Boss Cart consultant Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of
    Join Date
    Feb 2007
    Location
    Veszprém, Hungary
    Posts
    1,225

    Default

    Detoam, in the wp-includes folder you may find a file called kses.php, which controls the allowed html tags can be used while posting. As i saw the following html tags are necessary to be allowed to use the code above.

    PHP Code:
    $allowedtags = array ('object' => array (
    'classid' => array (),
    'codebase' => array (),
    'width' => array (),
    'height' => array (),
    'id' => array ()),
    'param' => array (
    'value' => array (),
    'name' => array ()),
    'embed' => array (
    'src' => array (),
    'quality' => array (),
    'bgcolor' => array (),
    'width' => array (),
    'height' => array (),
    'name' => array (),
    'scale' => array (),
    'salign' => array (),
    'align' => array (),
    'type' => array (),
    'pluginspage' => array ()); 
    Insert the code i compiled into the if (!CUSTOM_TAGS) { function.
    Hope it will work!

  9. #9
    detoam is offline Member detoam is on a distinguished road
    Join Date
    May 2007
    Location
    Canada
    Posts
    90

    Default

    This is the error I am coming up with now:

    Parse error: syntax error, unexpected ';', expecting ')' in /home/detoam/public_html/wp-includes/kses.php on line 760

  10. #10
    Bagi Zoltán's Avatar
    Bagi Zoltán is offline Boss Cart consultant Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of
    Join Date
    Feb 2007
    Location
    Veszprém, Hungary
    Posts
    1,225

    Default

    Detoam, without ftp connection there is nothing i could do with the error. If you like you may send the ftp details and the url and will have a look at that

Closed Thread
Page 1 of 2 1 2 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124