Ticket #428 (closed defect: worksforme)

Opened 8 months ago

Last modified 6 months 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@…> 8 months ago.

Change History

Changed 8 months ago by Neve <viperrrrr@…>

Changed 8 months ago by mclight77

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

Changed 6 months ago by PavelVinogradov

  • owner changed from DmitryChemerik to PavelVinogradov

Changed 6 months ago by DmitryChemerik

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

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

Changed 6 months ago by PavelVinogradov

  • status changed from new to closed
  • resolution set to worksforme

Подтверждаю, воспроизвести не удается. Возможно исправили где-то по пути от a2 до b1.

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

Author


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


Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.