Log files

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!
Travin
Posts: 70
Joined: 18 Dec 2017, 03:12

Log files

Post by Travin » 12 Jan 2018, 17:08

Hi
I got Aimeos exception at checkout page:
img: https://drive.google.com/file/d/1q8Cyso ... DHnOe/view
It's not Laravel exception, and storage/logs/laravel.log does not contain any information about the error.
Is there some place where i can find Aimeos log about what happened?
Laravel 6.18.19 | php 7.4.7 | Xubuntu | Aimeos Laravel 2019.10.5

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

Re: Log files

Post by aimeos » 12 Jan 2018, 18:15

More information might be available in the madmin_log table.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Travin
Posts: 70
Joined: 18 Dec 2017, 03:12

Re: Log files

Post by Travin » 13 Jan 2018, 11:01

There are no one row about the error. :(
:?:
Laravel 6.18.19 | php 7.4.7 | Xubuntu | Aimeos Laravel 2019.10.5

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

Re: Log files

Post by aimeos » 13 Jan 2018, 12:05

In your case the error occurs because the factory can't create your manager object. Do you have an \Aimeos\MShop\Subsciption\Manager\Standard class too that is able to create the \Aimeos\MShop\Subsciption\Manager\Status\Standard object?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Travin
Posts: 70
Joined: 18 Dec 2017, 03:12

Re: Log files

Post by Travin » 13 Jan 2018, 12:26

I'm trying to create new data domain and calling it from my service provider on the checkout page. The problem is there are no good step-by-step info about it at docs. I'm close to goal. I want to create an aimeos: new-domain command at future for easy creating new data domain. :idea:
Laravel 6.18.19 | php 7.4.7 | Xubuntu | Aimeos Laravel 2019.10.5

Travin
Posts: 70
Joined: 18 Dec 2017, 03:12

Re: Log files

Post by Travin » 13 Jan 2018, 12:35

I don't need \Aimeos\MShop\Subsciption\Manager\Status\Standard. It's calling because of i copied class file from Order manager and then rewrite it partially. It has submanager Status, and call it somewhere here:
$this->searchItemsBase( $conn, $search, $cfgPathSearch, $cfgPathCount, $required, $total, $sitelevel );
I'm trying to cut it's calling.
Laravel 6.18.19 | php 7.4.7 | Xubuntu | Aimeos Laravel 2019.10.5

Travin
Posts: 70
Joined: 18 Dec 2017, 03:12

Re: Log files

Post by Travin » 13 Jan 2018, 12:45

Okay i did it. I deleted 'status' here:

Code: Select all

public function getSearchAttributes( $withsub = true )
    {
        $path = 'mshop/subscription/manager/submanagers';
       $default = array( 'base', 'status' );
        return $this->getSearchAttributesBase( $this->searchConfig, $path, $default, $withsub );
    }
Now i have "A non-recoverable error occured"
https://drive.google.com/file/d/1jk2DgC ... PapfW/view
Any ideas how to debug checkout page in this case?
Laravel 6.18.19 | php 7.4.7 | Xubuntu | Aimeos Laravel 2019.10.5

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

Re: Log files

Post by aimeos » 13 Jan 2018, 13:02

Error messages and stack traces of "Non-recoverable errors" are written to the madmin_log table.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply