Loading...
 
Skip to main content

General, Navigation; Enabling site close option return a WSoD (error 500) if you are not logged as admin

Status
Open
Subject
General, Navigation; Enabling site close option return a WSoD (error 500) if you are not logged as admin
Version
24.x
Category
  • Regression
Feature
Administration
Resolution status
New
Submitted by
Bernard Sfez / Tiki Specialist
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

On a Tiki24, when I enable admin=>Genral=>Navigation=>Close site only if I'm logged as admin I can see the site. Anonymous trying to reach the site get a WSoD.

This is the error in my PHP log.
I can't reproduce on a show instance.

Copy to clipboard
Oct 12 20:23:41 server001 php: PHP Fatal error: Uncaught Error: Call to undefined function getcookie() in /home/tsaharoniki/public_html/lib/tikiaccesslib.php:362 Oct 12 20:23:41 server001 php: Stack trace: Oct 12 20:23:41 server001 php: #0 /home/tsaharoniki/public_html/lib/tikiaccesslib.php(312): TikiAccessLib->retrieveTicketFromCookie() Oct 12 20:23:41 server001 php: #1 /home/tsaharoniki/public_html/lib/tikiaccesslib.php(1507): TikiAccessLib->setTicket() Oct 12 20:23:41 server001 php: #2 /home/tsaharoniki/public_html/lib/setup/site_closed.php(19): TikiAccessLib->showSiteClosed() Oct 12 20:23:41 server001 php: #3 /home/tsaharoniki/public_html/tiki-setup.php(88): require_once('/home/tsaharoni...') Oct 12 20:23:41 server001 php: #4 /home/tsaharoniki/public_html/tiki-register.php(24): require_once('/home/tsaharoni...') Oct 12 20:23:41 server001 php: #5 {main} Oct 12 20:23:41 server001 php: thrown in /home/tsaharoniki/public_html/lib/tikiaccesslib.php on line 362
Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8203
Created
Wednesday 12 October, 2022 17:28:13 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Wednesday 12 October, 2022 17:49:33 UTC


Show PHP error messages