You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2023-04-19 14:54:27

jonatassilva5
Member
Registered: 2022-12-02
Posts: 21

php bin/console glpi:migration:timestamps" to migrate them.

Hello, my glpi keeps showing this message, I can't solve this problem, when I run the command in cmd, the error below appears:

"C: Xampp\php>php path/to/glpi/bin/console glpi:migration timestamps
Cannot load Zend - OPcache it was already loaded
Could not open input file: path/to/glpi/bin/console"

Can someone help me?

Last edited by jonatassilva5 (2023-04-19 15:00:48)

Offline

#2 2023-04-20 09:08:25

tofou
Member
From: Saint-Lô
Registered: 2007-02-26
Posts: 96

Re: php bin/console glpi:migration:timestamps" to migrate them.

Hello,
Could it be the missing '-f' between php and the file to execute ?...
It would give :
"C: Xampp\php>php -f path/to/glpi/bin/console glpi:migration timestamps


GLPI : 10.0.16
OS : RH9 + Apache
php : 8.3.11,
MariaDB : 10.11.9

Offline

#3 2023-04-24 14:11:10

jonatassilva5
Member
Registered: 2022-12-02
Posts: 21

Re: php bin/console glpi:migration:timestamps" to migrate them.

Hello, I put the "-f" and the following message still appears:

C:\xampp\php>php -f path/to/glpi/bin/console glpi:migration timestamps
Cannot load Zend OPcache - it was already loaded
Could not open input file: path/to/glpi/bin/console

is there any solution?

Offline

#4 2023-04-26 12:05:07

Kaya84
Member
Registered: 2019-06-13
Posts: 217

Re: php bin/console glpi:migration:timestamps" to migrate them.

jonatassilva5 wrote:

Hello, my glpi keeps showing this message, I can't solve this problem, when I run the command in cmd, the error below appears:

"C: Xampp\php>php path/to/glpi/bin/console glpi:migration timestamps
Cannot load Zend - OPcache it was already loaded
Could not open input file: path/to/glpi/bin/console"

Can someone help me?

You are under windows, so change / with \ (or \\ for escape)
ANd OBVOIUS, path/to/glpi stand for the directory where glpi is.
in your case:
c:\\xampp\\htdocs\\glpi.....OR WHATEVER

Offline

#5 2023-04-26 22:05:38

jonatassilva5
Member
Registered: 2022-12-02
Posts: 21

Re: php bin/console glpi:migration:timestamps" to migrate them.

I tried to do it these ways, but they all failed.


C:\xampp>cd php path\to\glpi\bin\console glpi:migration timestamps
O sistema não pode encontrar o caminho especificado.

C:\xampp\htdocs\helpdesk\bin>console glpi:migration timestamps
'console' não é reconhecido como um comando interno
ou externo, um programa operável ou um arquivo em lotes.

C:\xampp\htdocs\helpdesk\bin>glpi:migration timestamps
A sintaxe do nome do arquivo, do nome do diretório ou do rótulo do volume está i
ncorreta.

Offline

#6 2023-05-02 13:35:52

jonatassilva5
Member
Registered: 2022-12-02
Posts: 21

Re: php bin/console glpi:migration:timestamps" to migrate them.

can you help me?

Offline

#7 2023-05-02 21:41:39

cedric-anne
Administrator
Registered: 2018-07-02
Posts: 85

Re: php bin/console glpi:migration:timestamps" to migrate them.

php C:\xampp\htdocs\helpdesk\bin\console glpi:migration:timestamps

Offline

Board footer

Powered by FluxBB