Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter hofda

    (@hofda)

    The problem is I can’t see a quote (“) anywhere on line 15, only single ‘ in front and behind the database prefix name. Am I misundertanding you?

    Below is line 14-16:

    $shardb_hash_length = 1;
    $shardb_prefix = ‘hofda_’;
    $shardb_dataset = ‘mb’;

    Thread Starter hofda

    (@hofda)

    Sorry, when I upload to my FTP server, it doesn’t seem to take right away. I now get the same error I got last instead; Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/hofda/public_html/classicxrated.com/dbsettings.php on line 15

    Not sure why I got error on line 35 in wp-config the first time, as I can swear I was setting it the same way I have now.

    Thread Starter hofda

    (@hofda)

    Putting them on different lines was what I did first, and there were no double quotations there when I checked. So back to square one.

    Now it looks like this in wp-config.php:

    define(‘DB_COLLATE’, ”);
    require( ‘dbsettings.php’);

    I get the same error I began with.

    Thread Starter hofda

    (@hofda)

    By the way, the line looks like this:
    $shardb_prefix = ‘hofda_’;

    Thread Starter hofda

    (@hofda)

    OK, I had put in the line wrong. Now it looks like this:

    define(‘DB_COLLATE’, require( ‘db­settings.php’ ));

    I get a new error, but this time it looks to be about the dbsettings.php file, not the wp-config.php file.

    Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/hofda/public_html/classicxrated.com/dbsettings.php on line 15

    If I read it correctly, there is something wrong on line 15, I think thats where the database prefix is located, but I might count wrong (do you count lines with nothing in them?).

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