menatwork / syncCto

Contao Extension :: Synchronize multiple contao installations with each other
https://packagist.org/packages/menatwork/synccto
25 stars 14 forks source link

Composer installs contao-legacy/syncto but not menatwork/syncto #279

Open JLBA opened 7 years ago

JLBA commented 7 years ago

Hi everyone, On Contao 3.5.18 installed from scratch on a hared host (gandi.net) with Composer. Search for syncCto.

  1. If I choose to install menatwork/synccto 3.2.4 (which is compatible from >= 3.2 to <4.0.0) I only get "internal server 500 error".
  2. If I choose contao-legacy/synccto 2.6.2.9008, the installation gets fine. But indicates that it is deprecated and should be replaced by menatwork/synccto 3.2.4
  3. If I try to upgrade, go back to point 1 ;-) What's the wrong ? Thanks.
stefanheimes commented 7 years ago

I think the runtime or memory limit could be the problem. But this is part of the composer.

JLBA commented 6 years ago

Hi, I get this issue again. On my Mac with Mamp pro 4 : a website under Contao 3.5.8, Composer and menatwork/syncto 3.2.4 running well ;

On a shared hosting at gandi.net : a fresh Contao 3.5.33 and Composer.

  1. Composer installs contao-legacy/synccto 2.5.6.9003 ; it works but not compatible with my local installation.
  2. When I ask Composer to install menatwork/synccto 3.2.4., after a long time, I get a 503 error from the server.
  3. I copy by ftp all the dependencies one by one from local /system/modules/ to shared /system/modules/. After each, I launch install.php to finish the installation. The website works. Then I add synccto and launch install.php and then I got a blank page with this message : Fatal error: Class 'ContaoCommunityAlliance\Contao\EventDispatcher\Event\CreateEventDispatcherEvent' not found in /srv/data/web/vhosts/lgm.lestock.net/htdocs/system/modules/syncCto/config/config.php on line 72 If I delete /syncto/, the website works again.

What the wrong ? How can I install syncCto on my gandi.net shared host ? Thanks.

amenk commented 4 years ago

@JLBA do you use the same PHP version locally and on your shared host? Did you commit the composer.lock file?