Parse error: syntax error, unexpected T_LNUMBER
-
I am getting this message in line 13 both before and after taking out the secret key business…
What to do?
-
and whats on line 13?
The error has now moved to line 14, but all of my php doc info opens in the browser as well…
That error is a accompanied by a file name — I presumed it was your wp-config.php because you said something about the secret key.No matter that what you said makes NO sense.
Heres the deal.
1. provide the error.
2. provide the file name.
3. provide the content if theres a line # mentioned in the error. YOu dont open files in a browser to get the content, you open them in a plain text editor.
we dont read minds here, and we dont have the time to guess what you are talking about.
I dont mean to be short, but this ought to be a NO-brainer.
WOW.
Here’s EXACTLY what’s in my file.
Thanks for your patience.<?php
// ** MySQL settings ** //
define(‘DB_NAME’, ‘my_db’); // The name of the database
define(‘DB_USER’, ‘dxxxxxxxxx’); // Your MySQL username
define(‘DB_PASSWORD’, ‘XXXXXX’); // …and password
define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
define(‘DB_CHARSET’, ‘utf8’);
define(‘DB_COLLATE’, ”);// You can have multiple installations in one database if you give each a unique prefix
$table_prefix = ‘wp_’; // Only numbers, letters, and underscores please!
// Change this to localize WordPress. A corresponding MO file for the
// chosen language must be installed to wp-content/languages.
// For example, install de.mo to wp-content/languages and set WPLANG to ‘de’
// to enable German language support.
define (‘WPLANG’, ”);/* That’s all, stop editing! Happy blogging. */
if ( !defined(‘ABSPATH’) )
define(‘ABSPATH’, dirname(__FILE__) . ‘/’);
require_once(ABSPATH . ‘wp-settings.php’);
?>If you click on this link
you’ll see what I mean about the php doc opening in the browser
please edit your previous post and xxxxxx out your password
you beat me to it 🙂
// You can have multiple installations in one database if you give each a unique prefix
Is that on One line or 2?
umm.. you realize that your password is being shown on that page?
Does your host have PHP available? if so, youve hosed up something, and probably ought delete and reupload ALL your files.
I’m editing the php in Text Edit. It appears to be on one line.
Should I delete this line, or change it to:
$table_prefix = ‘wp02_’; // Only numbers, letters, and underscores please!
Ya, I realize that…
I had to go have a cry after your “No Brainer” comment.
Sorry for being stupid.I think maybe it’s a subdomain problem too?
I’m a site within a site within a site with a database, and not sure if all of the mySQL ingredients are in place.I’ll delete and start again.
Wow!
I just deleted the wp-config file from my server, refreshed the url to the mydomain/wp02, and your “help me” file kicked in! Walked me right through it…
Thanks, WordPress.
The topic ‘Parse error: syntax error, unexpected T_LNUMBER’ is closed to new replies.