Installation Failure

0

1._ When you want to install the project, the button stays loading. No error is output on the screen.

2._ When performing the migration it gives me an error in the console.

InvalidArgumentException

Unable to locate factory for [Modules\MPS\Models\Setting].

at vendor\laravel\legacy-factories\src\FactoryBuilder.php:273
269▕ */
270▕ protected function getRawAttributes(array $attributes = [])
271▕ {
272▕ if (! isset($this->definitions[$this->class])) {
➜ 273▕ throw new InvalidArgumentException("Unable to locate factory for [{$this->class}].");
274▕ }
275▕
276▕ $definition = call_user_func(
277▕ $this->definitions[$this->class],

1 vendor\laravel\legacy-factories\src\FactoryBuilder.php:296
Illuminate\Database\Eloquent\FactoryBuilder::getRawAttributes(["name", "Modern POS Solution"])

2 vendor\laravel\framework\src\Illuminate\Database\Eloquent\Concerns\GuardsAttributes.php:149
Illuminate\Database\Eloquent\FactoryBuilder::Illuminate\Database\Eloquent{closure}()

Question Resolved For: Modern Point of Sale Solution 0 Votes 5 Answers 386 Views
Asked by Cristian Obando 6 months ago

0

Answered by Mian Saleem 6 months ago

Hello,

Please run composer install command before access the installer.

The domain/subdomain/host root path should be set to public folder in your extracted files.

Thank you

0

Answered by Cristian Obando 6 months ago

I have done what you tell me, but the installation still does not progress.

0

Answered by Cristian Obando 6 months ago

When you execute it, the button stays loading and does not advance.
When I inspect in the console this error appears.

0

Answered by Mian Saleem 6 months ago

Hello,

You can see the ajax call failed with net::ERR_CONNECTION_RESET Please make sure that your web server is running.

How have you set the root path? Are redirecting traffic or what? For local installation, please add virtual host and the root path to public folder in extracted files. Then access the virtual host domain in the browser.

If you use Laravel Herd or Laravel Valet those will do the automatically. For others, you can google and add virtual host.

Thank you

0

Answered by Mian Saleem 6 months ago

Hello,

You can try to install it on a live server and if there is any issue, I can help you check.

Thank you

We use Cookies

We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.