Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [Symfony]Warning: SessionHandler::read()
miccom
post
Post #1





Grupa: Zarejestrowani
Postów: 493
Pomógł: 8
Dołączył: 7.07.2007
Skąd: Tychy

Ostrzeżenie: (0%)
-----


Cześć.

Nie wiem dlaczego- kiedyś strona działała a teraz nie działa.
Otrzymuję komunikat :
Warning: SessionHandler::read(): open(/home/my_catalog/.tmp//sess_6516bfb5991c698601634c7cbfb29fb5, O_RDWR) failed: No such file or directory (2)


Co mam zrobić aby usunąć ten bląd?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
miccom
post
Post #2





Grupa: Zarejestrowani
Postów: 493
Pomógł: 8
Dołączył: 7.07.2007
Skąd: Tychy

Ostrzeżenie: (0%)
-----


Tak, wyczyściłem.

Przy czyszczeniu cache konsola wyrzuciła mi taki błąd:

In AnnotationException.php line 39:

[Semantical Error] The annotation "@Doctrine\ORM\Mapping\id" in property Ap
p\Entity\Grille::$id was never imported. Did you maybe forget to add a "use
" statement for this annotation?

Mój plik entity/Grille
  1. <?php
  2.  
  3. namespace App\Entity;
  4. use App\Repository\GrilleRepository;
  5. use Doctrine\ORM\Mapping as ORM;
  6.  
  7. /**
  8.  * @ORM\Entity(repositoryClass=GrilleRepository::class)
  9.  */
  10. class Grille
  11. {
  12. /**
  13.   * @ORM\id()
  14.   * @ORM\GeneratedValue()
  15.   * @ORM\Column(type="integer")
  16.   */
  17. private $id;
  18.  
  19.  
  20. /**
  21.   * @ORM\Column(type="integer")
  22.   */
  23. private $uploaded_at;
  24.  
  25. /**
  26.   * @ORM\Column(type="integer")
  27.   */
  28. private $user_id;
  29.  
  30.  
  31. ... itd ....
  32.  
  33.  


Ten post edytował miccom 8.02.2022, 22:39:45
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 10.10.2025 - 13:47