After installation, all links are broken front and back end

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!
waelm70
Posts: 2
Joined: 24 Apr 2022, 09:32

After installation, all links are broken front and back end

Post by waelm70 » 24 Apr 2022, 10:21

Hello,
Please need help about what i might be missing during installation, trying for 1 week but always same issue, all links are broken.
Installed on online server:

http://vps-6df594a6.vps.ovh.net/myshop/public/

.env File:
APP_URL=http://vps-6df594a6.vps.ovh.net/myshop/pubilc/
ASSET_URL=http://vps-6df594a6.vps.ovh.net/myshop/pubilc/

Laravel: 9.9.0
PHP : 8.1.4
Server: Linux, Apache2, Debian 11

Aimeos version: installed from:
https://github.com/aimeos/aimeos

wget https://getcomposer.org/download/latest ... poser.phar -O composer
php composer create-project aimeos/aimeos myshop


I tried all solutions on forums but didn't find the right one.

Thank you in advance for your help

Here below the "composer show" maybe it's usefull:

aimeos/ai-admin-jqadm 2022.04.3 Aimeos VueJS+Bootstrap admin backend
aimeos/ai-admin-jsonadm 2022.04.1 Aimeos JSON admin API for backend
aimeos/ai-client-html 2022.04.4 Aimeos standard HTML frontend
aimeos/ai-client-jsonapi 2022.04.1 Aimeos frontend JSON REST API
aimeos/ai-cms-grapesjs 2022.04.2 Aimeos GrapesJS CMS extension
aimeos/ai-controller-frontend 2022.04.3 Aimeos business controller logic for frontend
aimeos/ai-controller-jobs 2022.04.3 Aimeos job controllers for long running tasks
aimeos/ai-laravel 2022.04.2 Laravel adapter for Aimeos e-commerce integration
aimeos/aimeos-base 2022.04.1 Aimeos base layer for abstracting from host enviro...
aimeos/aimeos-core 2022.04.4 Full-featured e-commerce components for high perfo...
aimeos/aimeos-laravel 2022.04.2 Professional, full-featured and high performance L...
aimeos/macro 1.0.0 Dynamically extend objects by custom methods
aimeos/map 3.0.1 Easy and elegant handling of PHP arrays as array-l...
aimeos/upscheme 0.8.1 Database schema upgrades made easy
brick/math 0.9.3 Arbitrary-precision arithmetic library
dflydev/dot-access-data v3.0.1 Given a deep data structure, access data by dot no...
doctrine/cache 2.1.1 PHP Doctrine Cache library is a popular cache impl...
doctrine/dbal 3.3.5 Powerful PHP database abstraction layer (DBAL) wit...
doctrine/deprecations v0.5.3 A small layer on top of trigger_error(E_USER_DEPRE...
doctrine/event-manager 1.1.1 The Doctrine Event Manager is a simple PHP event s...
doctrine/inflector 2.0.4 PHP Doctrine Inflector is a small library that can...
doctrine/instantiator 1.4.1 A small, lightweight utility to instantiate object...
doctrine/lexer 1.2.3 PHP Doctrine Lexer parser library that can be used...
dragonmantank/cron-expression v3.3.1 CRON for PHP: Calculate the next or previous run d...
egulias/email-validator 3.1.2 A library for validating emails against several RFCs
enshrined/svg-sanitize 0.15.4 An SVG sanitizer for PHP
facade/ignition-contracts 1.0.2 Solution contracts for Ignition
fakerphp/faker v1.19.0 Faker is a PHP library that generates fake data fo...
filp/whoops 2.14.5 php error handling for cool kids
fruitcake/php-cors v1.2.0 Cross-origin resource sharing library for the Symf...
graham-campbell/result-type v1.0.4 An Implementation Of The Result Type
guzzlehttp/guzzle 7.4.2 Guzzle is a PHP HTTP client library
guzzlehttp/promises 1.5.1 Guzzle promises library
guzzlehttp/psr7 2.2.1 PSR-7 message implementation that also provides co...
hamcrest/hamcrest-php v2.0.1 This is the PHP port of Hamcrest Matchers
laminas/laminas-diactoros 2.9.2 PSR HTTP Message implementations
laravel/breeze v1.9.0 Minimal Laravel authentication scaffolding with Bl...
laravel/framework v9.9.0 The Laravel Framework.
laravel/sail v1.13.10 Docker files for running a basic Laravel application.
laravel/sanctum v2.15.1 Laravel Sanctum provides a featherweight authentic...
laravel/serializable-closure v1.1.1 Laravel Serializable Closure provides an easy and ...
laravel/tinker v2.7.2 Powerful REPL for the Laravel framework.
league/commonmark 2.3.0 Highly-extensible PHP Markdown parser which fully ...
league/config v1.1.1 Define configuration arrays with strict schemas an...
league/flysystem 3.0.17 File storage abstraction for PHP
league/mime-type-detection 1.11.0 Mime-type detection for Flysystem
mockery/mockery 1.5.0 Mockery is a simple yet flexible PHP mock object f...
monolog/monolog 2.5.0 Sends your logs to files, sockets, inboxes, databa...
myclabs/deep-copy 1.11.0 Create deep copies (clones) of your objects
nesbot/carbon 2.57.0 An API extension for DateTime that supports 281 di...
nette/schema v1.2.2 📐 Nette Schema: validating data structures agai...
nette/utils v3.2.7 🛠 Nette Utils: lightweight utilities for strin...
nikic/php-parser v4.13.2 A PHP parser written in PHP
nunomaduro/collision v6.2.0 Cli error handling for console/command-line PHP ap...
nyholm/psr7 1.5.0 A fast PHP7 implementation of PSR-7
phar-io/manifest 2.0.3 Component for reading phar.io manifest information...
phar-io/version 3.2.1 Library for handling version information and const...
php-http/message-factory v1.0.2 Factory interfaces for PSR-7 HTTP Message
phpdocumentor/reflection-common 2.2.0 Common reflection classes used by phpdocumentor to...
phpdocumentor/reflection-docblock 5.3.0 With this component, a library can provide support...
phpdocumentor/type-resolver 1.6.1 A PSR-5 based resolver of Class names, Types and S...
phpoption/phpoption 1.8.1 Option Type for PHP
phpspec/prophecy v1.15.0 Highly opinionated mocking framework for PHP 5.3+
phpunit/php-code-coverage 9.2.15 Library that provides collection, processing, and ...
phpunit/php-file-iterator 3.0.6 FilterIterator implementation that filters files b...
phpunit/php-invoker 3.1.1 Invoke callables with a timeout
phpunit/php-text-template 2.0.4 Simple template engine.
phpunit/php-timer 5.0.3 Utility class for timing
phpunit/phpunit 9.5.20 The PHP Unit Testing framework.
psr/cache 3.0.0 Common interface for caching libraries
psr/container 2.0.2 Common Container Interface (PHP FIG PSR-11)
psr/event-dispatcher 1.0.0 Standard interfaces for event handling.
psr/http-client 1.0.1 Common interface for HTTP clients
psr/http-factory 1.0.1 Common interfaces for PSR-7 HTTP message factories
psr/http-message 1.0.1 Common interface for HTTP messages
psr/log 3.0.0 Common interface for logging libraries
psr/simple-cache 3.0.0 Common interfaces for simple caching
psy/psysh v0.11.2 An interactive shell for modern PHP.
ralouphie/getallheaders 3.0.3 A polyfill for getallheaders.
ramsey/collection 1.2.2 A PHP library for representing and manipulating co...
ramsey/uuid 4.3.1 A PHP library for generating and working with univ...
sebastian/cli-parser 1.0.1 Library for parsing CLI options
sebastian/code-unit 1.0.8 Collection of value objects that represent the PHP...
sebastian/code-unit-reverse-lookup 2.0.3 Looks up which function or method a line of code b...
sebastian/comparator 4.0.6 Provides the functionality to compare PHP values f...
sebastian/complexity 2.0.2 Library for calculating the complexity of PHP code...
sebastian/diff 4.0.4 Diff implementation
sebastian/environment 5.1.4 Provides functionality to handle HHVM/PHP environm...
sebastian/exporter 4.0.4 Provides the functionality to export PHP variables...
sebastian/global-state 5.0.5 Snapshotting of global state
sebastian/lines-of-code 1.0.3 Library for counting the lines of code in PHP sour...
sebastian/object-enumerator 4.0.4 Traverses array structures and object graphs to en...
sebastian/object-reflector 2.0.4 Allows reflection of object attributes, including ...
sebastian/recursion-context 4.0.4 Provides functionality to recursively process PHP ...
sebastian/resource-operations 3.0.3 Provides a list of PHP built-in functions that ope...
sebastian/type 3.0.0 Collection of value objects that represent the typ...
sebastian/version 3.0.2 Library that helps with managing the version numbe...
spatie/backtrace 1.2.1 A better backtrace
spatie/flare-client-php 1.1.0 Send PHP errors to Flare
spatie/ignition 1.2.9 A beautiful error page for PHP applications.
spatie/laravel-ignition 1.2.2 A beautiful error page for Laravel applications.
symfony/console v6.0.7 Eases the creation of beautiful and testable comma...
symfony/css-selector v6.0.3 Converts CSS selectors to XPath expressions
symfony/deprecation-contracts v3.0.1 A generic function and convention to trigger depre...
symfony/error-handler v6.0.7 Provides tools to manage errors and ease debugging...
symfony/event-dispatcher v6.0.3 Provides tools that allow your application compone...
symfony/event-dispatcher-contracts v3.0.1 Generic abstractions related to dispatching event
symfony/finder v6.0.3 Finds files and directories via an intuitive fluen...
symfony/http-foundation v6.0.7 Defines an object-oriented layer for the HTTP spec...
symfony/http-kernel v6.0.7 Provides a structured process for converting a Req...
symfony/mailer v6.0.7 Helps sending emails
symfony/mime v6.0.7 Allows manipulating MIME messages
symfony/polyfill-ctype v1.25.0 Symfony polyfill for ctype functions
symfony/polyfill-intl-grapheme v1.25.0 Symfony polyfill for intl's grapheme_* functions
symfony/polyfill-intl-idn v1.25.0 Symfony polyfill for intl's idn_to_ascii and idn_t...
symfony/polyfill-intl-normalizer v1.25.0 Symfony polyfill for intl's Normalizer class and r...
symfony/polyfill-mbstring v1.25.0 Symfony polyfill for the Mbstring extension
symfony/polyfill-php72 v1.25.0 Symfony polyfill backporting some PHP 7.2+ feature...
symfony/polyfill-php80 v1.25.0 Symfony polyfill backporting some PHP 8.0+ feature...
symfony/polyfill-php81 v1.25.0 Symfony polyfill backporting some PHP 8.1+ feature...
symfony/process v6.0.7 Executes commands in sub-processes
symfony/psr-http-message-bridge v2.1.2 PSR HTTP message bridge
symfony/routing v6.0.5 Maps an HTTP request to a set of configuration var...
symfony/service-contracts v3.0.1 Generic abstractions related to writing services
symfony/string v6.0.3 Provides an object-oriented API to strings and dea...
symfony/translation v6.0.7 Provides tools to internationalize your application
symfony/translation-contracts v3.0.1 Generic abstractions related to translation
symfony/var-dumper v6.0.6 Provides mechanisms for walking through any arbitr...
tecnickcom/tcpdf 6.4.4 TCPDF is a PHP class for generating PDF documents ...
theseer/tokenizer 1.2.1 A small library for converting tokenized PHP sourc...
tijsverkoyen/css-to-inline-styles 2.2.4 CssToInlineStyles is a class that enables you to c...
vlucas/phpdotenv v5.4.1 Loads environment variables from `.env` to `getenv...
voku/portable-ascii 2.0.1 Portable ASCII library - performance optimized (as...
webmozart/assert 1.10.0 Assertions to validate method input/output with ni...

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

Re: After installation, all links are broken front and back end

Post by aimeos » 25 Apr 2022, 10:57

The ./public/ directory must be the document root of your domain. It can't be a subdirectory of your domain.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

waelm70
Posts: 2
Joined: 24 Apr 2022, 09:32

Re: After installation, all links are broken front and back end

Post by waelm70 » 25 Apr 2022, 11:01

Hello,
Thank you very much. I missed this.
Just fixed it with htaccess file
Have a nice day

Post Reply