Can not start the site after installation Aimeos.

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
netman2002
Posts: 15
Joined: 17 Jan 2018, 09:05

Can not start the site after installation Aimeos.

Post by netman2002 » 17 Jan 2018, 09:21

After instalation the Aimeos I try to start it: http://test.inf-tec.ru/list - error occured
This error occurs when processing the 'aimeos/ext/ai-client-html/client/i18n/en' file

Extraction from the log file:

[2018-01-17 08:58:11] local.ERROR: unpack(): Type V: not enough input, need 4, have 0 {"userId":3,"email":"a@a.ru","exception":"[object] (ErrorException(code: 0): unpack(): Type V: not enough input, need 4, have 0 at /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/ext/ai-gettext/lib/custom/src/MW/Translation/File/Mo.php:189)
[stacktrace]
#0 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, 'unpack(): Type ...', '/home/SHERLAND_...', 189, Array)
#1 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/ext/ai-gettext/lib/custom/src/MW/Translation/File/Mo.php(189): unpack('V939524098', '')
#2 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/ext/ai-gettext/lib/custom/src/MW/Translation/File/Mo.php(104): Aimeos\\MW\\Translation\\File\\Mo->readIntArray('V', 939524098)
#3 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/ext/ai-gettext/lib/custom/src/MW/Translation/File/Mo.php(47): Aimeos\\MW\\Translation\\File\\Mo->extract()
#4 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/ext/ai-gettext/lib/custom/src/MW/Translation/Gettext.php(134): Aimeos\\MW\\Translation\\File\\Mo->__construct('/home/SHERLAND_...')
#5 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/ext/ai-gettext/lib/custom/src/MW/Translation/Gettext.php(54): Aimeos\\MW\\Translation\\Gettext->getTranslations('admin')
#6 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/aimeos/aimeos-core/lib/mwlib/src/MW/View/Helper/Translate/Standard.php(57): Aimeos\\MW\\Translation\\Gettext->dt('admin', 'Dashboard')
#7 [internal function]: Aimeos\\MW\\View\\Helper\\Translate\\Standard->transform('admin', 'Dashboard')
#8 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/aimeos/aimeos-core/lib/mwlib/src/MW/View/Standard.php(88): call_user_func_array(Array, Array)
#9 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/ext/ai-admin-jqadm/admin/jqadm/templates/dashboard/list-default.php(15): Aimeos\\MW\\View\\Standard->__call('translate', Array)
#10 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/aimeos/aimeos-core/lib/mwlib/src/MW/View/Standard.php(251): include('/home/SHERLAND_...')
#11 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/aimeos/aimeos-core/lib/mwlib/src/MW/View/Standard.php(233): Aimeos\\MW\\View\\Standard->includeFile('/home/SHERLAND_...')
#12 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/ext/ai-admin-jqadm/admin/jqadm/src/Admin/JQAdm/Dashboard/Standard.php(148): Aimeos\\MW\\View\\Standard->render('dashboard/list-...')
#13 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/ext/ai-admin-jqadm/admin/jqadm/src/Admin/JQAdm/Common/Decorator/Base.php(142): Aimeos\\Admin\\JQAdm\\Dashboard\\Standard->search()
#14 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/aimeos/aimeos-laravel/src/Aimeos/Shop/Controller/JqadmController.php(235): Aimeos\\Admin\\JQAdm\\Common\\Decorator\\Base->search()
#15 [internal function]: Aimeos\\Shop\\Controller\\JqadmController->searchAction('default', 'dashboard')
#16 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): call_user_func_array(Array, Array)
#17 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('searchAction', Array)
#18 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Routing/Route.php(212): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(Aimeos\\Shop\\Controller\\JqadmController), 'searchAction')
#19 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Routing/Route.php(169): Illuminate\\Routing\\Route->runController()
#20 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Routing/Router.php(658): Illuminate\\Routing\\Route->run()
#21 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(30): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#22 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(41): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#23 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#24 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#25 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(43): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#27 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(67): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#30 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#31 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#35 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#36 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#37 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#39 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(59): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(102): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Routing/Router.php(660): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Routing/Router.php(635): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Routing/Router.php(601): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Routing/Router.php(590): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(176): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(30): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/fideloper/proxy/src/TrustProxies.php(56): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Fideloper\\Proxy\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(30): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#54 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(30): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#57 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#60 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#61 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#62 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(46): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(102): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#66 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(151): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#67 /home/SHERLAND_AC/web/test.inf-tec.ru/laravel/aimeos/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(116): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#68 /home/SHERLAND_AC/web/test.inf-tec.ru/public_html/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#69 {main}
"}

How to fix this error?

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Can not start the site after installation Aimeos.

Post by aimeos » 17 Jan 2018, 09:47

Seems like there was a bit error while downloading the files. Remove "aimeos/ext/ai-client-html" and run "composer update" again.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

netman2002
Posts: 15
Joined: 17 Jan 2018, 09:05

Re: Can not start the site after installation Aimeos.

Post by netman2002 » 17 Jan 2018, 10:09

I did it.

aimeos# composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 3 updates, 0 removals
- Updating ramsey/uuid (3.7.1 => 3.7.2): Downloading (100%)
- Updating laravel/framework (v5.5.28 => v5.5.31): Downloading (100%)
- Updating aimeos/ai-admin-jqadm (2017.10.15 => 2017.10.16): Downloading (100%)
- Installing aimeos/ai-client-html (2017.10.6): Loading from cache
Writing lock file
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover
Discovered Package: fideloper/proxy
Discovered Package: laravel/tinker
Discovered Package: aimeos/aimeos-laravel
Package manifest generated successfully.
> @php artisan vendor:publish --tag=public --force
Copied Directory [/vendor/aimeos/aimeos-laravel/public] To [/public/packages/aimeos/shop]
Publishing complete.

I am confused by the following: - Installing aimeos/ai-client-html (2017.10.6): Loading from cache

Nothing has changed, error is still occured.

netman2002
Posts: 15
Joined: 17 Jan 2018, 09:05

Re: Can not start the site after installation Aimeos.

Post by netman2002 » 17 Jan 2018, 11:52

Let's go deeper...
File Mo.php contain a Mo class. I use the dd (dump and die) function in different places of Mo.php file.
Read the code below and read comments (dd function output)...

class Mo
{
const MAGIC1 = -1794895138;
const MAGIC2 = -569244523;
const MAGIC3 = 2500072158;

private $str;
private $strlen;
private $pos = 0;
private $messages = [];


/**
* Initializes the .mo file reader
*
* @param string $filepath Absolute path to the Gettext .mo file
*/
public function __construct( $filepath )
{
// dd( $filepath ) => .../aimeos/ext/ai-client-html/client/i18n/en
if( ( $str = file_get_contents( $filepath ) ) === false ) {
throw new \Aimeos\MW\Translation\Exception( sprintf( 'Unable to read from file "%1$s"', $filepath ) );
}

$this->str = $str;
$this->strlen = strlen( $str ); // dd( $this->strlen ) => 1497
$this->messages = $this->extract();
}

protected function extract()
{
$magic = $this->readInt( 'V' );

if( ( $magic === self::MAGIC1 ) || ( $magic === self::MAGIC3 ) ) { //to make sure it works for 64-bit platforms
$byteOrder = 'V'; //low endian
} elseif( $magic === ( self::MAGIC2 & 0xFFFFFFFF ) ) {
$byteOrder = 'N'; //big endian
} else {
throw new \Aimeos\MW\Translation\Exception( 'Invalid MO file' );
}
// dd( $byteOrder ) => "V"
$this->readInt( $byteOrder );
$total = $this->readInt( $byteOrder ); //total string count
// dd( $total ) => 469762048
$originals = $this->readInt( $byteOrder ); //offset of original table
// dd( $originals ) => 3019898880
$trans = $this->readInt( $byteOrder ); //offset of translation table
// dd( $trans ) => 486539264

$this->seekto( $originals );
// seekto function try to position the cursor to 3019898880 position, whereas length of string is 1497 ( $this->strlen )
$originalTable = $this->readIntArray( $byteOrder, $total * 2 ); // crash on this step
$this->seekto( $trans );
$translationTable = $this->readIntArray( $byteOrder, $total * 2 );

return $this->extractTable( $originalTable, $translationTable, $total );
}
....

Is 'en' file bad?
Or do I somehow do not properly set up the environment?

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Can not start the site after installation Aimeos.

Post by aimeos » 17 Jan 2018, 23:26

Yes, most propably your "en" file is corrupt. Can you delete ".cache/composer/files/aimeos/" in your home directory so composer fetches the files again?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

netman2002
Posts: 15
Joined: 17 Jan 2018, 09:05

Re: Can not start the site after installation Aimeos.

Post by netman2002 » 18 Jan 2018, 06:23

I was delete this directories:

homedir/.composer/cache/files/aimeos
sitedir/aimeos/ext/ai-client-html

I was run update:

aimeos# composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 2 updates, 0 removals
- Updating aimeos/aimeos-core (2017.10.10 => 2017.10.11): Downloading (100%)
- Updating aimeos/ai-admin-jqadm (2017.10.16 => 2017.10.17): Downloading (100%)
- Installing aimeos/ai-client-html (2017.10.6): Downloading (100%)
Writing lock file
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover
Discovered Package: aimeos/aimeos-laravel
Discovered Package: fideloper/proxy
Discovered Package: laravel/tinker
Package manifest generated successfully.
> @php artisan vendor:publish --tag=public --force
Copied Directory [/vendor/aimeos/aimeos-laravel/public] To [/public/packages/aimeos/shop]
Publishing complete.

Just in case, I cleaned the cache:

aimeos# php artisan cache:clear
Cache cleared successfully.

Problem still exists...

There is a en.zip in attachment. Please, compare 'en' file with your own.
Attachments
en.zip
(924 Bytes) Downloaded 179 times

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Can not start the site after installation Aimeos.

Post by aimeos » 18 Jan 2018, 09:24

The file seems OK. On which hardware/architecture do you want to run Aimeos?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

netman2002
Posts: 15
Joined: 17 Jan 2018, 09:05

Re: Can not start the site after installation Aimeos.

Post by netman2002 » 18 Jan 2018, 10:10

phpinfo: http://test.inf-tec.ru/i45875gfhdyte1256984.php
Also phpinfo in attachment.

aimeos# composer show
aimeos/ai-admin-extadm 2017.10.1 Aimeos ai-admin-extadm extension
aimeos/ai-admin-jqadm 2017.10.17 Aimeos ai-admin-jqadm extension
aimeos/ai-admin-jsonadm 2017.10.5 Aimeos ai-admin-jsonadm extension
aimeos/ai-client-html 2017.10.6 Aimeos ai-client-html extension
aimeos/ai-client-jsonapi 2017.10.3 Aimeos JSON API extension
aimeos/ai-controller-frontend 2017.10.5 Aimeos ai-controller-frontend extension
aimeos/ai-controller-jobs 2017.10.4 Aimeos ai-controller-jobs extension
aimeos/ai-gettext 2017.10.1 Aimeos Gettext extension
aimeos/ai-laravel 2017.10.1 Laravel adapter for Aimeos web shops and e-commerce solutions
aimeos/ai-swiftmailer 2017.10.1 SwiftMailer adapter for Aimeos web shops and e-commerce solutions
aimeos/aimeos-core 2017.10.11 Full-featured e-commerce components for high performance online shops
aimeos/aimeos-laravel 2017.10.3 Full-featured Laravel web shop package and e-commerce solution for high performance shops
composer/installers v1.5.0 A multi-framework Composer library installer
dnoegel/php-xdg-base-dir 0.1 implementation of xdg base directory specification for php
doctrine/annotations v1.4.0 Docblock Annotations Parser
doctrine/cache v1.6.2 Caching library offering an object-oriented API for many cache backends
doctrine/collections v1.4.0 Collections Abstraction library
doctrine/common v2.7.3 Common Library for Doctrine projects
doctrine/dbal v2.5.13 Database Abstraction Layer
doctrine/inflector v1.2.0 Common String Manipulations with regard to casing and singular/plural rules.
doctrine/instantiator 1.0.5 A small, lightweight utility to instantiate objects in PHP without invoking their constructors
doctrine/lexer v1.0.1 Base library for a lexer that can be used in Top-Down, Recursive Descent Parsers.
egulias/email-validator 2.1.3 A library for validating emails against several RFCs
erusev/parsedown 1.6.4 Parser for Markdown.
fideloper/proxy 3.3.4 Set trusted proxies for Laravel
filp/whoops 2.1.14 php error handling for cool kids
fzaninotto/faker v1.7.1 Faker is a PHP library that generates fake data for you.
hamcrest/hamcrest-php v1.2.2 This is the PHP port of Hamcrest Matchers
jakub-onderka/php-console-color 0.1
jakub-onderka/php-console-highlighter v0.3.2
laravel/framework v5.5.31 The Laravel Framework.
laravel/tinker v1.0.3 Powerful REPL for the Laravel framework.
league/flysystem 1.0.41 Filesystem abstraction: Many filesystems, one API.
mockery/mockery 0.9.9 Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framew...
monolog/monolog 1.23.0 Sends your logs to files, sockets, inboxes, databases and various web services
mtdowling/cron-expression v1.2.1 CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due
myclabs/deep-copy 1.7.0 Create deep copies (clones) of your objects
nesbot/carbon 1.22.1 A simple API extension for DateTime.
nikic/php-parser v3.1.3 A PHP parser written in PHP
paragonie/random_compat v2.0.11 PHP 5.x polyfill for random_bytes() and random_int() from PHP 7
phar-io/manifest 1.0.1 Component for reading phar.io manifest information from a PHP Archive (PHAR)
phar-io/version 1.0.1 Library for handling version information and constraints
phpdocumentor/reflection-common 1.0.1 Common reflection classes used by phpdocumentor to reflect the code structure
phpdocumentor/reflection-docblock 4.2.0 With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.
phpdocumentor/type-resolver 0.4.0
phpspec/prophecy 1.7.3 Highly opinionated mocking framework for PHP 5.3+
phpunit/php-code-coverage 5.3.0 Library that provides collection, processing, and rendering functionality for PHP code coverage information.
phpunit/php-file-iterator 1.4.5 FilterIterator implementation that filters files based on a list of suffixes.
phpunit/php-text-template 1.2.1 Simple template engine.
phpunit/php-timer 1.0.9 Utility class for timing
phpunit/php-token-stream 2.0.2 Wrapper around PHP's tokenizer extension.
phpunit/phpunit 6.5.5 The PHP Unit Testing framework.
phpunit/phpunit-mock-objects 5.0.6 Mock Object library for PHPUnit
psr/container 1.0.0 Common Container Interface (PHP FIG PSR-11)
psr/http-message 1.0.1 Common interface for HTTP messages
psr/log 1.0.2 Common interface for logging libraries
psr/simple-cache 1.0.0 Common interfaces for simple caching
psy/psysh v0.8.17 An interactive shell for modern PHP.
ramsey/uuid 3.7.2 Formerly rhumsaa/uuid. A PHP 5.4+ library for generating RFC 4122 version 1, 3, 4, and 5 universally unique identifiers (UUID).
sebastian/code-unit-reverse-lookup 1.0.1 Looks up which function or method a line of code belongs to
sebastian/comparator 2.1.2 Provides the functionality to compare PHP values for equality
sebastian/diff 2.0.1 Diff implementation
sebastian/environment 3.1.0 Provides functionality to handle HHVM/PHP environments
sebastian/exporter 3.1.0 Provides the functionality to export PHP variables for visualization
sebastian/global-state 2.0.0 Snapshotting of global state
sebastian/object-enumerator 3.0.3 Traverses array structures and object graphs to enumerate all referenced objects
sebastian/object-reflector 1.1.1 Allows reflection of object attributes, including inherited and non-public ones
sebastian/recursion-context 3.0.0 Provides functionality to recursively process PHP variables
sebastian/resource-operations 1.0.0 Provides a list of PHP built-in functions that operate on resources
sebastian/version 2.0.1 Library that helps with managing the version number of Git-hosted PHP projects
swiftmailer/swiftmailer v6.0.2 Swiftmailer, free feature-rich PHP mailer
symfony/console v3.4.3 Symfony Console Component
symfony/css-selector v3.4.3 Symfony CssSelector Component
symfony/debug v3.4.3 Symfony Debug Component
symfony/event-dispatcher v3.4.3 Symfony EventDispatcher Component
symfony/finder v3.4.3 Symfony Finder Component
symfony/http-foundation v3.4.3 Symfony HttpFoundation Component
symfony/http-kernel v3.4.3 Symfony HttpKernel Component
symfony/polyfill-mbstring v1.6.0 Symfony polyfill for the Mbstring extension
symfony/polyfill-php70 v1.6.0 Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions
symfony/process v3.4.3 Symfony Process Component
symfony/psr-http-message-bridge v1.0.2 PSR HTTP message bridge
symfony/routing v3.4.3 Symfony Routing Component
symfony/translation v3.4.3 Symfony Translation Component
symfony/var-dumper v3.4.3 Symfony mechanism for exploring and dumping PHP variables
theseer/tokenizer 1.1.0 A small library for converting tokenized PHP source code into XML and potentially other formats
tijsverkoyen/css-to-inline-styles 2.2.1 CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.
vlucas/phpdotenv v2.4.0 Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.
webmozart/assert 1.2.0 Assertions to validate method input/output with nice error messages.
zendframework/zend-diactoros 1.7.0 PSR HTTP Message implementations

Is this information enough?
Attachments
phpinfo.zip
(24.18 KiB) Downloaded 162 times

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Can not start the site after installation Aimeos.

Post by aimeos » 18 Jan 2018, 13:21

Everything looks fine and the x86_64 architecture is the most widely used one.
The only thing you can try is restart from scratch: Delete the whole Laravel application, remove everything related to composer with "composer clearcache". Then start again.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

netman2002
Posts: 15
Joined: 17 Jan 2018, 09:05

Re: Can not start the site after installation Aimeos.

Post by netman2002 » 19 Jan 2018, 07:20

Do I need to completely uninstall the composer and related cache data?
Or only I need is to clear full cache of composer?

Post Reply