1
Elena123
Installing problem: headers already sent by
  • 2005/1/10 10:54

  • Elena123

  • Just popping in

  • Posts: 27

  • Since: 2003/6/24


I am installing XOOPS version 9 but at the beginning in the installing index page I have this error:

?> ?> $text; } function &oopsAddSlashes($text) { return $this->addSlashes($text); } function &oopsHtmlSpecialChars($text) { return $this->htmlSpecialChars($text); } function &oopsNl2Br($text) { return $this->nl2br($text); } } ?>$text); } } ?> ?>ted."); define('_INSTALL_L128', 'Choose language to be used for the installation process'); define('_INSTALL_L200', 'Reload'); define('_INSTALL_CHARSET','ISO-8859-1'); ?>'); ?>>
Warning: Cannot modify header information - headers already sent by (output started at /home/vhosts/elenasdigimon.net/var/www/html/bladerdex/install/passwd.php:11) in /home/vhosts/elenasdigimon.net/var/www/html/bladerdex/install/index.php on line 99


the normal installing page

and this:

"n"; return $content; } ?> ?> return $dirlist; } /* * gets list of name of files within a directory */ function getImageFileList($dirname) { $filelist = array(); if (is_dir($dirname) && $handle = opendir($dirname)) { while (false !== ($file = readdir($handle))) { if (!preg_match("/^[.]{1,2}$/",$file) && preg_match("/[.gif|.jpg|.png]$/i",$file) ) { $filelist[$file]=$file; } } closedir($handle); asort($filelist); reset($filelist); } return $filelist; } function &xoops_module_gettemplate($dirname, $template, $block=false) { if ($block) { $path = XOOPS_ROOT_PATH.'/modules/'.$dirname.'/templates/blocks/'.$template; } else { $path = XOOPS_ROOT_PATH.'/modules/'.$dirname.'/templates/'.$template; } if (!file_exists($path)) { return false; } else { $lines = file($path); } if (!$lines) { return false; } $ret = ''; $count = count($lines); for ($i = 0; $i < $count; $i++) { $ret .= str_replace("n", "rn", str_replace("rn", "n", $lines[$i])); } return $ret; } function check_language($language){ if ( file_exists('../modules/system/language/'.$language.'/modinfo.php') ) { return $language; } else { return 'english'; } } ?> } else { return 'english'; } } ?> ?>


I put a screenshot so you could see:
Resized Image


Could please someone help me?

2
Mithrandir
Re: Installing problem: headers already sent by

Looks like a collection of corrupted files perhaps caused by an interrupted upload. Try re-uploading the files

3
irmtfan
Re: Installing problem: headers already sent by
  • 2005/1/10 11:14

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


check install/passwd.php with a php editor for Empty lines after ?> and remove if you find any
also look at this faq:
https://xoops.org/modules/smartfaq/faq.php?faqid=338

4
Elena123
Re: Installing problem: headers already sent by
  • 2005/1/10 11:17

  • Elena123

  • Just popping in

  • Posts: 27

  • Since: 2003/6/24


Thank you very much I'll try all the solutios!

Thank you again ^__^!

5
Elena123
Re: Installing problem: headers already sent by
  • 2005/1/10 12:34

  • Elena123

  • Just popping in

  • Posts: 27

  • Since: 2003/6/24


It works ^__^ thanks a lot!

Login

Who's Online

298 user(s) are online (252 user(s) are browsing Support Forums)


Members: 0


Guests: 298


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits