• Resolved tky

    (@tky)


    Hi,
    I have run into a few problems installing and have gotten past many at this stage. I am however still getting errors when I try to login. initially i was stuck in the admin login loop so I added this line to the top
    define(‘ADMIN_COOKIE_PATH’, ‘/’);

    this gives me the following erros (plus more). Has anyone experiecned this or have a fix.

    Many Thanks,
    tom

    Warning: Division by zero in D:\hshome\tomleen\kingdomwaves.com\WORDPRESS\wordpress\wp-config.php on line 3

    Warning: Cannot modify header information – headers already sent by (output started at D:\hshome\tomleen\kingdomwaves.com\WORDPRESS\wordpress\wp-config.php:2) in D:\hshome\tomleen\kingdomwaves.com\WORDPRESS\wordpress\wp-login.php on line 354

    Warning: Cannot modify header information – headers already sent by (output started at D:\hshome\tomleen\kingdomwaves.com\WORDPRESS\wordpress\wp-config.php:2) in D:\hshome\tomleen\kingdomwaves.com\WORDPRESS\wordpress\wp-login.php on line 366

    Warning: Cannot modify header information – headers already sent by (output started at D:\hshome\tomleen\kingdomwaves.com\WORDPRESS\wordpress\wp-config.php:2) in D:\hshome\tomleen\kingdomwaves.com\WORDPRESS\wordpress\wp-includes\pluggable.php on line 702

    Warning: Cannot modify header information – headers already sent by (output started at D:\hshome\tomleen\kingdomwaves.com\WORDPRESS\wordpress\wp-config.php:2) in D:\hshome\tomleen\kingdomwaves.com\WORDPRESS\wordpress\wp-includes\pluggable.php on line 703

    Warning: Cannot modify header information – headers already sent by (output started at D:\hshome\tomleen\kingdomwaves.com\WORDPRESS\wordpress\wp-config.php:2) in D:\hshome\tomleen\kingdomwaves.com\WORDPRESS\wordpress\wp-includes\pluggable.php on line 704

    Warning: Cannot modify header information – headers already sent by (output started at D:\hshome\tomleen\kingdomwaves.com\WORDPRESS\wordpress\wp-config.php:2) in D:\hshome\tomleen\kingdomwaves.com\WORDPRESS\wordpress\wp-includes\pluggable.php on line 897

Viewing 15 replies - 1 through 15 (of 16 total)
  • define(‘ADMIN_COOKIE_PATH’, ‘/’);

    Those are ‘fancy’ quotes– the angled ones that our editors really love. You can’t use those in code. It will break things. You need to use straight quotes, like this:

    define('ADMIN_COOKIE_PATH', '/');

    Are you editing this is a word processor?

    Thread Starter tky

    (@tky)

    thanks for reply and sorry for delay.
    i am using notepad and changed to normal quotes like your example but I am still stuck on this admin page loop. i click login and it just brings up the same page again. it is very strange. it now does not bring me to all the errors listed above it just keep me in this loop!

    Thread Starter tky

    (@tky)

    the header errors i have fixed. thanks esmi. I am still stuck on this login page loop though. Any help much appreciated. I have tried adding
    the line define(‘ADMIN_COOKIE_PATH’, ‘/’); but it doesnt affect anything.
    if anyone knows how to fix this i could use help!

    Try:
    – switching to the Twenty Ten theme by renaming your current theme’s folder in wp-content/themes using FTP or whatever file management application your host provides.

    resetting the plugins folder by FTP or phpMyAdmin.

    – re-uploading all files & folders – except the wp-content folder – from a fresh download of WordPress.

    Thread Starter tky

    (@tky)

    thanks, I have tried all the above and none have worked. i have no choice left but to delete everything and start again, dont know what else to do!??

    Try re-creating your wp-config.php file (from the wp-config-sample.php file) from scratch using NotePad but this time do not not paste any content from the old file into the new. Type everything in very carefully.

    Thread Starter tky

    (@tky)

    I have deleted everything, re-installed. the installation works in so far as I can bring up the index page but again when I try to login on the admin page which is at
    https://www.kingdomwaves.com/wp/wordpress/wp-login.php it redirects me
    back again to same page with url as below
    https://www.kingdomwaves.com/wp/wordpress/wp-login.php?redirect_to=http%3A%2F%2Fwww.kingdomwaves.com%2Fwp%2Fwordpress%2Fwp-admin%2F&reauth=1

    I have literally spent hours trying every thing mentioned but to no avail, this 5 min install has been baffled!!??

    Hi. I`m having the same problem…how did you solved it?

    Thread Starter tky

    (@tky)

    Hi there,
    Im afraid I didnt solve the problem. I tried everything mentioned previously and none of it worked!

    It’s something to do with the config.php file. I can`t set it up so it can’t loop

    Don’t create a wp-config.php file. Let WP do it as part of the install process.

    Aham…ok…Ill try it. This time Ive created the config. I`ll get back to you

    HEY..It worked…Thanks

    Thread Starter tky

    (@tky)

    Hi There,
    I am still having problems with this install. So far I have done the following.
    1. Let the software create the config.php file
    This didnt work
    3. Deleted everything and re-installed in a different directory.
    2. Create the file myself.
    This didnt work

    This is literally driving me insane. If anyone can help with this ‘5 min’ install I would be so gratefull.

    Thanks!!

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘wp-config.php errors’ is closed to new replies.