Broken links from 'listAction' page.

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!
thepurpleblob
Posts: 20
Joined: 22 Oct 2020, 15:39

Broken links from 'listAction' page.

Post by thepurpleblob » 25 Oct 2020, 14:21

I have redirected my home page to

Route::get('/', '\Aimeos\Shop\Controller\CatalogController@listAction')->name('aimeos_list');

This works fine, I get a listing of my products. However, the links don't work when I click on any part of the product. A typical URL looks like this....

http://127.0.0.1:8000/e/e/eeab37ec_1016 ... /CAL2021/0

404 error. However, if I cut this down to http://127.0.0.1:8000/shop/CAL2021/0 then I see the product page correctly.

Where is that extra image junk coming from?

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

Re: Broken links from 'listAction' page.

Post by aimeos » 26 Oct 2020, 09:17

Is this from the cache? You can clear the cache using

Code: Select all

php artisan aimeos:clear
Can you post the output of

Code: Select all

composer show
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

thepurpleblob
Posts: 20
Joined: 22 Oct 2020, 15:39

Re: Broken links from 'listAction' page.

Post by thepurpleblob » 26 Oct 2020, 15:21

I already tried clearing the cache. It didn't work.

On the list page, it's also all the first, lat and so on links too, so it would appear this extra 'stuff' is finding its way into the basic IRL.

Here is my composer output...

Code: Select all

