Replies: 2 comments
-
@SJKimpton, the error message you’re seeing is because the PHP language server has not been integrated into Phoenix Code yet. It’s on our to-do list, but we likely won’t be able to implement it this year. In the meantime, if you’d like to hide the error message, you can add the following line to your preferences file: |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for this workround
From: Pluto ***@***.***>
Sent: 18 September 2025 13:13
To: phcode-dev/phoenix ***@***.***>
Cc: SJKimpton ***@***.***>; Mention ***@***.***>
Subject: Re: [phcode-dev/phoenix] session_start before DOCTYPE (Discussion #2408)
@SJKimpton <https://github.com/SJKimpton> , the error message you’re seeing is because the PHP language server has not been integrated into Phoenix Code yet. It’s on our to-do list, but we likely won’t be able to implement it this year. In the meantime, if you’d like to hide the error message, you can add the following line to your preferences file: "HTMLLint.disabled": true,. Read this docs <https://docs.phcode.dev/docs/editing-text#editing-preferences> if you need any help in editing the preferences.
—
Reply to this email directly, view it on GitHub <#2408 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/A6HQJZVVOFQLFBDPSTIHYXD3TKOWDAVCNFSM6AAAAACG3HAQFGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTINBUGI2TCMA> .
You are receiving this because you were mentioned. <https://github.com/notifications/beacon/A6HQJZVSNPCXWTS6NPIGIMD3TKOWDA5CNFSM6AAAAACG3HAQFGWGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQA3RQA4.gif> Message ID: ***@***.*** ***@***.***> >
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm new to Phoenix code and struggling a bit to adjust.
My first problem when adapting old code is that
In PHP session_start() must procede any code (including DOCTYPE html sent to the client. When I do this, I get
failed to tokenize "<!DOCTYPE ..." and this stops further checking of my code.
If this is a bug, I don't know how to report it. If it's not a bug, what can I do?
Beta Was this translation helpful? Give feedback.
All reactions