Page 1 of 1

Log files

Posted: 12 Jan 2018, 17:08
by Travin
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?

Re: Log files

Posted: 12 Jan 2018, 18:15
by aimeos
More information might be available in the madmin_log table.

Re: Log files

Posted: 13 Jan 2018, 11:01
by Travin
There are no one row about the error. :(
:?:

Re: Log files

Posted: 13 Jan 2018, 12:05
by aimeos
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?

Re: Log files

Posted: 13 Jan 2018, 12:26
by Travin
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:

Re: Log files

Posted: 13 Jan 2018, 12:35
by Travin
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.

Re: Log files

Posted: 13 Jan 2018, 12:45
by Travin
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?

Re: Log files

Posted: 13 Jan 2018, 13:02
by aimeos
Error messages and stack traces of "Non-recoverable errors" are written to the madmin_log table.