% composer show
aimeos/ai-admin-jqadm                 2020.10.2 Aimeos Vue.js+Bootstrap admin interface
aimeos/ai-admin-jsonadm               2020.10.1 Aimeos ai-admin-jsonadm extension
aimeos/ai-client-html                 2020.10.5 Aimeos ai-client-html extension
aimeos/ai-client-jsonapi              2020.10.2 Aimeos JSON API extension
aimeos/ai-controller-frontend         2020.10.1 Aimeos ai-controller-frontend extension
aimeos/ai-controller-jobs             2020.10.2 Aimeos ai-controller-jobs extension
aimeos/ai-gettext                     2020.10.1 Aimeos Gettext extension
aimeos/ai-laravel                     2020.10.2 Laravel adapter for Aimeos web shops and e-commerce solutions
aimeos/ai-payments                    2020.10.1 Payment extension for Aimeos web shops and e-commerce solutions
aimeos/ai-swiftmailer                 2020.10.1 SwiftMailer adapter for Aimeos web shops and e-commerce solutions
aimeos/aimeos-core                    2020.10.5 Full-featured e-commerce components for high performance online shops
aimeos/aimeos-laravel                 2020.10.1 Professional, full-featured and high performance Laravel e-commerce package for online shops and complex B2...
aimeos/map                            1.8.0     Easy and elegant handling of PHP arrays as array-like map objects similar to jQuery and Laravel Collections
clue/stream-filter                    v1.5.0    A simple and modern approach to stream filtering in PHP
composer/installers                   v1.9.0    A multi-framework Composer library installer
dnoegel/php-xdg-base-dir              v0.1.1    implementation of xdg base directory specification for php
doctrine/cache                        1.10.2    PHP Doctrine Cache library is a popular cache implementation that supports many different drivers such as r...
doctrine/dbal                         2.12.0    Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and man...
doctrine/event-manager                1.1.1     The Doctrine Event Manager is a simple PHP event system that was built to be used with the various Doctrine...
doctrine/inflector                    2.0.3     PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowerc...
doctrine/instantiator                 1.3.1     A small, lightweight utility to instantiate objects in PHP without invoking their constructors
doctrine/lexer                        1.2.1     PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.
dragonmantank/cron-expression         v2.3.1    CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due
egulias/email-validator               2.1.22    A library for validating emails against several RFCs
facade/flare-client-php               1.3.7     Send PHP errors to Flare
facade/ignition                       1.16.3    A beautiful error page for Laravel applications.
facade/ignition-contracts             1.0.2     Solution contracts for Ignition
fideloper/proxy                       4.4.1     Set trusted proxies for Laravel
filp/whoops                           2.9.0     php error handling for cool kids
fzaninotto/faker                      v1.9.1    Faker is a PHP library that generates fake data for you.
guzzlehttp/guzzle                     6.5.5     Guzzle is a PHP HTTP client library
guzzlehttp/promises                   1.4.0     Guzzle promises library
guzzlehttp/psr7                       1.7.0     PSR-7 message implementation that also provides common utility methods
hamcrest/hamcrest-php                 v2.0.1    This is the PHP port of Hamcrest Matchers
jakub-onderka/php-console-color       v0.2
jakub-onderka/php-console-highlighter v0.4      Highlight PHP code in terminal
laminas/laminas-diactoros             2.4.1     PSR HTTP Message implementations
laminas/laminas-zendframework-bridge  1.1.1     Alias legacy ZF class names to Laminas Project equivalents.
laravel/framework                     v6.19.1   The Laravel Framework.
laravel/tinker                        v1.0.10   Powerful REPL for the Laravel framework.
laravel/ui                            v1.2.0    Laravel UI utilities and presets.
league/commonmark                     1.5.6     Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and Github-Flavored Markdown...
league/flysystem                      1.1.3     Filesystem abstraction: Many filesystems, one API.
league/mime-type-detection            1.5.1     Mime-type detection for Flysystem
mockery/mockery                       1.4.2     Mockery is a simple yet flexible PHP mock object framework
moneyphp/money                        v3.3.1    PHP implementation of Fowler's Money pattern
monolog/monolog                       2.1.1     Sends your logs to files, sockets, inboxes, databases and various web services
myclabs/deep-copy                     1.10.1    Create deep copies (clones) of your objects
nesbot/carbon                         2.41.5    An API extension for DateTime that supports 281 different languages.
nikic/php-parser                      v4.10.2   A PHP parser written in PHP
nunomaduro/collision                  v3.0.1    Cli error handling for console/command-line PHP applications.
nyholm/psr7                           1.3.1     A fast PHP7 implementation of PSR-7
omnipay/common                        v3.0.4    Common components for Omnipay payment processing library
omnipay/sagepay                       3.2.3     Sage Pay driver for the Omnipay PHP payment processing library
opis/closure                          3.6.0     A library that can be used to serialize closures (anonymous functions) and arbitrary objects.
paragonie/random_compat               v9.99.99  PHP 5.x polyfill for random_bytes() and random_int() from PHP 7
phar-io/manifest                      1.0.3     Component for reading phar.io manifest information from a PHP Archive (PHAR)
phar-io/version                       2.0.1     Library for handling version information and constraints
php-http/discovery                    1.12.0    Finds installed HTTPlug implementations and PSR-7 message factories
php-http/guzzle6-adapter              v1.1.1    Guzzle 6 HTTP Adapter
php-http/httplug                      v1.1.0    HTTPlug, the HTTP client abstraction for PHP
php-http/message                      1.9.1     HTTP Message related tools
php-http/message-factory              v1.0.2    Factory interfaces for PSR-7 HTTP Message
php-http/promise                      1.1.0     Promise used for asynchronous HTTP requests
phpdocumentor/reflection-common       2.2.0     Common reflection classes used by phpdocumentor to reflect the code structure
phpdocumentor/reflection-docblock     5.2.2     With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve info...
phpdocumentor/type-resolver           1.4.0     A PSR-5 based resolver of Class names, Types and Structural Element Names
phpoption/phpoption                   1.7.5     Option Type for PHP
phpspec/prophecy                      1.12.1    Highly opinionated mocking framework for PHP 5.3+
phpunit/php-code-coverage             7.0.10    Library that provides collection, processing, and rendering functionality for PHP code coverage information.
phpunit/php-file-iterator             2.0.2     FilterIterator implementation that filters files based on a list of suffixes.
phpunit/php-text-template             1.2.1     Simple template engine.
phpunit/php-timer                     2.1.2     Utility class for timing
phpunit/php-token-stream              3.1.1     Wrapper around PHP's tokenizer extension.
phpunit/phpunit                       8.5.8     The PHP Unit Testing framework.
psr/container                         1.0.0     Common Container Interface (PHP FIG PSR-11)
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                               1.1.3     Common interface for logging libraries
psr/simple-cache                      1.0.1     Common interfaces for simple caching
psy/psysh                             v0.9.12   An interactive shell for modern PHP.
ralouphie/getallheaders               3.0.3     A polyfill for getallheaders.
ramsey/uuid                           3.9.3     Formerly rhumsaa/uuid. A PHP 5.4+ library for generating RFC 4122 version 1, 3, 4, and 5 universally unique...
scrivo/highlight.php                  v9.18.1.3 Server side syntax highlighter that supports 185 languages. It's a PHP port of highlight.js
sebastian/code-unit-reverse-lookup    1.0.1     Looks up which function or method a line of code belongs to
sebastian/comparator                  3.0.2     Provides the functionality to compare PHP values for equality
sebastian/diff                        3.0.2     Diff implementation
sebastian/environment                 4.2.3     Provides functionality to handle HHVM/PHP environments
sebastian/exporter                    3.1.2     Provides the functionality to export PHP variables for visualization
sebastian/global-state                3.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         2.0.1     Provides a list of PHP built-in functions that operate on resources
sebastian/type                        1.1.3     Collection of value objects that represent the types of the PHP type system
sebastian/version                     2.0.1     Library that helps with managing the version number of Git-hosted PHP projects
swiftmailer/swiftmailer               v6.2.3    Swiftmailer, free feature-rich PHP mailer
symfony/console                       v4.4.15   Symfony Console Component
symfony/css-selector                  v5.1.7    Symfony CssSelector Component
symfony/debug                         v4.4.15   Symfony Debug Component
symfony/error-handler                 v4.4.15   Symfony ErrorHandler Component
symfony/event-dispatcher              v4.4.15   Symfony EventDispatcher Component
symfony/event-dispatcher-contracts    v1.1.9    Generic abstractions related to dispatching event
symfony/finder                        v4.4.15   Symfony Finder Component
symfony/http-client-contracts         v2.3.1    Generic abstractions related to HTTP clients
symfony/http-foundation               v4.4.15   Symfony HttpFoundation Component
symfony/http-kernel                   v4.4.15   Symfony HttpKernel Component
symfony/mime                          v5.1.7    A library to manipulate MIME messages
symfony/polyfill-ctype                v1.19.0   Symfony polyfill for ctype functions
symfony/polyfill-iconv                v1.19.0   Symfony polyfill for the Iconv extension
symfony/polyfill-intl-idn             v1.19.0   Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions
symfony/polyfill-intl-normalizer      v1.19.0   Symfony polyfill for intl's Normalizer class and related functions
symfony/polyfill-mbstring             v1.19.0   Symfony polyfill for the Mbstring extension
symfony/polyfill-php70                v1.19.0   Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions
symfony/polyfill-php72                v1.19.0   Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions
symfony/polyfill-php73                v1.19.0   Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions
symfony/polyfill-php80                v1.19.0   Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions
symfony/process                       v4.4.15   Symfony Process Component
symfony/psr-http-message-bridge       v2.0.2    PSR HTTP message bridge
symfony/routing                       v4.4.15   Symfony Routing Component
symfony/service-contracts             v2.2.0    Generic abstractions related to writing services
symfony/translation                   v4.4.15   Symfony Translation Component
symfony/translation-contracts         v2.3.0    Generic abstractions related to translation
symfony/var-dumper                    v4.4.15   Symfony mechanism for exploring and dumping PHP variables
tecnickcom/tcpdf                      6.3.5     TCPDF is a PHP class for generating PDF documents and barcodes.
theseer/tokenizer                     1.2.0     A small library for converting tokenized PHP source code into XML and potentially other formats
tijsverkoyen/css-to-inline-styles     2.2.3     CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline...
vlucas/phpdotenv                      v3.6.7    Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.
voku/portable-ascii                   1.5.3     Portable ASCII library - performance optimized (ascii) string functions for php.
webmozart/assert                      1.9.1     Assertions to validate method input/output with nice error messages.

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

Re: Broken links from 'listAction' page.

Post by aimeos » 26 Oct 2020, 16:23

Very strange! Can you give aimeos/aimeos-laravel:2020.10.x-dev a try?

Code: Select all

composer req aimeos/aimeos-laravel:2020.10.x-dev
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

thepurpleblob
Posts: 20
Joined: 22 Oct 2020, 15:39

Re: Broken links from 'listAction' page.

Post by thepurpleblob » 26 Oct 2020, 18:18

That fixed it :D

Post Reply