Ticket #428 (new defect)

Opened 2 months ago

Last modified 8 hours ago

Если в sams2.conf добавить пустую строку с "#", перестает работать web интерфейс

Reported by: Neve <viperrrrr@…> Owned by: PavelVinogradov
Priority: trivial Milestone: sams-2.0
Component: web Version: 2.0.0-alpha2
Keywords: Cc:

Description

gentoo10

sams2.0.0-a2

если в sams2.conf добавить пустую строку с "#" то появляются варнинги если обращаться к main.php, то ругается так и не рисует ничего

# Warning: Cannot modify header information - headers already sent by (output started at /usr/local/share/sams2/config.php:2) in /usr/local/share/sams2/main.php on line 206

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/share/sams2/config.php:2) in /usr/local/share/sams2/main.php on line 207

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/share/sams2/config.php:2) in /usr/local/share/sams2/main.php on line 208

а если к index.html

то в фрейме меню

# Warning: Cannot modify header information - headers already sent by (output started at /usr/local/share/sams2/config.php:2) in /usr/local/share/sams2/lframe.php on line 63

и в основном фрейме

# Warning: Cannot modify header information - headers already sent by (output started at /usr/local/share/sams2/config.php:2) in /usr/local/share/sams2/main.php on line 206

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/share/sams2/config.php:2) in /usr/local/share/sams2/main.php on line 207

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/share/sams2/config.php:2) in /usr/local/share/sams2/main.php on line 208

прилагаю файл config.php

Attachments

config.php Download (54 bytes) - added by Neve <viperrrrr@…> 2 months ago.

Change History

Changed 2 months ago by Neve <viperrrrr@…>

Changed 2 months ago by mclight77

  • summary changed from После попытки изменения расоположения sams2.conf ругается to Если в sams2.conf добавить пустую строку с "#", перестает работать web интерфейс

Changed 9 hours ago by PavelVinogradov

  • owner changed from DmitryChemerik to PavelVinogradov

Changed 8 hours ago by DmitryChemerik

Если в sams2.conf добавить пустую строку с "#", перестает работать web интерфейс

повторить это не смог

Add/Change #428 (Если в sams2.conf добавить пустую строку с "#", перестает работать web интерфейс)

Author


E-mail address and user name can be saved in the Preferences.


Action
as new
 
Note: See TracTickets for help on using tickets.