Jump to content

global.inc.php Question


Guest gpgarrettboast

Recommended Posts

Guest gpgarrettboast

I changed the global.inc.php file so that it would work under all of my domains. The Store area of CC works great, but I now have a problem with the admin area.

I get a PHP error:

Warning: Cannot modify header information - headers already sent by (output started at /storage2/garrett/public_html/store/includes/global.inc.php:13) in /storage2/garrett/public_html/store/includes/sslSwitch.inc.php on line 82




Here is my global.inc.php: (With the DB info edited out)


<?php

$glob['dbdatabase'] = '';

$glob['dbhost'] = 'localhost';

$glob['dbpassword'] = '';

$glob['dbprefix'] = '';

$glob['dbusername'] = '';

$glob['installed'] = '1';

$glob['rootDir'] = '/storage2/garrett/public_html/store/';

$glob['rootRel'] = '';

$glob['storeURL'] = 'http://store.void-media.net/';

?>

Any help would be greatly appreciated. Thank you,

--Garrett

Link to comment
Share on other sites

Guest cyberdesigner

Check the bottom of the following page.

/storage2/garrett/public_html/store/includes/global.inc.php

You will probably find that there are spaces after the final php closing tag i.e. ?>

If there are any delete them, that should be the very last thing on the page.

I had this problem all over the place, just a hint but if you do to, always edit the first url in the error message.

Hope this helps

Rob.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...